Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f6b7a1

Browse files
committed
Merge pull requestsymfony#2100 from dreipunktnull/add_hint_about_vhost
Add hint to configure document root
2 parents44f4b7d +9fdd6cc commit6f6b7a1

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
@@ -190,6 +188,16 @@ Symfony2 should welcome and congratulate you for your hard work so far!
190188

191189
..image::/images/quick_tour/welcome.jpg
192190

191+
..tip::
192+
193+
To get nice and short urls you should point the document root of your
194+
webserver or virtual host to the ``Symfony/web/`` directory. Though
195+
this is not required for development it is recommended at the time your
196+
application goes into production as all system and configuration files
197+
become inaccessible to clients then. For information on configuring
198+
your specific web server document root, see the following
199+
documentation: `Apache`_ | `Nginx`_ .
200+
193201
Beginning Development
194202
---------------------
195203

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp