tis 2006-02-14 klockan 18:36 -0600 skrev Fernando Rodriguez: > Hello, > > Is there a way to match a regexp after redirect returns?? The rproxy patch available from devel.squid-cache.org adds among a lot of other things a http_access2 statement executing after redirectors and can be used for this. > > Im using Squid Squidguard, I have done some tests regarding userlists and ip > lists > Since both of the matches are done via the same network it usually works but > since the firs ACL to match is regarding ip if your ip is on the list you > will have no problems, but if is not then you will be redirected to > http://jdkalsjd.jjj <http://jdkalsjd.jjj/> that obiously dosnt exist but I > wan to catch that url to ask the user for its login and password using PAM > so the next time is redirected it will also have a username and password to > see if this matches a user from squidguard and then contunie with the > process. You could send a browser redirect instead of just rewriting the URL.. this way the browser will request the new URL. Regards Henrik
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel