htaccess changes to make the saas branch run locally

This commit is contained in:
Albert Santoni 2014-07-07 15:13:27 -04:00
parent 3c88f66162
commit db9d4e3327
1 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,16 @@ php_value request_order "GPC"
php_value session.gc_probability 0
php_value session.auto_start 0
RewriteEngine On
RewriteOptions inherit
RewriteCond %{SERVER_NAME} localhost$
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteCond %{SERVER_NAME} localhost$
RewriteRule ^.*$ index.php [NC,L]
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml