CGI problems

CGI problems

am 01.02.2005 03:53:36 von zippy

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

Re: CGI problems

am 01.02.2005 14:22:36 von Justin C

In article , 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.

This is an Apache problem, you need an apache group, let me suggest
alt.apache.configuration

Justin.

--
Justin C, by the sea.

Re: CGI problems

am 01.02.2005 14:25:00 von Joe Smith

zippy wrote:

> 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.

Sounds like your httpd.conf has
ScriptAlias /cgi/ "/var/www/cgi/"
instead of
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
and it is a simple matter of either changing the ScriptAlias or
using two of them.
-Joe