Commit 1db76bc9 authored by Fabien Potencier's avatar Fabien Potencier

merged branch mihai-rotaru/patch-1 (PR #658)

This PR was merged into the master branch.

Discussion
----------

note that `mod_rewrite` needs to be enabled

If `mod_rewrite` isn't enabled - like in default Apache installs and WAMP - it will result in 404's. I had this issue with the hello world zip distribution (SO question: http://stackoverflow.com/questions/15498419/why-am-i-getting-these-silex-404s) and it was quite difficult to track down. Almost made me give up on Silex, although this is of course not a Silex issue - but it can be challenging for beginners, and if you can't get the hello world to run it kinda takes the wind out of your sails.

Commits
-------

091b99cb note that `mod_rewrite` needs to be enabled
parents bfd65cca 091b99cb
......@@ -4,7 +4,7 @@ Webserver Configuration
Apache
------
If you are using Apache you can use a ``.htaccess`` file for this:
If you are using Apache, make sure ``mod_rewrite`` is enabled and you can use the following ``.htaccess`` file:
.. code-block:: apache
......
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