Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: Nicarlo on January 11, 2008, 03:30:41 pm

Title: Customizing the Proxy dansguard page
Post by: Nicarlo on January 11, 2008, 03:30:41 pm
Could someone point me to the right direction to which files i would need to configure in order to change the dansguardian banned/blocked page ?
Title: Re: Customizing the Proxy dansguard page
Post by: sixstone on January 11, 2008, 03:36:31 pm
There are several HTML templates under /etc/dansguardian/languages/ directory where you may modify the one which corresponds to your language if installed. eBox does not handle them.

Best regards,
Title: Re: Customizing the Proxy dansguard page
Post by: Nicarlo on January 11, 2008, 09:40:46 pm
awesome this is exactly what ive been looking for

Thank you very much !
Title: Re: Customizing the Proxy dansguard page
Post by: mds on January 16, 2008, 07:33:05 pm
There are several HTML templates under /etc/dansguardian/languages/ directory where you may modify the one which corresponds to your language if installed. eBox does not handle them.

Best regards,


Sorry this HIjack, but I have a question concerned this. I have changed in dansguardian.conf the language from ukenglish to portuguese, and restarted the proxy via web, and wen visited a denied site I get ann proxy error and 1 or 2 minutes later it was again on english. It has reconfigured dansguardian.conf again for english. I have inside the folder languages the folder portuguese with 2 files.

I would apreciate any coment.

Thank's
Manuel.
Title: Re: Customizing the Proxy dansguard page
Post by: sixstone on January 17, 2008, 08:53:21 am
You just hit a bug in eBox :). I meant the language set in dansguardian page is set by eBox programatically and currently it is not done correctly. If you want to set manually the language for dansguardian, you can do it at /usr/share/ebox/stubs/squid/dansguardian.conf.mas by changing line 12:
Code: [Select]
language = <% lang %>to
Code: [Select]
language = portuguese.

Best regards and thanks for your feedback.
Title: Re: Customizing the Proxy dansguard page
Post by: mds on January 18, 2008, 10:43:55 am
Thank's it is allready in portuguese(Brasilian portuguese).

I think that it should have pt_pt (portuguese) and pt_br (brasilian portuguese).

ThankĀ“s