Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Commit

Permalink
Splitted the config into two block
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin committed Oct 3, 2015
1 parent e87d79f commit 4386ee0
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions docs/src/user-guide/skeleton-application.rst
Expand Up @@ -132,8 +132,24 @@ define a virtual host along these lines:
AllowOverride All
Order allow,deny
Allow from all
# When you run Apache2 with a version higher than 2.4, include the next line
#Require all granted
</Directory>
</VirtualHost>
or, if you are using Apache 2.4 or above:

.. code-block:: apache
:linenos:
<VirtualHost *:80>
ServerName zf2-tutorial.localhost
DocumentRoot /path/to/zf2-tutorial/public
SetEnv APPLICATION_ENV "development"
<Directory /path/to/zf2-tutorial/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Expand Down

0 comments on commit 4386ee0

Please sign in to comment.