Hi everyone.
I have just built apache mod perl, things seem to be fine since /server-status reports
Apache Server Status for home.itchy.and.scratchy
Server Version: Apache/1.3.14 (Unix) mod_perl/1.24_01
Server Built: Jan 5 2001 17:49:02
I have also edited my httpd.conf file to include the following
#mod perl stuff
Alias /perl/ /usr/local/apache_modperl/perl_mods/
PerlFreshRestart On
SetHandler perl-script
PerlHandler testing
SetHandler perl-script
PerlHandler Apache::Status
the /perl-script runs fine. The problem is with my own (well written :-)
script. The module is in the @INC list, and is called testing.pm.
package testing;
use strict;
sub handler
{
my $r = shift;
$r->content_type("text/plain";
$r->send_http_header();
$r->print "this is daves module running";
}
1
I have tried the url http://home.itchy.and.scratchy/perl/but that reports an internal server error - any ideas why this is and what im doing wrong would be of most help,ThanksDave Frost