From: Conrad M. <cmo...@gm...> - 2007-06-18 19:25:26
|
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. Someone told me that this can be achieved using tclhttpd,but i do not have a clue where to start.I know i must install tclhttpd on a server and forward all port 80 to this server.This is fine,i can do this,but how will i configure tclhttpd to manage this.If it is a new request from a new session,go to our website,otherwise go to the intended url.Can tclhttpd do this,or am i searching at the wrong place? So just to clarify,client opens his browser,it goes to our website no matter what his homepage is set to,but any new requests gets passed on to the intended url from the tclhttpd web server.Any help or pointers will really be appreciated. Thanks Conrad Moolman South Africa |
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/ |
From: Jeff S. <hea...@ya...> - 2007-06-20 01:46:22
|
What your are probably thinking of is a program called "HeadsUp" which uses TclHttpd and requires the browser to use a proxy.pac file. Checkout http://www.freewebs.com/headsup for more information. It was my very first attempt at programming so be warned! If I was going to do this kind of thing now, I would be looking at using a Squid Proxy Caching server and one of its new features, I think called "Session Helper". This allows you to redirect the first browser request based on IP address, Username etc. You may have to write a small database to keep track of the session info. I was thinking of using TclHttpd/Wub and a Metakit combo to do this myself but have not got around to it. This will only work if you make the only HTTP access to the Internet via Squid which means the browsers need to be configured to use a proxy. Kind Regards Jeff Smith --- Conrad Moolman <cmo...@gm...> 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. > > Someone told me that this can be achieved using > tclhttpd,but i do not have a > clue where to start.I know i must install tclhttpd > on a server and forward > all port 80 to this server.This is fine,i can do > this,but how will i > configure tclhttpd to manage this.If it is a new > request from a new > session,go to our website,otherwise go to the > intended url.Can tclhttpd do > this,or am i searching at the wrong place? > > So just to clarify,client opens his browser,it goes > to our website no matter > what his homepage is set to,but any new requests > gets passed on to the > intended url from the tclhttpd web server.Any help > or pointers will really > be appreciated. > > Thanks > Conrad Moolman > South Africa > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/> _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 |