Does anyone have the coding handy to redirect a surfer to a different page if they dont enter a correct username + password in to a .htaccess password box?
Im trying to setup a basic 404 page for it cant figure out the correct code :(
Regards,
Lee
Printable View
Does anyone have the coding handy to redirect a surfer to a different page if they dont enter a correct username + password in to a .htaccess password box?
Im trying to setup a basic 404 page for it cant figure out the correct code :(
Regards,
Lee
I think that is error code 401 - Unauthorized
simply place this in your site's htaccess file
ErrorDocument 401 http://www.domain.com/jointologin.html
cheers,
Luke
I just googled it:
http://www.indiana.edu/~wmhome/tool_...errordoc.shtml
cheers,
Luke
Thanks Luke :)
I guess that explains why my 404 wasnt working LOL
Regards,
Lee
lol - yeah that would explain things.
cheers,
Luke