Web Hosting Talk







View Full Version : .htaccess


j_pearcy
05-13-2002, 12:20 AM
Ok my hosting provider has given me SSH access. and I am having a little trouble getting the path for "AuthUserFile" I know the path from my domain up but how do I find out the first part of it???? Hosting provider hasnt answered me back yet :angry: , and I want to know soon. thanks

Shyne
05-13-2002, 12:34 AM
The only way to find out the file path of "AuthUserFile" is asking the person who generated the file for you.

j_pearcy
05-13-2002, 12:43 AM
Guess Ill just wait for them to get back with me.
YAY

Starhost
05-13-2002, 04:26 AM
I gues that waht you mean is this: You know the location of the .htpasswd file, but you don't know the full path to it.

If this is correct do the following:
login into the shell
cd /to/the/dir/with/the/.htpasswd
pwd <= now you get the full path to that dir

Use the output of pwd as you AuthUserfile with .htpasswd behind it (if your authentication file has that name).