Permalink
Browse files

Merge branch 'patch-8' of https://github.com/adamlundrigan/zf2-docume…

…ntation into hotfix/337
  • Loading branch information...
2 parents 4818e02 + ba1f016 commit ab856eedbddde4130e8d9342717c23e26e7e9336 @weierophinney weierophinney committed Oct 2, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 docs/languages/en/user-guide/skeleton-application.rst
@@ -68,8 +68,12 @@ hosts file so that http://zf2-tutorial.localhost will serve ``index.php`` from t
``zf2-tutorial/public`` directory.
Setting up the virtual host is usually done within ``httpd.conf`` or
-``extra/httpd-vhosts.conf``. (If you are using ``httpd-vhosts.conf``, ensure
-that this file is included by your main ``httpd.conf`` file.)
+``extra/httpd-vhosts.conf``. If you are using ``httpd-vhosts.conf``, ensure
+that this file is included by your main ``httpd.conf`` file. Some Linux distributions
+(ex: Ubuntu) package Apache so that configuration files are stored in ``/etc/apache2``
+and create one file per virtual host inside folder ``/etc/apache2/hosts-enabled``. In
+this case, you would place the virtual host block below into the file
+``/etc/apache2/hosts-enabled/zf2-tutorial``.
Ensure that ``NameVirtualHost`` is defined and set to “\*:80” or similar, and then
define a virtual host along these lines:

0 comments on commit ab856ee

Please sign in to comment.