Page 1 of 1

Error 403 Access Forbidden

PostPosted: 17. December 2012 13:40
by clintonshane84
Hi to all the Apache Friends. I am having a problem with cgi-bin settings. I am running OpenSUSE 12.2 and am using XAMPP 1.8.0. I want to change the cgi-bin Directory settings in the httpd.conf folder but the moment I do that and restart the apache server, I get the error 403 access forbiden message where it was not giving this message until I made a change to the cgi-bin settings section. Here is what I changed:

<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock logs/cgisock
</IfModule>

#
# "/opt/lampp/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/opt/lampp/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>


Which was:

<Directory "/opt/lampp/cgi-bin">
AllowOverride None
Require all denied
</Directory>

I have uninstalled and reinstalled fresh the XAMPP installation and tried changing this setting, and over and over this problem reoccurs. What is the problem and what am I doing wrong?

Please find the link to my httpd.conf file:

http://ctrlv.it/id/MzIwMjkx

Please can anyone shed some light on this matter for me.

Kind regards,

Clinton Wright

Re: Error 403 Access Forbidden

PostPosted: 17. December 2012 16:59
by Altrea
Hi clintonshane84,

clintonshane84 wrote:Order allow,deny
Allow from all

old Syntax.

Try instead this new syntax:
Code: Select all
Require all granted


best wishes,
Altrea