Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

40 linhas
1.0 KiB

  1. LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
  2. <VirtualHost *:80>
  3. ServerName localhost
  4. DocumentRoot /var/www/html
  5. <Directory "/var/www/html">
  6. Options Indexes FollowSymLinks Includes execCGI
  7. AllowOverride All
  8. Require all granted
  9. allow from all
  10. </Directory>
  11. ErrorLog ${APACHE_LOG_DIR}/error.log
  12. CustomLog ${APACHE_LOG_DIR}/access.log combined
  13. </VirtualHost>
  14. <VirtualHost _default_:443>
  15. DocumentRoot "/var/www/html"
  16. ServerName localhost:443
  17. ErrorLog ${APACHE_LOG_DIR}/error.log
  18. CustomLog ${APACHE_LOG_DIR}/access.log combined
  19. SSLEngine on
  20. SSLCertificateFile "/etc/apache2/sites-available/ssl/localhost.crt"
  21. SSLCertificateKeyFile "/etc/apache2/sites-available/ssl/localhost.key"
  22. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  23. SSLOptions +StdEnvVars
  24. </FilesMatch>
  25. <Directory "/var/www/html">
  26. Options Indexes FollowSymLinks Includes execCGI
  27. AllowOverride All
  28. Require all granted
  29. </Directory>
  30. </VirtualHost>