Apache 2 & Perl

This is a discussion on Apache 2 & Perl within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm sure that it must be a configuration problem, but I keep getting an internal error when using a ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-03-2004
mark
 
Posts: n/a
Default Apache 2 & Perl

I'm sure that it must be a configuration problem, but I keep getting an
internal error when using a Perl script on my server.

I recently (re)installed Redhat 9 after a recent crash, and then
installed Apache 2.0.49 and the latest mod_perl from source. When I run
this test page:

http://www.comparity.net/per/time.pl

I get the correct output (the current date & time), together with the
following:

OK

The server encountered an internal error or misconfiguration
and was unable to complete your request.

with the message to please contact me to do something about it.

I had this problem before the crash, and managed to fix it, but cannot
work out how ...

My httpd.conf has the following:

LoadModule perl_module modules/mod_perl.so
PerlModule Apache2

...

Alias /perl /data/www/perl
<Directory /data/www/perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Allow from all
</Directory>

Any ideas?

Thanks,

Mark
  #2 (permalink)  
Old 05-03-2004
mark
 
Posts: n/a
Default Re: Apache 2 & Perl (oops)

mark wrote:

Oops! The site is:

http://www.comparity.net/perl/time.pl

Thanks,

Mark
  #3 (permalink)  
Old 05-03-2004
Davide Bianchi
 
Posts: n/a
Default Re: Apache 2 & Perl

mark <mark@manngo.example.net> wrote:
> The server encountered an internal error or misconfiguration
> and was unable to complete your request.


Check your error_log file, it will give you some more clues about
what can the prpblem be.
Davide

--
| Give me the Luxuries, and the Hell with the Necessities!
|
|
|
  #4 (permalink)  
Old 05-03-2004
mark
 
Posts: n/a
Default Re: Apache 2 & Perl

Davide Bianchi wrote:
> Check your error_log file, it will give you some more clues about
> what can the prpblem be.
> Davide


Have done. There is no sign of an error. (I do get error messages from
other sources, but none from this.)

Thanks,

Mark
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



All times are GMT +1. The time now is 06:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0