# Version : 20100922 ServerName extranetrec.scores-decisions.com DocumentRoot /home/vhosts/extranetrec/www AddDefaultCharset UTF-8 SetEnv APPLICATION_ENV "REC" Options Indexes FollowSymLinks AcceptPathInfo On AllowOverride none Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^print/(.*)-(.*)-(.*)-(.*).pdf ./index.php?sortie=pdf&siret=$1&idEntreprise=$2&page=$3¶ms=$4 [L,NC] RewriteRule ^fichier/(.*)/(.*)$ ./servefile.php?q=$1/$2 [L,NC] RewriteRule ^imgcache/(.*)$ ./servefile.php?q=imgcache/$1 [L,NC] RewriteRule ^pdf/(.*)$ ./servefile.php?q=pdf/$1 [L,NC] RewriteRule ^logos/(.*)$ ./servefile.php?q=logos/$1 [L,NC] RewriteRule ^scripts/(.*)$ ./js/combine/$1 [L,NE] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] RewriteEngine on RewriteRule ^([a-z]=.*) index.php?$1 [L,NE] AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/x-httpd-php SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.(?:pdf|avi|mov|mp3|mp4|rm)$ no-gzip dont-vary BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent env=!dont-vary Header set Cache-Control "max-age=290304000, public" Header set Cache-Control "max-age=432000, public" # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel error ErrorLog /var/log/apache2/extranetrec-error.log CustomLog /var/log/apache2/extranetrec-access.log combined ServerSignature Off