Serveur de développement Configuration vhost =================== ServerAdmin webmaster@localhost ServerName extranet.sd.com AddDefaultCharset UTF-8 DocumentRoot /sites/extranet/www # Disallow browsing of Subversion working copy administrative dirs. Order deny,allow Deny from all Options Indexes FollowSymLinks AcceptPathInfo On AllowOverride none Order allow,deny Allow from all php_value auto_prepend_file "/sites/extranet/config/prepend.php" php_value auto_append_file "/sites/extranet/config/append.php" RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^imgcache/(.*)$ ./image.php?q=$1 [L,NC] RewriteRule ^pdf/(.*)$ ./datafile.php?type=pdf&q=$1 [L,NC] RewriteRule ^logos/(.*)$ ./datafile.php?type=logos&q=$1 [L,NC] RewriteEngine on RewriteRule ^([a-z]=.*) index.php?$1 [L,NE] AllowOverride none Order allow,deny Allow from all # Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4\.0[678] no-gzip # MSIE masquerades as Netscape, but it is fine # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex won't work. You can use the following # workaround to get the desired effect: BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html #AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/x-javascript Header append Vary User-Agent env=!dont-vary # # RewriteLog /var/log/apache2/extranet-rewrite.log # RewriteLogLevel 3 # # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel debug ErrorLog /var/log/apache2/extranet-error.log CustomLog /var/log/apache2/extranet-access.log combined