49 lines
1011 B
ApacheConf
49 lines
1011 B
ApacheConf
DefaultRuntimeDir /var/run/apache2
|
|
PidFile /var/run/apache2/apache2.pid
|
|
|
|
Timeout 300
|
|
KeepAlive On
|
|
MaxKeepAliveRequests 100
|
|
KeepAliveTimeout 5
|
|
|
|
User www-data
|
|
Group www-data
|
|
HostnameLookups Off
|
|
|
|
ErrorLog /var/log/apache2/apache2.error.log
|
|
LogLevel warn
|
|
|
|
IncludeOptional mods-enabled/*.load
|
|
IncludeOptional mods-enabled/*.conf
|
|
|
|
Include ports.conf
|
|
DocumentRoot /var/www
|
|
|
|
<Directory /usr/share>
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
<Directory /bases/www>
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
AccessFileName .htaccess
|
|
|
|
<FilesMatch "^\.ht">
|
|
Require all denied
|
|
</FilesMatch>
|
|
|
|
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
|
|
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
|
LogFormat "%h %l %u %t \"%r\" %>s %O" common
|
|
LogFormat "%{Referer}i -> %U" referer
|
|
LogFormat "%{User-agent}i" agent
|
|
|
|
IncludeOptional conf-enabled/*.conf
|
|
IncludeOptional sites-enabled/*.conf
|
|
|
|
|