Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Problems With mod_perl On Apache 2.0

Thread Tools

Problems With mod_perl On Apache 2.0

Hal Vaughan
Posts: n/a
I'm using Apache 2.0 on Debian Linux. I've installed mod_perl and I can see
the links for perl.load and perl.conf in /etc/apache2/mods_enabled. My
perl.load is like this:

LoadModule perl_module /usr/lib/apache2/modules/

<Directory /var/www/perl >
SetHandler perl-script
PerlResponseHandler ModPerl::Registry

I've also tried "/perl" for the directory, but it makes no difference. At
this point I'm not doing anything fancy. I just need to test some scripts
that will later be uploaded to a server. At this point, I just need to get
it working on my own system quickly so I can get a few scripts tested (as
opposed to writing, uploading, testing, then editing, uploading...).

I've searched on this, but not found much helpful on it. When I point my
browser to http://localhost/perl/script, I get the source for the script.
If I add ".pl" to the script name and put that in the browser address bar,
Firefox tries to download the program.

Any help, info, or a link or two is much appreciated.

Reply With Quote
Ruey-Cheng Chen
Posts: n/a
You must be using mod_perl 2. Try add this into your <Directory>

PerlOptions +ParseHeaders

For more info check out

Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_perl installed, but file not created Perl Misc 2 01-25-2006 10:53 PM
starting apache with mod_perl, error on Selmar Perl Misc 2 07-21-2004 09:53 PM
mod_perl, apache Matija Papec Perl Misc 4 04-24-2004 09:21 PM
mod_perl 1.99 apache 2.0.48 Lionel Valero Perl Misc 1 11-10-2003 05:44 PM
mod_perl / Apache problem David Perl Misc 6 10-11-2003 03:18 AM