ServerName extranet.scores-decisions.com AddDefaultCharset utf-8 DocumentRoot "D:/www/extranet-2.0/public" SetEnv APPLICATION_ENV "development" AllowOverride All Order allow,deny Allow from all RewriteEngine On RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel debug ErrorLog "logs/extranet20.sd.dev-error.log" CustomLog "logs/extranet.sd.dev-access.log" common ==================================================================================================== ServerName extranet.scores-decisions.com AddDefaultCharset utf-8 DocumentRoot /var/www/extranet/public SetEnv APPLICATION_ENV "production" AllowOverride none Order allow,deny Allow from all RewriteEngine On #RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-http-php SetOutputFilter DEFLATE BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.(?:ext|t?gz|zip|bz2|sit|tar)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.(?:pdf|avi|mov|mp3|mp4|rm)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary ExpiresActive On Header unset Cookie Header unset Set-Cookie #Header set Cache-Control "max-age=432000, public" Header set vary "Accept-Encoding" Header append vary "User-Agent" ExpiresDefault "modification plus 5 days" FileEtag None Header unset Cookie Header unset Set-Cookie #Header set Cache-Control "max-age=432000, public" Header set vary "Accept-Encoding" Header append vary "User-Agent" ExpiresDefault "modification plus 5 days" FileEtag None BrowserMatch "MSIE" force-no-vary # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel error ErrorLog /var/log/apache2/extranet-error.log CustomLog /var/log/apache2/extranet-access.log combined