Commit fc85a9ad authored by Igor Wiedler's avatar Igor Wiedler

remove -d from .htaccess RewriteCond

this caused issues when you try to mount a blog.php under /blog. apache serves you blog.php although blog.php is not a directory.

removing the RewriteCond resolves the issue.
parent 42926bf5
......@@ -33,7 +33,6 @@ are using apache you can use a ``.htaccess`` file for this.
RewriteEngine On
#RewriteBase /path/to/app
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
......
......@@ -2,6 +2,5 @@
RewriteEngine On
#RewriteBase /path/to/app
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</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