ankursethi, you area golden god! I would thank you (formally) if I could, but I can't find a ribbon.
Let me be specific. This gets my perl working:
PHP Code:
<Files ~ "\.(pl|cgi)$">
SetHandler perl-script
PerlResponseHandler ModPerl::PerlRun
Options +ExecCGI
PerlSendHeader On
</Files>
Thank you thank you thank you!
Problem is, as you may have guessed, this is not the most secure thing. If somebody managed to get a malicious perl script onto your system, they would be able to run it without much trouble simply by navigating to it with their browser.
For my part, I would love to set up a perl CGI. Problem is, I can't figure out how. I think it should be really simple, but I've spent the past 2 hours unsuccessfully looking. Your directive is the first one that gets any perl working for me.
Why is this not automatically set up with the mod_perl deb? Unless my memory fails me, PHP worked out-of-the box.
Bookmarks