Squid - let from header from pass through squid to server

This is Interesting: Free IT Magazines  
Home > Archive > Squid > June 2004 > let from header from pass through squid to server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author let from header from pass through squid to server
Sebastian Pein

2004-06-26, 2:57 pm

hi group.

i have running apache as server for a paysite. as i posted earlier in
this group, in front of apache there is squid running as accelerator
(yeah, this works).

to keep users from sharing their passwords, i want to have a script that
monitors logins with correspoding ip's and locks accounts out, if they
reach a given simoultanous login count. all these scripts utilize the
users http request/header and the apache rewrite engine to get the
information in question. now to my question.

since all requests to apache come from squid running on the same
machine, all requests come from the same source ip. thus, the
information is useless to the password protection script. can i get
squid to pass parts of the original userheader through to the apache
daemon as it would be if the request goes to apache directly?

i hope the description is clear enough, all ideas are welcome.

thanks for your help

sebastian

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com