]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Move Directory out of VirtualHost (5.0) (#121) stable
authorJacob Michalskie <hel@lcp.world>
Sun, 15 Jan 2023 02:32:07 +0000 (03:32 +0100)
committerGitHub <noreply@github.com>
Sun, 15 Jan 2023 02:32:07 +0000 (21:32 -0500)
* Move Directory out of VirtualHost

* Unindent the block

* Remove VirtualHost block and refer to Apache section

* Switch over to using webapps directory

docs/en/rst/installing/quick-start.rst

index f0ac2fa4fb9dc9d92dd3e4e422bcab099e38fe7e..10301d588e20e0a760b03084ee4ec5f5b02d9c86 100644 (file)
@@ -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`
 
@@ -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`
 
@@ -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`