1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00
HyperProxmox/system/BASE_SOFT/APACHE/2.4/apache2.conf
thomas.guiseppin 5352a2b94a first commit
2017-10-21 22:04:42 +02:00

46 lines
1.1 KiB
ApacheConf

ServerTokens Prod
ServerSignature Off
TraceEnable Off
ServerName sevppdlmp01.nexen.net
ServerRoot /etc/apache2
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
LimitRequestFieldSize 8190
User www-data
Group www-data
AccessFileName .htaccess
<FilesMatch "^\.ht">
Require all denied
</FilesMatch>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
HostnameLookups Off
LogLevel warn
EnableSendfile On
Include "/etc/apache2/mods-enabled/*.load"
Include "/etc/apache2/mods-enabled/*.conf"
Include "/etc/apache2/ports.conf"
LogFormat "%{X-Forwarded-For}i %a %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %b %D %T %P %V:%p" syslog
CustomLog "|/bin/sh -c 'logger -p local7.info -t apache_access_log'" syslog
ErrorLog "|/bin/sh -c 'logger -p local7.err -t apache_error_log'"
IncludeOptional "/etc/apache2/conf.d/*.conf"
IncludeOptional "/etc/apache2/sites-enabled/*"
## Settings debugging information in headers.
SetEnvIf Remote_Addr 127.0.0.1 DEBUG
<IfModule mod_headers.c>
Header set X-Apache-Server-ID "sevppdlmp01" env=DEBUG
</IfModule>