lamps/11-default.conf

16 lines
496 B
Plaintext

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
<Directory /var/www/html/public>
AllowOverride FileInfo Indexes Options=Multiviews
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/html/public
ErrorLog /var/log/httpd/0.0.0.0-error_log
TransferLog /var/log/httpd/0.0.0.0-access_log
CustomLog logs/0.0.0.0-custom_log combined
</VirtualHost>