Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
d639b447
Commit
d639b447
authored
Jan 21, 2017
by
Adam
Committed by
GitHub
Jan 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update web_servers.rst
Just another option for Apache that works
parent
02ba1df9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
doc/web_servers.rst
doc/web_servers.rst
+18
-0
No files found.
doc/web_servers.rst
View file @
d639b447
...
...
@@ -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
-----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment