[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache with htpasswd without htaccess

On Fri, 8 Feb 2002, Rudi wrote:
> http://httpd.apache.org/docs/howto/auth.html
> <Directory /home/www/WWNames/Site_Files/wwnamesadmin>
>     AuthType Basic
>     AuthName "WWNames Authentication"
>    AuthUserFile /home/realm/wwnames

With this schema I have to modify httpd.conf all the time if any user want
to lock or unlock his directory. This is annoying.

On the other side, editing of .htaccess is too complicated for common user
without knowledge of configurating webservers. Also, he must to know full
path to his .htpasswd (with directory) even if he uploades his
documents by chrooted FTP server. It could be problematic if the user's
directory is made with some kind of hashing and his .htpasswd is in the
nested subdirectory (i.e. /home/u/s/e/r/user/htdocs/data/doc/secret).
Unfortunately, AuthUserFile seeks the file in ServerRoot, not in current

Sorry, my first mail wasn't precise.

Piotr Roszatycki, Netia Telekom S.A.                    .''`.
mailto:Piotr_Roszatycki@netia.net.pl                   : :' :
mailto:dexter@debian.org                               `. `'

Reply to: