Author Topic: wildcards in cache authentication exemption [SOLVED]  (Read 1161 times)

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
wildcards in cache authentication exemption [SOLVED]
« on: September 10, 2014, 04:09:41 pm »
I'm wondering if there is a way with the GUI (I'm running 3.2) to add wildcards the the "Auth and Cache Exemptions" for explicit proxy, to handle all subdomains without entering them all.

I know this boils down to the squid3 ACL's which should support wildcards, but for example I can't add:

.google.com as the GUI refuses to add the exception.

If the GUI doesn't support a wildcard, does someone know where I can poke around in the validation code for the HTTP Proxy general tab, or is just editing the script that generates the squid3.conf easier?

I'd love some feedback on this!
« Last Edit: September 11, 2014, 07:38:22 am by astana »

astana

  • Zen Warrior
  • ***
  • Posts: 128
  • Karma: +10/-0
    • View Profile
Re: wildcards in cache authentication exemption
« Reply #1 on: September 11, 2014, 07:38:12 am »
Just to reply to myself and to others looking to solve the same problem the solution was simple enough (at least for my case).
I just edited the squid3.mas.conf file where the auth and cache exemptions are added and added a '.' before all of them (this seems to be done for the blocking sites automatically.