Proxy Authentication icon disappeared
Another title to attract google, had a few issues searching for a resolve to this.
System
CentOS 5.5
rpm -qa squid
squid-2.6.STABLE21-6.el5
rpm -qa webmin
webmin-1.540-1
When a password file has a comment on it's first line it fails to parse, $auth is not set in index.cgi .
line 93
else {
local $file = &get_auth_file($conf);
if ($file) {
open(AUTH, $file);
local $line = <AUTH>;
close(AUTH);
if (!$line || $line =~ /^(\S+):(\S+)/) { // it only checks for empty or password files containing valid username:password values
$auth = 2;
}
}
}
The above clause should also check and ignore commented lines. I had a disabled user on the first line of my password file, it failed to read it in.
squid.conf details
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
Thanks - I will fix this in Webmin 1.550.