tibberous Posted March 2, 2008 Share Posted March 2, 2008 I have a server that is running mod_perl but I need to have it run CGI Perl for legacy support. This is on a reseller server running Plesk. I added the lines: <Directory /> Options +ExecCGI </Directory> AddHandler cgi-script cgi pl To the httpd.conf. I reset apache and chmod'ed my file to 777. /usr/bin/perl is working and set to 777. I get a Forbidden message though, any idea why? Quote Link to comment Share on other sites More sharing options...
syngod Posted March 4, 2008 Share Posted March 4, 2008 Well one thing i see is if you did not put .cgi .pl it will not work. also you didn't have to add anything you just have to find this (line 191 in the file) Options Indexes FollowSymLinks and add ExecCGI Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.