# Version : 20100922 ServerName extranetrec.scores-decisions.com DocumentRoot /var/www/extranetrec/www AddDefaultCharset UTF-8 SetEnv APPLICATION_ENV "REC" Options Indexes FollowSymLinks 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 ^localauth/(.*)$ ./localauth/index.php?q=$1 [L,QSA] RewriteRule ^min/([a-z]=.*) ./min/index.php?$1 [L,NE] 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] ProxyPass http://tville.scores-decisions.com:8080/ipari/ ProxyPassReverse http://tville.scores-decisions.com:8080/ipari/ AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE text/javascript 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 BrowserMatch "MSIE 6" no-gzip dont-vary 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