Commit 755ee2f8 authored by Fabien Potencier's avatar Fabien Potencier

Merge remote branch 'igorw/fix-htaccess'

* igorw/fix-htaccess:
  also disable apache MultiViews
  remove -d from .htaccess RewriteCond
parents fbfa8e49 f8d43e72
...@@ -30,11 +30,12 @@ are using apache you can use a ``.htaccess`` file for this. ...@@ -30,11 +30,12 @@ are using apache you can use a ``.htaccess`` file for this.
.. code-block:: apache .. code-block:: apache
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On Options -MultiViews
#RewriteBase /path/to/app
RewriteCond %{REQUEST_FILENAME} !-f RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d #RewriteBase /path/to/app
RewriteRule ^(.*)$ index.php [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule> </IfModule>
.. note:: .. note::
......
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On Options -MultiViews
#RewriteBase /path/to/app
RewriteCond %{REQUEST_FILENAME} !-f RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d #RewriteBase /path/to/app
RewriteRule ^(.*)$ index.php [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f
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