<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Hello,</span><br>
</p>
<div style="color: rgb(0, 0, 0);">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I'm trying to manage squid users to access the proxy if they logged in and the site url is allowed in my url list. They are running one by one. If logged in accesses but not check the url and vice versa. But I want both of them. Here is my config part.</p>
<p><br>
</p>
<p><span id="ms-rterangepaste-start"></span></p>
<div>auth_param basic program /usr/bin/php /var/www/html/sqauth.php</div>
<div>auth_param basic children 20</div>
<div>auth_param basic realm Username and password</div>
<div>auth_param basic credentialsttl 5 hours</div>
<div><br>
</div>
<div>acl AuthenticatedUsers proxy_auth REQUIRED</div>
<div><br>
</div>
<div>acl allowed_sites dstdomain "/etc/squid/allowedsites.txt"</div>
<div>acl all_others dst 0.0.0.0/0.0.0.0</div>
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div><br>
</div>
<div>http_access allow allowed_sites</div>
<div>http_access deny all_others</div>
<div>http_access allow AuthenticatedUsers</div>
<div><br>
</div>
<br>
Thank you,<br>
Serhat<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>