BTW - The script looks like this:
 
#!/usr/local/bin/perl -w
 
use strict;
use Apache;
 
print "Content-Type: text/html";
 
my $r = Apache->request;
 
1;
 
and the error looks like this:
 
Can't locate object method "request" via package "Apache" at /u/virtual/devel.*****.com/perl-
bin/Inslink.pl line 8.
[Thu Aug 21 10:31:07 2003] [error] [client 192.168.234.85] Premature end of script headers: /u/virtu
al/devel.*****.com/perl-bin/Inslink.pl
 
Notice it didn't fail  on loading the Apache module, just on calling the request method.
 
Cheers
 
G
-----Original Message-----
From: Gareth Kirwan [mailto:[EMAIL PROTECTED]
Sent: 21 August 2003 10:23
To: [EMAIL PROTECTED]
Subject: Apache installation not accepting perl-script Handler

I have a mod perl installation, but it won't accept a perl-script handler.
In a Location directive I set the handler to perl-script. It fails to execute the test file properly.
I set it to cgi-script and it executes the file fine ( though I get complaints about doing Apache->request aftter loading the Apache module )
 
I have perl-status running on the server, and it returns fine:
Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) mod_gzip/1.3.26.1a mod_perl/1.27 mod_ssl/2.8.12 OpenSSL/0.9.6h
 
The loaded modules section shows Apache and Apache::Request to be loaded.
 
Any ideas ?
 
Thanks
 
Gareth Kirwan
Programming & Development,
Thermeon Europe Ltd,
[EMAIL PROTECTED]
Tel: +44 (0) 1293 864 303
Thermeon Europe e-Card: gbjk

Reply via email to