AuthUserFile with relative path

Discussion in 'Bug Reports' started by gboudreau, Dec 8, 2006.

  1. gboudreau

    gboudreau Member

    Hi,

    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'"

    Thanks,
    Last edited: Dec 9, 2006
  2. mistwang

    mistwang LiteSpeed Staff

    Will be fixed in 3.0RC1 release.

Share This Page