46 lines
1.1 KiB
ApacheConf
46 lines
1.1 KiB
ApacheConf
DefaultRuntimeDir ${APACHE_RUN_DIR}
|
|
PidFile ${APACHE_PID_FILE}
|
|
KeepAlive On
|
|
MaxKeepAliveRequests 100
|
|
KeepAliveTimeout 5
|
|
User ${APACHE_RUN_USER}
|
|
Group ${APACHE_RUN_GROUP}
|
|
|
|
HostnameLookups Off
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
LogLevel debug
|
|
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 mods/*.load
|
|
IncludeOptional mods/*.conf
|
|
IncludeOptional conf/*.conf
|
|
|
|
Include ports.conf
|
|
|
|
AccessFileName .htaccess
|
|
<FilesMatch "^\.ht">
|
|
Require all denied
|
|
</FilesMatch>
|
|
|
|
<VirtualHost *:80>
|
|
DocumentRoot /gdps/
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
<FilesMatch \.php$>
|
|
SetHandler application/x-httpd-php
|
|
</FilesMatch>
|
|
|
|
DirectoryIndex enabled
|
|
DirectoryIndex index.php index.html
|
|
|
|
<Directory /gdps/>
|
|
Options +Indexes
|
|
AllowOverride All
|
|
</Directory>
|
|
</VirtualHost>
|
|
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|