hosts file and redirection

  • Thread starter Thread starter Goggy
  • Start date Start date
G

Goggy

I know how you can add entrys to your hosts file to block ads. I also
use this to redirect my browser from going to in-appropriate sites
from my kids. Is there anyway to have a site redirected to a local
file? example:
my 12 year old tries to to to www.badforkids.com, I would like to have
a locally
created file (by me of course) to show up in its place. Some page that
would show a warning about going to the site he is attempting to get
to.

Any help would be greatly appreciated

Thanks
 
Goggy said:
I know how you can add entrys to your hosts file to block ads. I also
use this to redirect my browser from going to in-appropriate sites
from my kids. Is there anyway to have a site redirected to a local
file? example:
my 12 year old tries to to to www.badforkids.com, I would like to have
a locally
created file (by me of course) to show up in its place. Some page that
would show a warning about going to the site he is attempting to get
to.

Any help would be greatly appreciated

Thanks

One thing I can think of is to run a local http server (there are lots
of small, freeware ones out there) and you then redirect to 127.0.0.1
(localhost) - since you are running a webserver on your machine, it will
pop up with whatever main page you configure (presumably a local file
that you display with "file://c:/dont.htm" or something like that.
 
I know how you can add entrys to your hosts file to block ads. I also
use this to redirect my browser from going to in-appropriate sites
from my kids. Is there anyway to have a site redirected to a local
file? example:
my 12 year old tries to to to www.badforkids.com, I would like to have
a locally
created file (by me of course) to show up in its place. Some page that
would show a warning about going to the site he is attempting to get
to.

Any help would be greatly appreciated

Thanks

Why don't you take the initiative and supervise a visit to that site.
Then you can explain why you think it is a bad idea and use the site
to demonstrate your points. Once he has seen the site he probably
won't want to return. It's the lure of the forbidden that you are up
against here. A flat ban will always make it more desirable.
 
Back
Top