Commit 3281620c authored by Fabien Potencier's avatar Fabien Potencier

merged branch skoop/fallback-resource (PR #320)

Commits
-------

1f952470 made mention of the FallbackResource, which makes rewriting even easier

Discussion
----------

made mention of the FallbackResource, which makes rewriting even easier

As the Apache FallbackResource directive makes rewriting even easier (and also faster) than mod_rewrite, I thought I'd mention it in the docs.
parents 5bfcf52f 1f952470
...@@ -32,6 +32,12 @@ are using apache you can use a ``.htaccess`` file for this. ...@@ -32,6 +32,12 @@ are using apache you can use a ``.htaccess`` file for this.
RewriteRule ^ index.php [L] RewriteRule ^ index.php [L]
</IfModule> </IfModule>
Alternatively, if you use Apache 2.2.16 or higher, you can use the [FallbackResource directive](http://www.adayinthelifeof.nl/2012/01/21/apaches-fallbackresource-your-new-htaccess-command/) so make your .htaccess even easier:
.. code-block:: apache
FallbackResource index.php
.. note:: .. note::
If your site is not at the webroot level you will have to uncomment the If your site is not at the webroot level you will have to uncomment the
......
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