Ive made a login page which shows the target url in a hidden field - so at
the moment that is kind of pointless. I have a .htaccess file with:

AuthUserFile /home/websites/hosted/mike/public_html/cgi-bin/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic

require valid-user

What I want to do is protect the directory, but not have that login box
appear - as it is redundant due to my login page!

Any ideas?