i have installed red hat 8 on my computer along with Apache, Perl/ MySQL and PHP. i am having problems getting PERL to work.
i try to run the following script, but no luck:
simply trying to test mod-perl
as perl came with the install of red hat, i simply went to httpd.conf and added the following
----> PerlModule Apache::PerlRun <Location /perl> SetHandler perl-script PerlHandler Apache::PerlRun Options ExecCGI PerlSendHeader On allow from all </Location> <----
i created a file called mod_perl_rules1.pl
#! /usr/bin/perl print "Content-type: text/plain\r\n\r\n"; print "mod_perl rules!\n";
when i try to run this in telnet i get
Content-type: text/plain
mod_perl rules!
but when i try to run it from the site i get an error message:
http://134.36.16.12/perl/mod_perl_rules1.pl
anyhelp would be appreciated. i have tried various other tutorials, but i am getting similar errors!
_________________________________________________________________
Surf together with new Shared Browsing http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]