[Gllug] Apache "redirect" in .htaccess for cgi-bin wont work.
Steve Nicholson
yahoogroups at yoursolutions.com
Tue Feb 18 18:01:36 UTC 2003
Thanks Pete
it isn't set for the cgi-bin directly but it is for "/" which will be
affecting it. I'll contact the ISP and ask them to add a <directory>
item for pvt-cgi-bin so I can use the redirect.
thanks again for your help.
Steve.
On Tue, 18 Feb 2003 17:09:43 +0000 Pete Ryland wrote:
> On Tue, Feb 18, 2003 at 04:19:05PM +0000, Steve Nicholson wrote:
> > Directory structure is similar to this:
> > /home/htdocs/.htaccess <-- redirect working.
> > /home/pvt-cgi-bin/.htaccess <--redirect not working
> >
> > The main httpd.conf has a ScriptAlias directive for pvt-cgi-bin
> > e.g. ScriptAlias /pvt-cgi-bin/ "/home/pvt-cgi-bin/"
> >
> > Is it because of the ScipAlias and it's not possible to have two
> > directives? I don't have access to change httpd.conf Am I missing
> > anything?
>
> Yes, the AllowOverride directive.
>
> This will likely be set to None for a cgi-bin dir for security
> reasons.
>
> Pete
> --
> Pete Ryland
> http://pdr.cx/
>
> --
> Gllug mailing list - Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
>
>
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list