Mobile app version of vmapp.org
Login or Join
Caterina187

: How to run perl scripts on server? (apache2) when i visit http://example.asd/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

@Caterina187

Posted in: #Apache2 #Module #Perl #Script #Server

when i visit example.asd/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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

Servers like Apache have a /cgi-bin/ handler. You would make a request to
site.tld/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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme