redirect script

Protecting your Linux box
venky145
Havaldaar
Posts: 118
Joined: Thu Jan 13, 2005 2:35 pm
Location: qatar
Contact:

redirect script

Postby venky145 » Mon Sep 06, 2010 7:09 pm

hi


hai every one. i want small help.

i am using linux server for internet ( NAT + squid ) + postgres for database mainten.

I have web authentication for all users with username and password.

authentication is like http://192.168.1.1

is there any possible to redirect like if they client browse any website its redirects to login page if they doesn't logged in.

mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Postby mudasir » Fri Sep 17, 2010 2:10 pm

Dear,

You should a squid redirector or squid rewrite program. Google for squid rewrite script or squid redirector. You will get many. And if you want you can write your own custom redirector, i did this about 2 years back, you can use BASH or any other scripting language that suits you.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com


Return to “Security”

Who is online

Users browsing this forum: No registered users and 4 guests