|XP is just a number|
Enabling CGI using XAMPP for Mac OS Xby Shuraski (Scribe)
|on Feb 13, 2010 at 16:45 UTC||Need Help??|
Shuraski has asked for the
wisdom of the Perl Monks concerning the following question:
Is anyone experienced at enabling CGI using XAMPP for Mac OS X? I would like to use perl to execute scripts from cgi-bin/. After having read the on-line manuals, asked around, and read the on-line manuals again, the server is still giving me:
Error 403 Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server.
Which obviously tells me this is a permissions issue.
I believe my permissions are correct:
-rwxr-xr-x 1 root admin 43 Jan 28 07:06 form_query.pl
In the error_log:
in error_log: Options ExecCGI is off in this directory/Applications/XAMPP/xamppfiles/cgi-bin/form_query.pl
So, I go to httpd.conf to turn ExecCGI on:
Lines from httpd.conf file:
(That looks funny, btw, but I have not changed it...
That did not work, so I tried enabling CGI in the directory that my cgi executable files are in:
But still the 403 error persists
Could the problem be here? When calling ls -l in the XAMPP directory:
Is there a problem with the Symlinks? Any help would be very much appreciated.
I am running Mac OS X 10.5.7, with XAMPP for Mac OS X (Apache 2.0, Perl5, mod_perl 2.0.4)