Commit 4de092d9 authored by Fabien Potencier's avatar Fabien Potencier

minor #1307 Don't rewrite requests for existing directories to index.php (arrgson)

This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1307).

Discussion
----------

Don't rewrite requests for existing directories to index.php

Commits
-------

5ce29424 Don't rewrite requests for existing directories to index.php
parents bd7891f8 5ce29424
...@@ -14,6 +14,7 @@ following ``.htaccess`` file: ...@@ -14,6 +14,7 @@ following ``.htaccess`` file:
RewriteEngine On RewriteEngine On
#RewriteBase /path/to/app #RewriteBase /path/to/app
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L] RewriteRule ^ index.php [QSA,L]
</IfModule> </IfModule>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment