When viewing the PHP Info look for _SERVER["DOCUMENT_ROOT"]
Now after you create the .htaccess and .htpasswd files you upload the .htaccess to the /admincp directory and the .htpasswd to the level above public_html in a folder called .htpasswds (or create one if it does not exist).
*You must ensure though that the path in the .htaccess is correct and that it knows where to locate .htpasswd otherwise how does it know if your password is correct .
Just tried all that and all i get now for the Admin CP is:
Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Took away the files and all is back to how it was..
I'll just keep reading and trying I guess..
--------------- Added [DATE]1326447114[/DATE] at [TIME]1326447114[/TIME] ---------------
Quote:
_SERVER["DOCUMENT_ROOT"]
/home/useraccount/public_html/forums
The AuthUserFile path is where I am getting problems, it's wrong
This is what TLS said for the path:
Quote:
/home/useraccount/htpasswds/.htpasswds
I tried to use this one but it gave me the error:
/home/useraccount/htpasswds/forums/admincp/.htpasswds