|
I have protected a directory successfully using htaccess. But am very unsure as to the path naming conventions.
I am using an Apache server on a local machine for developement and testing (windows vista home premium), set up as directed with no problems.
But I cannot make head nor tail of the paths given in tutorials and help references such as these:
AuthUserFile /usr/local/you/safedir/.htpasswd
or:
ErrorDocument 401 /errors/authreqd.html
What does that first slash represent, please don't tell me root this or that but give me a path, my document root is:
C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/
so what is "usr" or "local", and where does "/errors/" spring from? I welcome any help.
|