[lug] .htaccess weirdness
    Scott A. Herod 
    herod at interact-tv.com
       
    Thu Feb  7 09:48:28 MST 2002
    
    
  
Hi Greg,
I think that you can handle nested security better and with more
functionality if you use httpd.conf.  Unfortunately, that's
about the limit of what I know about httpd.
Scott
Greg Horne wrote:
> 
> Yes, I do have a nested setup.  Here is why:
> 
> /admin
>         /directory1
>         /directory2
> 
> admin,direcotry1,directory2 all have .htaccess and .htpasswd in them.
> 
> Its setup so only authenticated users can access
> http://website/admin/index.html.
> 
> After authenticating, based on their user name the client is allowed
> into /admin/directory1 or /admin/directory2 or both.  Directory1 and
> directory2 have PHP scripts providing different functionality.
> 
> Is there a better way of doing this, so the client won't have to add the
> '/' onto http://website/admin?
> 
> Thanks,
> Greg
    
    
More information about the LUG
mailing list