You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by j k <jo...@gmail.com> on 2007/05/11 19:21:04 UTC
[users@httpd] Alias for Bugzilla
Hi, <us...@httpd.apache.org>
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
Re: [users@httpd] Alias for Bugzilla
Posted by j k <jo...@gmail.com>.
On 5/11/07, Joshua Slive <jo...@slive.ca> wrote:
>
> On 5/11/07, j k <jo...@gmail.com> wrote:
>
> > but http://servername/bugzilla doesn't work, gives a 404 everytime.
>
> What -- exactly -- does the error_log say?
>
> Joshua.
I think this is the entry
[Fri May 11 17:11:32 2007] [error] [client myip] File does not exist:
> /var/wwww
> [Fri May 11 17:11:32 2007] [error] [client myip] File does not exist:
> /var/www/localhost/htdocs/error.html
> [Fri May 11 17:11:47 2007] [error] [client myip] File does not exist:
> /var/wwww
> [Fri May 11 17:11:47 2007] [error] [client myip] File does not exist:
> /var/www/localhost/htdocs/error.html
OK you taught me a lesson: "read the logs before posting." Sorry to waste
your time ' wwww' duh! sticky fingers. :-)
Thanks
Re: [users@httpd] Alias for Bugzilla
Posted by Joshua Slive <jo...@slive.ca>.
On 5/11/07, j k <jo...@gmail.com> wrote:
> but http://servername/bugzilla doesn't work, gives a 404 everytime.
What -- exactly -- does the error_log say?
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Alias for Bugzilla
Posted by Frank Arensmeier <fr...@nikehydraulics.se>.
[snip]
Alias /bugzilla /var/wwww/bugzilla/htdocs
[/snip]
... maybe you misspelled the path? Shouldn't it be "Alias /bugzilla /
var/www/bugzilla/htdocs"?
//frank
11 maj 2007 kl. 19.21 skrev j k:
> Hi,
>
> 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
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org