Skip to content

Commit 7de7f1e

Browse files
committed
Add hint to configure document root
1 parent b79e123 commit 7de7f1e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

book/installation.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ Downloading a Symfony2 Distribution
2222
First, check that you have installed and configured a Web server (such
2323
as Apache) with PHP 5.3.2 or higher. For more information on Symfony2
2424
requirements, see the :doc:`requirements reference</reference/requirements>`.
25-
For information on configuring your specific web server document root, see the
26-
following documentation: `Apache`_ | `Nginx`_ .
2725

2826
Symfony2 packages "distributions", which are fully-functional applications
2927
that include the Symfony2 core libraries, a selection of useful bundles, a
@@ -179,6 +177,16 @@ Symfony2 should welcome and congratulate you for your hard work so far!
179177

180178
.. image:: /images/quick_tour/welcome.jpg
181179

180+
.. note::
181+
182+
To get nice and short urls you should point the document root of your
183+
webserver or virtual host to the ``Symfony/web/`` directory. Though
184+
this is not required for development it is recommended at the time your
185+
application goes into production as all system and configuration files
186+
become inaccessible to clients. For information on configuring your
187+
specific web server document root, see the following documentation:
188+
`Apache`_ | `Nginx`_ .
189+
182190
Beginning Development
183191
---------------------
184192

0 commit comments

Comments
 (0)