Quote:
Originally Posted by Chiabert
Hi, I'm trying to get bugzilla to work. Unfortunately I have no experience configuring a webserver and I was hoping I could get some answers here about confusing and missing information in the Bugzilla installation documentation.
So I got mySQL working, and downloaded all the perl modules required by bugzilla (from the documentation). I ran ./checksetup.pl and it said it could connect to mysql when I was root. I'm having trouble running ./checksetup when I 'su' as another user, but I'm not sure if that has an effect on how bugzilla should run since I'm root anyhow.
|
checksetup tightens permissions down so that the files can only be accessed by the intended user - the user that runs apache. This should typically be the apache user -
not root. A default install should have set that up.
The reason you would have trouble running the script as a non-root user, is that they won't have the permissions to change the permissions... so to speak. It could also be that you're running 'su' without the following minus symbol - "su
- ", as this runs all login scripts for the root user, as opposed to being in root's
name without any of root's permissions.
Does that makes sense?
Quote:
Originally Posted by Chiabert
So I'm on the last part of the documentation....configuring Apache. I had a clean installation of Linux 9 so it already had apache on it. I went to localhost on my webbrowser and it said everything was fine. So here is how I proceeded to get bugzilla to work.
(By the way, I'm using Redhat's latest version of Bugzilla)
|
Hi Chiabert.
I'm curious why you're using an old version of Redhat, instead of a newer version of Fedora?
Quote:
Originally Posted by Chiabert
I untarred bugzilla in /var/www/
The Document root for apache was set to /var/www/html/
so I changed it to /var/www/bugzilla-public/
|
Probably not the best idea. What you ideally want is for the bugzilla to be a sub-directory of the server - ie: localhost/bugzilla
Does the directory exist that you specified? If you just untarred bugzilla, it creates a directory called bugzilla-<version> from memory. Did you rename it?
Quote:
Originally Posted by Chiabert
then I uncommented :
AddHandler cgi-script .cgi
and added:
<Directory "/var/www/bugzilla-public"/>
Options ExecCGI AllowOverride Limit
</Directory>
I also changed added index.cgi to:
DirectoryIndex index.html index.html.var
When I visited my localhost, it said forbidden, so I used
chmod 0775 index.cgi
to allow me to see it. It subsequently served up the CGI code which is a major no no. I want it to run the CGI script, but I don't know what I did wrong. If anyone has experience with this problem or know how to configure the Apache Server, let me know please!!!
|
Re-run the checksetup perl script to correct the permissions problem, and change the doc root back. I hope this helps...