Skip to content

Commit

Permalink
Move Directory out of VirtualHost (5.0) (#121)
Browse files Browse the repository at this point in the history
* Move Directory out of VirtualHost

* Unindent the block

* Remove VirtualHost block and refer to Apache section

* Switch over to using webapps directory
  • Loading branch information
hellcp committed Jan 15, 2023
1 parent 1b6b074 commit 7d77965
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions docs/en/rst/installing/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,16 @@ Configure Apache
Paste in the following and save:

.. code-block:: apache
Alias /bugzilla /var/www/webapps/bugzilla
<Directory /var/www/webapps/bugzilla>
AddHandler cgi-script .cgi
Options +ExecCGI
DirectoryIndex index.cgi index.html
AllowOverride All
</Directory>
<VirtualHost \*:80>
ServerName localhost
<Directory /var/www/html/bugzilla>
AddHandler cgi-script .cgi
Options +ExecCGI
DirectoryIndex index.cgi index.html
AllowOverride All
</Directory>
</VirtualHost>
This configuration sets up Bugzilla to be served on your server under ``/bugzilla`` path.
For more in depth setup instructions, refer to :ref:`Apache section of this documentation <apache>`.

:command:`a2ensite bugzilla`

Expand All @@ -126,7 +125,9 @@ Download Bugzilla

Get it from our Git repository:

:command:`cd /var/www/html`
:command:`mkdir -p /var/www/webapps`

:command:`cd /var/www/webapps`

:command:`git clone --branch release-X.X-stable https://github.com/bugzilla/bugzilla bugzilla`

Expand All @@ -142,7 +143,7 @@ generates a config file (called :file:`localconfig`) for the database
access information, and the second time (step 10)
it uses the info you put in the config file to set up the database.

:command:`cd /var/www/html/bugzilla`
:command:`cd /var/www/webapps/bugzilla`

:command:`./checksetup.pl`

Expand Down

0 comments on commit 7d77965

Please sign in to comment.