Skip to content

Commit d98ec38

Browse files
committed
docs: change location of project folder and explanin folder structure
1 parent 9afea6f commit d98ec38

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

user_guide_src/source/installation/running.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,25 @@ e.g., **apache2/conf/extra/httpd-vhost.conf**:
162162
.. code-block:: apache
163163
164164
<VirtualHost *:80>
165-
DocumentRoot "/opt/lamp/apache2/htdocs/myproject/public"
165+
DocumentRoot "/opt/lamp/apache2/myproject/public"
166166
ServerName myproject.local
167167
ErrorLog "logs/myproject-error_log"
168168
CustomLog "logs/myproject-access_log" common
169+
170+
<Directory "/opt/lamp/apache2/myproject/public">
171+
AllowOverride All
172+
Require all granted
173+
</Directory>
169174
</VirtualHost>
170175
171-
If your project folder is not a subfolder of the Apache document root, then your
172-
``<VirtualHost>`` element may need a nested ``<Directory>`` element to grant the web server access to the files.
176+
The above configuration assumes the project folder is located as follows:
177+
178+
.. code-block:: text
179+
180+
apache2/
181+
├── myproject/ (Project Folder)
182+
│ └── public/ (DocumentRoot for myproject.local)
183+
└── htdocs/
173184
174185
Testing
175186
-------

0 commit comments

Comments
 (0)