Hi,
I have a new fc18 install and I'm having trouble with access control on my local network. I posted this in the Users forum but I believe it should have been here to start. I've allowed access to the directory, but it still reports Forbidden:
I've also disabled selinux during this testing process, as it always seems to cause problems. This is the contents of my /etc/httpd/conf.d/mailgraph.conf file. /usr/share/mailgraph exists and is readable by the apache user.
I've otherwise not made any real changes to the default httpd.conf file. Perhaps it's inheriting the "client denied" by one of the parent configurations?
Isn't the "Options +ExecCGI" sufficient in this <directory> section to allow access?
I really hope I've provided enough information here to resolve this issue. I've been working with it for a few hours, and have no idea what to do next.
I'm having similar problems with a squirremail.conf file also in /etc/httpd/conf.d/, so I'm wondering if my problem is with the stock /etc/httpd/conf/httpd.conf and some permissions overriding the one's I'm trying to change. This config is simpler though, so I thought I would start here.
Sure appreciate any ideas you may have.
Thanks,
Alex
I have a new fc18 install and I'm having trouble with access control on my local network. I posted this in the Users forum but I believe it should have been here to start. I've allowed access to the directory, but it still reports Forbidden:
Code:
[Thu Feb 14 22:21:30.731219 2013] [authz_core:error] [pid 2442] [client 192.168.1.7:55607] AH01630: client denied by server configuration: /usr/share/mailgraph/mailgraph.cgi
Code:
#
# Mailgraph: An postfix/sendmail log file analyzer
#
Alias /mailgraph /usr/share/mailgraph
AddHandler cgi-script .cgi
<Directory /usr/share/mailgraph/>
AllowOverride None
Order Allow,Deny
Options +ExecCGI
DirectoryIndex mailgraph.cgi
<IfModule mod_authz_core.c>
Allow from all
# Apache 2.4
<RequireAny>
Require local
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
#Order Deny,Allow
Order Allow,Deny
#Deny from all
Allow from all
</IfModule>
</Directory>
Isn't the "Options +ExecCGI" sufficient in this <directory> section to allow access?
I really hope I've provided enough information here to resolve this issue. I've been working with it for a few hours, and have no idea what to do next.
I'm having similar problems with a squirremail.conf file also in /etc/httpd/conf.d/, so I'm wondering if my problem is with the stock /etc/httpd/conf/httpd.conf and some permissions overriding the one's I'm trying to change. This config is simpler though, so I thought I would start here.
Sure appreciate any ideas you may have.
Thanks,
Alex