Home » Htaccess Tools » Questions regarding htaccess » How can I get my .htaccess to work on Godaddy
How can I get my .htaccess to work on Godaddy [message #845] Sat, 08 December 2007 01:51 Go to next message
neth  is currently offline neth
Messages: 1
Registered: December 2007
I have read a few of the topics but I still can't get my password protection to work.

AuthUserFile /home/content/b/l/a/blazegraal/html/.htpasswd
AuthName "Staff Only"
AuthType Basic
require valid-user neth

Thats what i have in my .htaccess.
I put the .htpassword in the main sites folder for the test.
So can someone please help with this?
Re: How can I get my .htaccess to work on Godaddy [message #858 is a reply to message #845 ] Fri, 25 January 2008 05:23 Go to previous messageGo to next message
howzit  is currently offline howzit
Messages: 1
Registered: January 2008
Neth, it depends on what your actual .htaccess file contains beyond the password authentication. I use Godaddy hosting and it works perfectly fine.

Here is an example of mine (using your domain path info though)

AuthUserFile /home/content/b/l/a/blazegraal/html/.htpasswd
AuthGroupFile /dev/null
AuthName Admin
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>


Obviously, I keep my .htaccess file on the root of the directory, but I like to put my .htpasswd file in its own folder on the root of my directory (but this shouldn't affect anything).

Hope this helps.
Re: How can I get my .htaccess to work on Godaddy [message #882 is a reply to message #845 ] Mon, 11 February 2008 18:32 Go to previous message
Petrodus  is currently offline Petrodus
Messages: 1
Registered: February 2008
This post has been very helpful for me, as I also have Godaddy hosting. One further question:
Is it possible to have one .htaccess file in the root, but more than one folder with a .htpasswd file?
Question
Previous Topic:Noob - what is this?
Next Topic:help! How do I redirect an unautorized user with htaccess ??
Goto Forum:
  


Current Time: Sat May 17 06:15:37 CEST 2008

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software