View Single Post
Old 16-01-2009, 13:07   #7 (permalink)
bencharity
Student - Designer
 
Join Date: Dec 2008
Location: Kennesaw, GA
Posts: 31
I tried a htpasswd and htaccess file to password protect cause this is supposed to stop people and google. But now it won't even let me in with my password.

I read about it here: Ilisys Web Hosting - How do I password protect a directory on a Linux server?

my htaccess is now this:

Code:
Options +FollowSymlinks RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] AuthUserFile /home/content/g/r/a/gracelandcampus/html/.htpasswd AuthName "Restricted Area" AuthType Basic Require valid-user

and my htpasswd is:

Code:
webmaster:kG67cSW.9AldM guest:9g70P5DPIcQx2

They are both in my root folder (since until my launch I want to go ahead and block everything). Any clue as to why it won't let me in?
  Reply With Quote