From: Kristoffer L. <se...@fi...> - 2007-06-19 09:19:40
|
On 18 Jun 2007, at 22:25, Conrad Moolman wrote: > Hi, > > We are a small ISP,and we would like to setup the following for our > clients.As soon as they open the browser,it must go to our > website,but any > new requests will go to the url they entered.Basically we want to > 'force' > the clients homepage to be our website. To be honest, I don't believe there is any way you could enforce this. Sure, you could, as you say, make the first request always redirect to your website, but what if the client configure their web browser to give an empty page on startup? Then, when they enter a URL they will be highly surprised and confused when it, in fact, brings them to your homepage. Even if you did decide to go that way, the method is not trivial. How do you know what is the first request? You do not know when the users shuts their browser down. Thus it would certainly not work in all cases. What some ISPs do is to see when the client receives an IP address via DHCP and then redirect their first HTTP request to the ISPs own website. Perhaps this is what you are after. Of course, that will only happen when the machine fetches the address. Tclhttpd might help as part of the solution here, but it would not be the whole solution, as you need that redirection in place, probably by configuring the routers or tweaking DNS. As a shameless plug, our company's net gurus could probably make something ;-) / http://www.fishpool.com/~setok/ |