AW: [squid-users] first-page redirector

From: <Werner.Rost@dont-contact.us>
Date: Thu, 22 Apr 2004 09:20:26 +0200

Maybe this is wht you want. I tested it last year and it worked as expected.

-------------------------------------
Hi all,

A couple of months ago, my boss asked me if it was
possible to display an Internet Access Policy when
users first launch their browsers without setting the
"Home" or "Start" page. His thought was that it should

be possible with our current Squid Servers. I searched

the mailing list and noticed the question had been
asked before but it wasn't possible without some
coding. I let him know.

The problem bugged me for ages. I do not know how to
program in C so writing the necessary code was not an
option for me. Also what about sites that do not use a

Proxy Server or a server other than Squid. To cut a
long story short I developed an application in TCL
that I want to share with the Squid community in an
effort to give something back and hopefully to help
others.

The application is called "HeadsUp" and it can display

an Internet Access Policy or Message of the Day(MOTD)
to users. Browsers need to be configured to use a PAC
file and a slight change to any existing PAC file is
all that is needed. The PAC file directs the browsers
first request to the server which is running
"HeadsUp". "HeadsUp" downloads a page which brings up
a Popup window and causes the browser to reload the
page again to load the real page. "HeadsUp" is
available from http://www.freewebs.com/headsup It is
built on Tclhttpd a webserver in written pure TCL and
packaged as a Starkit. It runs on Windows, Linux,
HP-UX, Tru64 and Solaris.

Easy to install, just copy 2 files to your system and
run. No compiling necessary. To uninstall delete the 2
files!

Enjoy!

Kind Regards

Jeff Smith

P.S. Can a link be added to
http://www.squid-cache.org/related-software.html

-------------------------------------

Mit freundlichem Gruß/Yours sincerely
Werner Rost
GM-FIR - Netzwerk
 
ZF Boge Elastmetall GmbH
Friesdorfer Str. 175, 53175 Bonn, Deutschland/Germany
Telefon/Phone +49 228 3825 - 420, Telefax/Fax +49 228 3825 - 398
werner.rost@zf.com
 
 

> -----Ursprüngliche Nachricht-----
> Von: Serban Teodorescu [mailto:serban.teodorescu@tvr.ro]
> Gesendet: Mittwoch, 21. April 2004 18:58
> An: squid-users@squid-cache.org
> Betreff: [squid-users] first-page redirector
>
>
> Hi,
>
> I'm running squid with delay pools, ldap_auth.
>
> I would like to redirect all my users to a news page when
> they open the
> browser (no matter what is their start page).
>
> Can anyone suggest a method / tool to do that?
>
> I read something about redirectors and looks pretty easy...
> but how to
> redirect ONLY the first request in a session??
>
> Thank you very much.
>
> Serban Teodorescu.
>
Received on Thu Apr 22 2004 - 01:20:59 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT