Hi,
The information not sufficient. You need to tell Apache that your
scripts have the extension .pl. I hope you are doing that.
Then you need to tell Apache to use a PerlHandler to process the
scripts otherwise Apache will not process it and I think you haven't do
this is your httpd.conf. Again can't say without the info.

In any case, the modperl list is:

modperl@perl.apache.org

Stas Bekman has written a couple of tutorials on using modperl
on the O'Reilly site. Do a google search and I'm sure you'll get the URL.
The modperl documentation is pretty good too.

alfred,




Edward Wijaya wrote:

Dear all,

I am trying my mod_perl in my Apache webserver for the first time (under Mdk-Linux).
I have created a simple "print hello world" script with the name 'hello.pl'
and I stored it under 'var/www/cgi-bin/' but whenever I try to open
the script with http://localhost/cgi-bin/hello.pl


It gives "Internal Server Error" like this: http://paste.phpfi.com/48050.

BTW my  httpd.conf            is like this: http://paste.phpfi.com/48067
and my  httpd2.perl.conf      is like this: http://paste.phpfi.com/48068

Can anybody suggest what's wrong with my approach?
Hopefully this question is not far off topic.
Thanks a lot beforehand.


--
Perl - Making simple things easy,
without making hard things impossible;




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to