Question about .htaccess


#1

Hello,

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:


#2

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

:cool: Perl / MySQL / HTML+CSS


#3

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

E.G.

AuthType Basic
AuthUserFile /home/myusername/mydomain.com/.htpasswd
AuthName "My Private Area"
require valid-user

Also, what is the path for CGI script?

Thanks!