On Wed, 26 Jan 2005, 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? > Thanks a lot beforehand.
You should check out http://perl.apache.org/docs/2.0/user/intro/start_fast.html which gives you a quick guide to configuring and testing mod_perl, both with a simple registry script and with a simple response handler. -- best regards, randy kobes