Squid does not have an include feature which allows you to include
squid.conf directives.
However, you could very easily make a include frontend to Squid if you
like, dynamically generate squid.conf from a template when you start
Squid.
Another option is to use an external acl instead of the builtin squid
acls for per user access, but this is probably a bit more work. See
user_ip for a silly example of such external acl (binds each user to his
ip address only)
Related note: Squid 3 will have builtin support for squid.conf
preprocessing via the -f option.
Regards
Henrik
tis 2003-01-28 klockan 14.23 skrev Guilherme G. Felix:
> Thank you Henrik, but it`s not like that. I already know this feature,
> but take a look into my case.
>
> I`ve moreless 40 users, and each one have a individual profile for what
> the they can access and so on. So, what I did?
>
> I made a ACL for each user, so I`ve got something like this *for each
> one*:
>
> acl user proxy_auth user
> acl user_file dstdomain "/path/to/file/with/domains_allowed"
> acl user_file_ip dst "/path/to/file/with/ips_allowed"
> http_access allow user user_file user_file_ip
>
> If you have some better ideia tell me, or I`ll devel a different
> "Include" tag for my requeriments. =)
>
> Regards,
>
>
> ________________________________________________________________
> Guilherme G. Felix - Sys Admin - Internet by Sercomtel
> Phone: 43 3375-1547 , Fax: 43 3375-1512
> e-mail: gfelix@sercomtel.com.br
> visit: http://www.sercomtel.com.br
>
> On 28 Jan 2003, Henrik Nordstrom wrote:
>
> > tis 2003-01-28 klockan 11.02 skrev Guilherme G. Felix:
> > > Does squid support a Include tag? I would like to use a third-part acl
> > > file.
> >
> > Each acl line can include the members of that acl, such as
> >
> > acl our_networks src "/path/to/file/listing/local/networks"
> >
> > --
> > Henrik Nordstrom <hno@squid-cache.org>
> > MARA Systems AB, Sweden
> >
-- Henrik Nordstrom <hno@squid-cache.org> MARA Systems AB, SwedenReceived on Tue Jan 28 2003 - 09:22:16 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:54 MST