Commit 55d7a266 authored by Fabien Potencier's avatar Fabien Potencier

tweaked previous commit

parent b3992382
......@@ -84,17 +84,20 @@ this sample ``web.config`` file:
</configuration>
Lighttpd
~~~~~
~~~~~~~~
If you are using lighttpd, you can use this sample ``simple-vhost``:
If you are using lighttpd, use this sample ``simple-vhost`` as a starting
point:
.. code-block:: lighttpd
server.document-root = "/path/to/app"
url.rewrite-once = (
"^/assets/.+" => "$0", # directories with static files
# configure some static files
"^/assets/.+" => "$0",
"^/favicon\.ico$" => "$0",
"^(/[^\?]*)(\?.*)?" => "/index.php$1$2"
)
......
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