![]() |
Apache and/or Bugzilla issue
I loaded CentOS 5.5, Apache and Bugzilla with all the trimmings.
My checksetup.pl finishes with no errors. I think the issue is on the Apache side of the equation. I can surf to localhost/test/index.html but cannot surf to localhost/bugzilla/index.html. I have commented out my <Directory> calls for /var/www/html/bugzilla. restarted everything, cleared browser cash, validated that the test directory, bugzilla directory and both index.html files have the same settings. I can file:// to both index.html files but can't http:// to the bugzilla version. I get a 403 error. What can cause Apache to ignore a directory in this case? |
In your /etc/httpd directory (where httpd.conf lives), see if you have an extra subdirectory. If you do, add a file, httpd-bugzilla.conf in the extra directory with this content:
Code:
# BugzillaYou don't really want to use an absolute path here, "srv" is a token that Apache uses to determine the path. Now, if you have /etc/httpd/extra, add the following at the end of /etc/httpd/httpd.conf Code:
# Uncomment the following line to enable Bugzilla:Stop the server, start the server and see if you've got it. Just in case, make sure that your DirectoryIndex section looks like this (I've added PHP to it) Code:
#Code:
#Bugzilla has always been just a little tricky to get going but the above seems to work pretty well. Hope this helps some. |
Hi,
Since you're running Centos I guess it's a SELinux permissions problem. Regards |
Bathory, good call. I shut off SELINUX enforcement and the folder popped right up. Evidently the checksetup.pl inserts a configuration in SELINUX for bugzilla. If anyone knows what might fix this configuration, please post. Otherwise, I will hopefully figure it out and post it here.
|
Hi,
You can use the following to allow apache use the bugzilla directory (use the actual path to the installed bugzilla): Code:
chcon -R -h -t httpd_sys_content_t /path/to/bugzilla |
| All times are GMT -5. The time now is 06:47 AM. |