Commit d639b447 authored by Adam's avatar Adam Committed by GitHub

Update web_servers.rst

Just another option for Apache that works
parent 02ba1df9
......@@ -36,6 +36,24 @@ Alternatively, if you use Apache 2.2.16 or higher, you can use the
If your site is not at the webroot level you will have to adjust the path to
point to your directory, relative from the webroot.
Or if you're using a VirtualHost, you can add the same directive to the VirtualHost's Directory entry:
.. code-block:: apache
<VirtualHost *:80>
# other directives
<Directory /var/www/domain.com/>
# other directives
FallbackResource /index.php
</Directory>
</VirtualHost>
.. note::
Note that you need the leading forward slash there, unlike with the .htaccess version
nginx
-----
......
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