Hi, <[email protected]>

I'm trying to set up bugzilla on our server so that it comes up as
http://servername/bugzilla
The main site is on /var/www/localhost/htdocs
and bugzilla is installed at /var/www/bugzilla/htdocs

There are several subdomains as well (don't know if that's pertinent).

Initially I set it up to use port 8666

NameVirtualHost servername:8666
<VirtualHost servername:8666>
 ServerName "servername"
 DocumentRoot "/var/www/bugzilla/htdocs"
 <Directory "/var/www/bugzilla/htdocs">
   AddHandler cgi-script cgi
   Options +Indexes +ExecCGI +FollowSymLinks
   DirectoryIndex index.cgi
   AllowOverride All
   Order Allow,Deny
   Allow from All
 </Directory>
</VirtualHost>
and that worked fine but I wanted to increase security for those logging in
via insecure wifi links so I decided to move the main access to port 80 so
that SSL could be used via 443 with the site certificate.

To test that I could use Alias I put a text file h.txt in /var/www/noo and
added to httpd.conf:
Alias /noo /var/www/noo
<Directory /var/www/noo>
Order allow,deny
Allow from all
</Directory>
and that worked just fine I could access the text file as
http://servername/noo/h.txt

So for bugzilla I removed the virtual host entry and put the following  in
httpd.conf right after the ServerSignature entry along with the other
Aliases:

Alias /bugzilla /var/wwww/bugzilla/htdocs
<Directory /var/www/bugzilla/htdocs>
   AddHandler cgi-script cgi
   Options +Indexes +ExecCGI +FollowSymLinks
   DirectoryIndex index.cgi
   AllowOverride All
   Order Allow,Deny
   Allow from All
</Directory>
There's also this further down in httpd.conf that was part of the previous
port 8666 access that I left in place:
<Directory /var/www/bugzilla/>
   Addhandler cgi-script .cgi
   Options +Indexes +ExecCGI +FollowSymlinks
   DirectoryIndex index.cgi
   AllowOverride Limit
</Directory>


but http://servername/bugzilla doesn't work, gives a 404 everytime.

So  what have I done wrong?

Thanks for your help.
Johnny

Reply via email to