CGI/perl and 403 error

nzguy

New member
Joined
May 14, 2008
Messages
1
Hi guys

I'm new to DirectAdmin and I appologise if my problem has been addressed before - but I couldn't find it in the forum.

I want to be able to:

1) run cgi/perl scripts in the cgi-bin before the domain has resolved; ie. using /~username/cgi-bin as the URL

2) run cgi/perl scripts from the root directory rather than from the cgi-bin

At the moment a 403 error message is displayed in each case.

According to the Apache tutorial, I tried adding:

Options +ExecCGI
AddHandler cgi-script .cgi .pl

to the .htaccess file in the directory.

This did remove the error message when the script was called, but resulted in just a blank screen being displayed.

Any help would be gratefully received.
 
Back
Top