[Gllug] Apache "redirect" in .htaccess for cgi-bin wont work.

Pete Ryland pdr at pdr.cx
Tue Feb 18 17:09:43 UTC 2003


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




More information about the GLLUG mailing list