sorry to say nothing didnt work
my script or ur script
this is wat i did
so i wrote like this. then wat happened is when i type
www.mysite.com/itstest/ always went to error.html
im doing something wrong
TheAddy="http://www.mysubsite.mysite.com/itstest/"; //make sure it is in lower case!!
//TheLoc=self.location.href.toLowerCase();
//TheLoc=document.referer.toLowerCase();
if(self.location.href=TheAddy){self.location.href="http://www.mysite.com/itstest/html/error.html";}