[thelist] Apache cgi-bin configuration error
Chris Ditty
cditty at gmail.com
Fri Nov 17 14:48:44 CST 2006
Thanks. For some reason, it just started working. I had quit working
on it and just reloaded it and BOOM. Go figure.
Thanks for the tip though. :)
On 11/17/06, Phil Turmel <pturmel-webdev at turmel.org> wrote:
> Chris Ditty wrote:
> > I am having a weird problem trying to configure apache to run cgi
> > scripts. In the apache httpd.conf file, I have this.....
> >
> > ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
> >
> > <Directory "/usr/local/apache/cgi-bin">
> > AllowOverride None
> > Options None
> > Order allow,deny
> > Allow from all
> > </Directory>
> >
> > and in the VirtualHost, I have this....
> >
> > ScriptAlias /cgi-bin/ /home/refugefo/public_html/cgi-bin/
> >
> > but when I try and run a script in the cgi-bin directory, I see this
> > in the error_log file.
> >
> > File does not exist: /home/refugefo/public_html/refuge/cgi-bin/scriptname
> >
> > Nowhere in the httpd.conf file is public_html/refuge/
> >
> > The script has been properly chmod and chown. What am I missing? I
> > can't figure out where that second refuge is coming from.
>
> Chris,
>
> I'd look for a rewrite rule that adds 'refuge' to selected URIs. You
> might have to add a rewrite condition that exempts 'cgi-bin'.
>
> Phil
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list