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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]