Question about .htaccess


I am using an CGI script that have an registration file to be able to add user to htpaswd
But what do I have to put after, on the .htaccess:
AuthUserFile (what else here)

I want to know the path…

I don’t want to use the WebDav of dreamhost… I want to do it myself…learning too :wink:

See DreamHost Wiki - Password-protecting directories - Creating a .htaccess file

:cool: Perl / MySQL / HTML+CSS

Well, do I need, for the path, to enter the domain?


AuthType Basic
AuthUserFile /home/myusername/
AuthName "My Private Area"
require valid-user

Also, what is the path for CGI script?