Computer Hope

Microsoft => Microsoft Windows => Windows XP => Topic started by: Raptor on June 09, 2005, 03:10:06 PM

Title: Blocked access by Host File
Post by: Raptor on June 09, 2005, 03:10:06 PM
I have added a number of adresses to my host file, and it works very well. Most efficient content filter I have ever seen.

I am wondering; is it possible to have the browser display a [custom made] error message in the form of a webpage rather than a simpel error that tells the user the computer was unable to establish contact?

Title: Re: Blocked access by Host File
Post by: merlin_2 on June 09, 2005, 04:42:34 PM
what like 404.......
Title: Re: Blocked access by Host File
Post by: Fed on June 09, 2005, 05:21:15 PM
What a good idea  :)
I guess instead of looping the site back to 127.0.0.1 you could loop it to anywhere you wanted to on the net & probably even to a html file on the computer itself.
You could write your own scary message to guarantee the user would never try and access that place again.  ;D
Keep me posted.  ;)

UPDATE:
HMMM? It looks like you can only redirect to an IP number.
Title: Re: Blocked access by Host File
Post by: Raptor on June 10, 2005, 05:55:17 AM
If you host a webpage on your computer, would it attempt to access that rather than display an error when connecting to a forbidden website?

I recall learning how to host a webpage from your own computer through certain Windows XP Professional components that needed to be installed seperatly. By typing 127.0.0.1 in the adress bar, it would access that page.

Would anyone care to fill in the gaps?
Title: Re: Blocked access by Host File
Post by: merlin_2 on June 10, 2005, 04:32:10 PM
http://www.pcstats.com/articleview.cfm?articleID=1774
Title: Re: Blocked access by Host File
Post by: Raptor on June 11, 2005, 07:20:13 AM
I will look into that. Thank you for the link, Merlin.