when i visit http://example.com/asd.pl it just asks me if I want to download the script.

I have perl module installed in my httpd.conf and I have

LoadModule perl_module modules/mod_perl.so

How can I run it?

1 Answer 1


Servers like Apache have a /cgi-bin/ handler. You would make a request to


or something similar.

This script.pl actually resides elsewhere.

One common location is /usr/lib/cgi-bin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.