1

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

0

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

http://example.com/cgi-bin/script.pl?param=val&param2=val

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.