Différences entre les versions de « Apache config »
De BlaxWiki
Aller à la navigationAller à la recherche (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 \"%{... ») |
|||
| Ligne 20 : | Ligne 20 : | ||
php_value include_path .:/var/www/epyceprod | php_value include_path .:/var/www/epyceprod | ||
<Files ~ ".inc|.sql|.xml|.txt"> | <Files ~ ".inc|.sql|.xml|.txt"> | ||
Order allow,deny | |||
Deny from all | Deny from all | ||
Satisfy All | Satisfy All | ||
| Ligne 33 : | Ligne 33 : | ||
<Directory /var/www/epyce/voc/arthur> | <Directory /var/www/epyce/voc/arthur> | ||
Order deny,allow | Order deny,allow | ||
allow from 127.0.0. | |||
deny from all | |||
</Directory> | </Directory> | ||
</pre> | </pre> | ||
[[Catégorie:Software] | [[Catégorie:Software]] | ||
Version du 12 avril 2009 à 10:10
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.
deny from all
</Directory>