From 7de7f1eb937bf97dfa6d0360f2d278a44074920c Mon Sep 17 00:00:00 2001 From: Bjoern Fromme Date: Fri, 4 Jan 2013 14:05:18 +0100 Subject: [PATCH 1/2] Add hint to configure document root --- book/installation.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/book/installation.rst b/book/installation.rst index 7449433fef6..0ceaa227245 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -22,8 +22,6 @@ Downloading a Symfony2 Distribution First, check that you have installed and configured a Web server (such as Apache) with PHP 5.3.2 or higher. For more information on Symfony2 requirements, see the :doc:`requirements reference`. - For information on configuring your specific web server document root, see the - following documentation: `Apache`_ | `Nginx`_ . Symfony2 packages "distributions", which are fully-functional applications 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! .. image:: /images/quick_tour/welcome.jpg +.. note:: + + To get nice and short urls you should point the document root of your + webserver or virtual host to the ``Symfony/web/`` directory. Though + this is not required for development it is recommended at the time your + application goes into production as all system and configuration files + become inaccessible to clients. For information on configuring your + specific web server document root, see the following documentation: + `Apache`_ | `Nginx`_ . + Beginning Development --------------------- From 9fdd6cc842d67e561524c8549fb178a50b0674a1 Mon Sep 17 00:00:00 2001 From: Bjoern Fromme Date: Fri, 4 Jan 2013 15:11:23 +0100 Subject: [PATCH 2/2] Change 'note' to 'tip' block --- book/installation.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/installation.rst b/book/installation.rst index 0ceaa227245..035a6f27314 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -177,15 +177,15 @@ Symfony2 should welcome and congratulate you for your hard work so far! .. image:: /images/quick_tour/welcome.jpg -.. note:: +.. tip:: To get nice and short urls you should point the document root of your webserver or virtual host to the ``Symfony/web/`` directory. Though this is not required for development it is recommended at the time your application goes into production as all system and configuration files - become inaccessible to clients. For information on configuring your - specific web server document root, see the following documentation: - `Apache`_ | `Nginx`_ . + become inaccessible to clients then. For information on configuring + your specific web server document root, see the following + documentation: `Apache`_ | `Nginx`_ . Beginning Development ---------------------