Access forbidden when running perl scripts

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Access forbidden when running perl scripts

Postby viper92086 » 20. June 2011 17:21

Hi so i'm having some issues running perl scripts from my cgi-bin folder on xamp 1.7.4. I am trying to run the sample script helloworld.pl and i receive a Access Forbidden 403 error. I have made sure that i chmod'd the cgi-bin folder and files to 0755. Is there anything else i am missing?
viper92086
 
Posts: 3
Joined: 09. December 2010 16:34

Re: Access forbidden when running perl scripts

Postby viper92086 » 20. June 2011 19:49

I found that i needed to make some modifications to the httpd.conf file the following is what i modified it to.

<Directory "/opt/lampp/cgi-bin">
AllowOverride all
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Allow from all
</Directory>
viper92086
 
Posts: 3
Joined: 09. December 2010 16:34


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests