Answer the question
In order to leave comments, you need to log in
How to set relative paths to .htpasswd?
AuthType Basic<br/>
AuthName "Say the password or bite my shiny *ss"<br/>
AuthUserFile /home/u*****/example.com/foo/.htpasswd <br/>
Require valid-user<br/>
Answer the question
In order to leave comments, you need to log in
httpd.apache.org/docs/1.3/mod/mod_auth.html#authuserfile
File-path is the path to the user file. If it is not absolute (ie, if it doesn't begin with a slash), it is treated as relative to the ServerRoot.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question