|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Local site redirectionI know that using the "hosts" file, I can map IPs to host names. What I would like to ask is how one would go about mapping individual sites (including paths, etc...) to another site? I.e. blocking/redirecting access from certain sites For example, I would like to redirect all these types of addresses to other addresses or block them entirely (from viewing in IE, other browsers, etc...): Domain, path and page: http://www.domain.com/path/page.html Domain: http://www.domain.com Domain, path: http://www.domain.com/path Thanks for any suggestions, Aaron
Show quote
Hide quote
"Aaron Chan" <no@spam.com> wrote in message You can't do all of what you want with the hosts file.news:eHpllcwcFHA.3040@TK2MSFTNGP14.phx.gbl... > Hi all, > > I know that using the "hosts" file, I can map IPs to host names. What I > would like to ask is how one would go about mapping individual sites > (including paths, etc...) to another site? I.e. blocking/redirecting > access from certain sites > > For example, I would like to redirect all these types of addresses to > other addresses or block them entirely (from viewing in IE, other > browsers, etc...): > > Domain, path and page: > http://www.domain.com/path/page.html > > Domain: > http://www.domain.com > > Domain, path: > http://www.domain.com/path > > Thanks for any suggestions, > Aaron > There's no real way to do this on the XP client. The best you can do is to re-direct the host www.domain.com using the hosts file. Then you'd need to impliment the rest of what you want to do on the web server you have re-directed to. So if you re-directed www.domain.com away from the real site to your own server, you then need to have your server serve up whatever you want at /path or /path/page Alternatively, you might be able to put a proxy in the way of all web traffic, configure all the clients to go via the proxy, and it could filter out the sites you want and re-direct them for example to a page saying 'unauthorised for viewing' or whatever you want. I don't really know details of specific proxies, but you could start by looking at ISA, perhaps someone in an ISA group coud advise if it can do this kind of thing. I'd expect it can. http://www.microsoft.com/isaserver/default.mspx -- Best Regards Ron Lowe MVP - Windows Networking
wireless and wired in same network
Lost a machine XP & Rights on an NT4 Server 10th user unable to connect to XP Pro machine How can my program know that Windows gets connected? Authenticating Local Proxy port 25 unreachable ? Can't create hosts file - scratching my head... Auto IP address detection failing Roaming profile not 'Roaming' |
|||||||||||||||||||||||