Re: help with Auth in Apache
| From: | David Robley | Date: | Fri, 09 Nov 2001 00:10:46 +0000 |
| Subject: | Re: help with Auth in Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73976@lists.php.net to get a copy of this message | ||
On Fri, 9 Nov 2001 01:38, Christian Dechery wrote:
> This is really not a PHP question... but I'm sure there's someone that
> can help me out...
>
> How can I implement a kinda of super-user in Apache with .htaccess...
>
> something like, I'd have the following dir tree:
>
> /
> /site1
> /site2
> /site1/crap
> /site2/crap2
>
> so I sould create users: site1 and site2 and place .htaccess files in
> their dirs right?
> And they would ONLY have access to their respective dirs..
> But I want a user that can access ALL the dirs, including / ... how can
> I do this?
>
> thanks...
If you mean only being able to ftp into the defined structure, and you
are using a unix variant, look into chroot - system command, not php.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
C:\DOS C:\DOS\RUN RUN\DOS\RUN