Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-26-2005, 07:22 AM   #1
Registered: Sep 2005
Location: Ägypten
Distribution: Ubuntu 5.10
Posts: 155

Rep: Reputation: 30
Apache 2 does not execute Perl!

i use Apache 2.0 , mod-perl 2
i installed Apache then i used APXS to install mod-Perl, now the is loaded (written in the config file)
the problem is Apache does not execute the scripts, it displays the script source!!!
i tried to include PerlHandler inside <directory></directory> section like : PerlHandler Apache2::Registry , but it reports "Internal server error" !
i think there is a missing step to configure Apache to work with Perl, can anyone help?

Last edited by mesh2005; 10-26-2005 at 08:35 AM.
Old 10-26-2005, 11:51 PM   #2
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
I assume you aliased the directory properly. Do you have the following directives in your <directory> directive?

SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cant Get Apache to execute php pages nevarlen Linux - Newbie 1 02-18-2005 12:48 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 06:37 PM
Why cant i execute a perl script dude4you Linux - Newbie 2 03-02-2004 06:50 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 07:15 PM
can i set ~/public_html/perl as a perl directory for apache? doublefailure Linux - Networking 1 07-09-2002 05:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:20 PM.

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