Embedded Perl version *v5.8.4* for *Apache/1.3.17 (Unix) mod_ssl/2.8.0 OpenSSL/0.9.6m PHP/4.3.10 mod_perl/1.25* process *27940*,running since Fri Jul 14 11:02:13 2006
You really should upgrade your httpd to 1.3.36 if you've just rebuilt it anyway.
my $r = shift;
$r->send_http_header('text/plain');
$r->print("mod_perl (2) rules!\n");
Looks good
#!/usr/bin/perl print "Content-type: text/plain\r\n\r\n"; print "mod_perl (1) rules!\n"; exit
Why the exit ?
#Alias /perl/ /usr/local/apache/perl/
You need that Alias for the below location
PerlModule Apache::Registry <Location /perl/> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI Allow from all PerlSendHeader On
Not your problem, but you dont' want to send the headers in both script and via this switch.
</Location>
PerlFreshRestart On PerlWarn On PerlTaintCheck On
Where's the cgi-bin config ?
i.e.:
Script Alias /cgi-bin/ /usr/local/apache/cgi-bin
<Directory "/usr/local/apache/cgi-bin>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
--
------------------------------------------------------------------------
Philip M. Gollucci (suppressed) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.