Stoke
asked on
cgi script is displaying the script not the results
Hi,
I'm a web-server newbie. I'm playing with a Linux box and have installed apache. I've got some perl scripts with a cgi extention and when I try to run them it shows the code in the browser window. I've put the code in a directory called perltest. The server doesn't have a cgi-bin directory yet. How do I get it to run the scripts?
Yours,
Stoke
I'm a web-server newbie. I'm playing with a Linux box and have installed apache. I've got some perl scripts with a cgi extention and when I try to run them it shows the code in the browser window. I've put the code in a directory called perltest. The server doesn't have a cgi-bin directory yet. How do I get it to run the scripts?
Yours,
Stoke
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Stoke,
glad to be of help
regards Peewee
glad to be of help
regards Peewee
ASKER
ScriptAlias showed me there was already a cgi-bin, but in a different directory. AddHandler was commented out.
I've moved the code to that directory and it's now working. Well done.