Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

apache2.conf 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # see http://sources.debian.net/src/apache2/2.4.10-1/debian/config-dir/apache2.conf
  2. ServerName poweradmin
  3. Mutex file:/var/lock/apache2 default
  4. PidFile /var/run/apache2/apache2.pid
  5. Timeout 300
  6. KeepAlive On
  7. MaxKeepAliveRequests 100
  8. KeepAliveTimeout 5
  9. User www-data
  10. Group www-data
  11. HostnameLookups Off
  12. ErrorLog /var/log/apache2/error.log
  13. LogLevel warn
  14. IncludeOptional mods-enabled/*.load
  15. IncludeOptional mods-enabled/*.conf
  16. # ports.conf
  17. Listen 80
  18. <IfModule ssl_module>
  19. Listen 443
  20. </IfModule>
  21. <IfModule mod_gnutls.c>
  22. Listen 443
  23. </IfModule>
  24. DocumentRoot "/var/www/html/"
  25. <Directory />
  26. Options FollowSymLinks
  27. AllowOverride None
  28. Require all denied
  29. </Directory>
  30. <Directory /var/www/html/>
  31. Options FollowSymLinks
  32. AllowOverride All
  33. Require all granted
  34. </Directory>
  35. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  36. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  37. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  38. LogFormat "%{Referer}i -> %U" referer
  39. LogFormat "%{User-agent}i" agent
  40. CustomLog /var/log/apache2/access.log combined
  41. <FilesMatch \.php$>
  42. SetHandler application/x-httpd-php
  43. </FilesMatch>
  44. # Multiple DirectoryIndex directives within the same context will add
  45. # to the list of resources to look for rather than replace
  46. # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex
  47. DirectoryIndex disabled
  48. DirectoryIndex index.php index.html