AuthUserFile with relative path
I'm trying to specify the password file on a AuthUserFile line using relative path, but LiteSpeed doesn't seem to handle those.
I'm currently using "AuthUserFile /etc/httpd/conf/.htpasswd"
but would like to use "AuthUserFile .htpasswd".
Apache's mod_auth says "File-path is the path to the user file. If it is not absolute (i.e., if it doesn't begin with a slash), it is treated as relative to the ServerRoot."
I tried both "AuthUserFile .htpasswd" and "AuthUserFile ./.htpasswd" without success.
LiteSpeed logs "Failed to open file: '.htpasswd'" or "Failed to open file: './.htpasswd'"
- Guillaume Boudreau
Last edited by gboudreau; 12-09-2006 at 09:57 AM..