Use internal Apache Lofg Dir for performance reason

This commit is contained in:
Michael RICOIS 2015-02-06 10:06:51 +01:00
parent 3e8913dcc7
commit 075f5b2a64
2 changed files with 6 additions and 5 deletions

View File

@ -13,6 +13,6 @@
# It is also possible to configure the loglevel for particular # It is also possible to configure the loglevel for particular
# modules, e.g. # modules, e.g.
LogLevel error LogLevel error
ErrorLog /home/vhosts/apachelog/phpmyadmin-error.log ErrorLog ${APACHE_LOG_DIR}/phpmyadmin-error.log
CustomLog /home/vhosts/apachelog/phpmyadmin-access.log combined CustomLog ${APACHE_LOG_DIR}/phpmyadmin-access.log combined
</VirtualHost> </VirtualHost>

View File

@ -3,7 +3,8 @@
UseCanonicalName On UseCanonicalName On
UseCanonicalPhysicalPort On UseCanonicalPhysicalPort On
DocumentRoot /home/vhosts/test DocumentRoot /home/vhosts/test
<Directory /home/vhosts/test/> <Directory /home/vhosts/test/>
# EnableSendFile is disable for performance reason under vagrant
EnableSendfile Off EnableSendfile Off
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride all AllowOverride all
@ -14,6 +15,6 @@
# It is also possible to configure the loglevel for particular # It is also possible to configure the loglevel for particular
# modules, e.g. # modules, e.g.
LogLevel error LogLevel error
ErrorLog /home/vhosts/apachelog/test-error.log ErrorLog ${APACHE_LOG_DIR}/test-error.log
CustomLog /home/vhosts/apachelog/test-access.log combined CustomLog ${APACHE_LOG_DIR}/test-access.log combined
</VirtualHost> </VirtualHost>