For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > February 2005 > cgi and cgi-bin









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cgi and cgi-bin
zippy

2005-02-01, 3:56 am

Hi,
I hope this is the correct group to post this question. I have set up a cgi
bin /var/www/website/cgi-bin with some perl scripts that worked on a similar
server before we took it down. Transferring the files to the new server
didn't work untill we put the files in /var/www/website/cgi.

For our forms to work (unless we want to rewrite every one of them) they
need to be in /var/www/website/cgi-bin. Where is the configuration script to
change it from cgi to cgi-bin? I am running fedora c1, apache 2 and using
the cgi bin in the virtual host area of httpd.conf.

Thanks,
--zip


kevindotcar

2005-02-08, 3:55 pm


zippy wrote:
> Hi,
> I hope this is the correct group to post this question. I have set up

a cgi
> bin /var/www/website/cgi-bin with some perl scripts that worked on a

similar
> server before we took it down. Transferring the files to the new

server
> didn't work untill we put the files in /var/www/website/cgi.
>
> For our forms to work (unless we want to rewrite every one of them)

they
> need to be in /var/www/website/cgi-bin. Where is the configuration

script to
> change it from cgi to cgi-bin? I am running fedora c1, apache 2 and

using
> the cgi bin in the virtual host area of httpd.conf.


Hi,

Have you shecked to make sure the files are in UNIX and not PC format?
That's the most typical reason I've found for that sort of thing
happening.

K.C

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com