Apache config
De BlaxWiki
Révision datée du 12 avril 2009 à 10:09 par Admin (discussion | contributions) (Page créée avec « Quelques exemples d'un fichier httpd.conf <pre> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full LogFormat "%h %l %u %t \"%r\" %>s %b \"%{... »)
Quelques exemples d'un fichier httpd.conf
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %P %T" debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b %t %T\"%{Referer}i\" \"%{User-Agent}i\"" perso
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerSignature Off
ServerTokens ProductOnly
<VirtualHost 212.43.246.8>
DocumentRoot /var/www/epyceprod
ErrorLog /var/log/apache/error.log
CustomLog /var/log/apache/blaxeenprod.com/epyceprod.com.fr.log combined
ServerName prod.epyce.com
php_value include_path .:/var/www/epyceprod
<Files ~ ".inc|.sql|.xml|.txt">
Order allow,deny
Deny from all
Satisfy All
</Files>
</VirtualHost>
<VirtualHost 212.43.246.8>
ServerName stats.epyce.com
RedirectPermanent / http://www.epyce.com//awstats/awstats.pl?config=www.epyce.com
</VirtualHost>
<Directory /var/www/epyce/voc/arthur>
Order deny,allow
allow from 127.0.0.1
deny from all
</Directory>
[[Catégorie:Software]