Recently on my mostly PHP website, that I just started. I added a .htaccess and .htpassword. I set a password and User name, and went to my site to test it out.
That is when I started having problems. After I logged in I would be continuously re-directed to a "Kwikiphp.com web hosting blog" and was unable to access my actual website.
So, I went back and deleted my .htaccess and .htpasswd file and went to my website, everything is back to normal now.
Does anybody know a fix for this? I want to keep the files I deleted and have a Username/Password to access my website.
Update: Here is my .htaccess code.
CODE
RewriteEngine On
RewriteRule ^(.*).flv$ index.php?q=$1&flv=1
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/vol1/myok_1830809/htdocs/.htpasswd/
AuthGroupFile /dev/null
require valid-user
## SITE REFERRER BANNING
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} www\.google\.com [NC,OR]
RewriteCond %{HTTP_REFERER} www\.websense\.com [NC]
RewriteRule .* - [F]
## PREVENT VIEWING OF .HTACCESS
<Files .htaccess>
order allow,deny
deny from all
</Files>
** Edit **
This post has been edited by no2pencil: 10 May, 2008 - 09:17 PM