cancel
Showing results for 
Search instead for 
Did you mean: 

apache perl

A.G.M. Velthof
Valued Contributor

apache perl

Hello to all,

I've installed the apache webserver that comes with RH Enterprise Server 3 and also included mod_perl.
When I open the webpage I only see the content of a perl script. Do I have to make any changes to my webserver so the script will be executed?

Regards, Alfons
3 REPLIES
Ivan Krastev
Honored Contributor

Re: apache perl

Just edin httpd.conf and enable .pl scripts to be threated as cgi-script.

AddHandler cgi-script .cgi .pl


After that reload apache.


regards,
ivan
A.G.M. Velthof
Valued Contributor

Re: apache perl

Thank You Ivan,

I've alreay found the solution, the script should be in cgi-bin.

Regards, Alfons
Ralph Grothe
Honored Contributor

Re: apache perl

But then you wouldn't be using the mod_perl interface but merely lumbered mod_cgi.
Madness, thy name is system administration