Dansguardian via webmin eol crlf blues?

home | blog | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts


- Careful Chrome users, this search box might be "Not secure"


If your Dansguardian webmin module in version dgwebmin-0.7.0alpha1.wbm won't save files without the wrong EOL cr/lf chars, try this in the:

/usr/share/webmin-1.450/dansguardian/savefile.cgi

Just before the:

print OUTFILE $in{"filecontents"};

Add this:

$in{"filecontents"} =~ s/\r//g;
print OUTFILE $in{"filecontents"};

So the extra return gets stripped off. Stole that from the save cgi script in the Samba Webmin module.



Other stuff for Dans:
Slow going sometimes (around 200 listeners running)?
Try upping the number of children and other child proc stuff in dansguardian.conf




[æ]