Link to home
Start Free TrialLog in
Avatar of davidmaxwaterman
davidmaxwaterman

asked on

~/Sites and CGI

Hi,

I'm having trouble getting the web server to run my perl CGI scripts on my Powerbook, which is running OS X 10.3.6.

I followed this guide :

http://docs.info.apple.com/article.html?artnum=42734

When I try to access the CGI, I get a 403 message :

You don't have permission to access /~test/bluewave/tmp2.cgi on this server.

This is the httpd.conf section :

<Directory />
    Options FollowSymLinks
    AllowOverride Options
</Directory>

% cat ~/Sites/.htaccess
Options +ExecCGI

% ls -l ~/Sites/bluewave/tmp2.cgi
-rwxr-xr-x 1 test test 129 30 Nov 12:09 /Users/test/Sites/bluewave/tmp2.cgi

I can access regular html in the bluewave directory, but the CGI won't run.

Any ideas?

Max.
ASKER CERTIFIED SOLUTION
Avatar of periwinkle
periwinkle
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Options FollowSymLinks +ExecCGI
ahoffman - yep - thanks for the catch!
Avatar of davidmaxwaterman
davidmaxwaterman

ASKER

Just to followup...

Since this is an Apple OS X specific configuration, I think the fully correct answer is what I was told on Apple's support web site :

http://discussions.info.apple.com/webx?14@216.YbZJaKEiCEC.2@.68a02433/2

But I am sure that what you put would also have worked :)

Thanks for your help!

Max.
David -

Glad to hear that your problem is solved - and thanks for the points!