Click to See Complete Forum and Search --> : Apache


Plextor
10-23-2001, 08:46 PM
Ok, I got apache to work with the html part easily, but when I try to get it to work with .cgi, I get an internal server error.

Im trying to set up news pro. I have it installed in a folder called news in my cgi-bin directory.

When I try to set it up, I use the command line http://localhost/cgi-bin/news/newspro.cgi

Then, I get the server error, what a bummer. Im using Mandrake 8.1

YaRness
10-23-2001, 08:54 PM
make sure the scripts have the right path to your copy of perl (the "#!/usr/bin/perl" or something similar at the top of any of the scripts).

to find out your perl path, type "perl -v" (or maybe it's -V) at the command prompt. or maybe try a, ummm, i think it's "whereis perl". maybe it's "where perl". i forget.

if that stuffs alright, then maybe the scripts aren't chmodded to be executable, or else you need to figure out what the config settings are for running the files through apache.