Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache 2 & Perl

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  User Tracking?  
Author Message
mark20

External


Since: Jan 27, 2004
Posts: 5



(Msg. 1) Posted: Tue May 04, 2004 3:25 am
Post subject: Apache 2 & Perl
Archived from groups: alt>apache>configuration (more info?)

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<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache 2 & Perl 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Tue May 04, 2004 3:25 am
Post subject: Re: Apache 2 & Perl [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

mark <mark.DeleteThis@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!
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache 2 & Perl 
Back to top
Login to vote
mark20

External


Since: Jan 27, 2004
Posts: 5



(Msg. 3) Posted: Tue May 04, 2004 3:28 am
Post subject: Re: Apache 2 & Perl (oops) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
mark20

External


Since: Jan 27, 2004
Posts: 5



(Msg. 4) Posted: Tue May 04, 2004 9:18 am
Post subject: Re: Apache 2 & Perl [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 2 & Perl 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
apache 2.0.47 and perl/cgi - Hello, I have installed apache 2.0.47 on my linux red hat 9.0. ../configure --prefix=/etc/httpd --enable-rewrite=shared --enable-speling=shared --enable-cgi=shared --enable-alias=shared but the cgi script not work..... Bye, Massimiliano

Apache doesn't exec perl - Hi folks, I am absolutly new with Linux and especially with Apache. I've set up Apache 2 on my Suse 8.2. Further the needed mods are installed (mod_perl, mod_python, ...) Apache responds on port 80. Index.html for example is shown when asked for the we...

What about perl on linux apache? - Hi. I see that some Win2K folks (of which I'm one) are having a problem with perl on apache. I am having a problem on RH Linux 9.0; I finally got httpd configured, so I think, but my perl scripts display their code. This has happened more than once....

Apache 2.0 and cgi-bin perl problem - Hello Gents I have installed now on my pc (windows 20000) the latest version of apache 2.0.48 and perl 5.6.1 After the installation i try to run the http://my-host/cgi-bin/printenv.pl and the the server not execute the perl scrit but the browser..

newbie - apache and perl - Hi, after the installation of apache 2.0 on a Win XP system I have problems to execute pl-scripts. I read the Manual and I think I have done the same things. The version of perl is 5.6.1-635. In the file httpd.conf I have added the following lines: ....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]