interdate/dating4disabled/master/web/.htaccess - Htaccess File

interdate/dating4disabled/master/web/.htaccess

php_value memory_limit 1024M 

RewriteEngine on

<IfModule mod_php5.c>
php_value max_execution_time 259200
</IfModule>

RewriteCond ${REQUEST_URI} ^.+$
RewriteCond %{REQUEST_FILENAME} .(gif|jpg|jpeg|png|js|css|swf|php|ico|txt|pdf|xml|mp3)$ [OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^ - [L]

RewriteCond %{HTTP_HOST} ^dating4disabled.loc$ [NC,OR]
RewriteCond %{HTTP_HOST} ^dating4disabled.loc$
RewriteCond %{REQUEST_URI} !app_dev.php

RewriteRule (.*) /app_dev.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI

Comments

Apache