LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-02-2008, 01:00 PM   #1
tibberous
Member
 
Registered: Oct 2004
Posts: 56

Rep: Reputation: 15
Trouble switching from mod_perl to cgi perl


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?

Is there a way to see what options apache has a directory/file set to? Or some way to view the 403 message in the logs?
 
  


Reply

Tags
apache, perl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_perl Compiling Trouble pxumsgdxpcvjm Linux - Server 1 02-04-2008 06:56 AM
Perl CGI:Can't locate CGI.pm supermyself Programming 13 09-10-2007 06:22 AM
perl cgi neil Programming 3 07-07-2004 04:52 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM
mod_perl trouble perlguy Programming 1 07-19-2002 01:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration