Click to See Complete Forum and Search --> : newbie: Cant execute perl scripts


exiztone
09-14-2001, 01:17 PM
I want to learn perl, so I got a copy of redhat 7.1 iv been using windows 98 to present date so its all pretty complex for me, I figured out how to set up a server (your probably laugh at that lol) but I cant seem to execute .cgi files
I have perl installed (as far as I can see) and im chmodding the files
but when I execute them, it just shows the source code of them, how can I fix this! :confused:

jemfinch
09-14-2001, 02:44 PM
The directory they're in isn't setup for serving cgi -- the Apache server isn't executing them.

Apache requires that you set specific directories to serve CGI -- find what directory it is, and put the scripts in that directory. Otherwise, set the directory the scripts are in to be a CGI directory.

Jeremy