laythingy59
|
|
« on: Saturday 14 March 2009, 02:33:28 am » |
|
when a page is denied, you get a plain webpage which basically says you dont have access.....
does anyone know how to change this page...... it was pretty simple in IPCOP, but i cant find it on endian
|
|
|
Logged
|
|
|
|
mrkroket
|
|
« Reply #1 on: Friday 20 March 2009, 02:29:37 am » |
|
squid error pages? Check /usr/share/squid/errors/English/
|
|
|
Logged
|
|
|
|
laythingy59
|
|
« Reply #2 on: Thursday 26 March 2009, 02:25:15 am » |
|
coolio.
thanks
|
|
|
Logged
|
|
|
|
buee
Jr. Member
Offline
Posts: 2
|
|
« Reply #3 on: Wednesday 01 April 2009, 03:20:06 pm » |
|
I don't even get that, just a browser timeout. Is there a way to turn this feature on/off?
|
|
|
Logged
|
|
|
|
smoke_007
Jr. Member
Offline
Posts: 5
|
|
« Reply #4 on: Wednesday 29 April 2009, 05:02:37 am » |
|
Actually, the file you want to edit is named template.html and it's located at usr\share\dansguadian\languages\ukenglish
Marc
|
|
|
Logged
|
|
|
|
entourage
|
|
« Reply #5 on: Saturday 11 July 2009, 05:00:00 am » |
|
Is there a way to add the category the offending site was apart of?
It would be nice to see "Banned Site: shoutcast.com; Category: WebRadio"
|
|
|
Logged
|
|
|
|
npeterson
|
|
« Reply #6 on: Wednesday 15 July 2009, 01:10:20 am » |
|
|
|
|
Logged
|
|
|
|
entourage
|
|
« Reply #7 on: Wednesday 15 July 2009, 11:56:35 pm » |
|
Thanks for that link. I'll have to modify my lists, putting #listcategory: "category" at the top of each, but it works! Thanks!
|
|
|
Logged
|
|
|
|
zabidin2
Jr. Member
Offline
Posts: 8
|
|
« Reply #8 on: Monday 20 July 2009, 11:16:51 am » |
|
@entourage
Can you show me step how to change that? I kind blurr right now.
|
|
|
Logged
|
|
|
|
entourage
|
|
« Reply #9 on: Wednesday 22 July 2009, 12:41:51 am » |
|
Here's the relevant portion of my template.html: <BODY> <!-- Url: -URL- Reason: -REASONGIVEN- Reasonlogged: -REASONLOGGED- User: -USER- IP: -IP- Filtergroup: -FILTERGROUP- Category: -CATEGORIES- Byp: -BYP- -->
<br> <br> <CENTER>
<table cellpadding="20" bgcolor="#efefef"> <tr> <td align="center"> <H1>Access has been denied!</H1>
Access to the page: <P> <strong><a href="-URL-">-URL-</a></strong> <P> ... has been denied for the following reason: <P> <strong><font color="#000000">-CATEGORIES-</font></strong>
<br> <br> You are seeing this error because what you attempted to access appears to contain,<br> or is labeled as containing, material that has been deemed inappropriate.<br> <p> If you have any questions contact someone in IT. </p> </td> </tr> </table>
Then in order for the -CATEGORIES- to work, you have to manually edit your /etc/dansguardian/blacklists/(category)/domains list and add to the very top: #listcategory: "Streaming TV" (or whatever you want it to say) You'll have to do that to each category domain list you have blocked. Otherwise it will say N/A. Hope that helps!
|
|
|
Logged
|
|
|
|
zabidin2
Jr. Member
Offline
Posts: 8
|
|
« Reply #10 on: Wednesday 22 July 2009, 11:42:51 am » |
|
I add #listcategory in /etc/dansguardian/blacklists/domains and i test it's show N/A. By the way, what is different between dansguardian.conf dansguardian1.conf? Can i disable content filter in dansguardian1.conf and customize my own?
|
|
|
Logged
|
|
|
|
entourage
|
|
« Reply #11 on: Thursday 23 July 2009, 12:37:40 am » |
|
I can't speak for the dansguardian.conf vs dansguardian1.conf because I don't know when they both do, but for the categories to work you will need to modify the domains file one level further. Instead of /etc/dansguardian/blacklists/domains modify /etc/dansguardian/blacklists/news/domains with Then make sure you're set to block the 'news' category
|
|
|
Logged
|
|
|
|
entourage
|
|
« Reply #12 on: Tuesday 18 August 2009, 04:36:02 am » |
|
So in conjunction with this, is there anyone brilliant enough to write a script to automatically update the lists with the appropriate #listcategory: ??
Surely there's a way, but my programming skills are primitive at best...
|
|
|
Logged
|
|
|
|
davvidde
|
|
« Reply #13 on: Sunday 20 June 2010, 08:42:03 am » |
|
This is not seem to work in EFW 2.4 (I haven't tested it on older version). I can't speak for the dansguardian.conf vs dansguardian1.conf because I don't know when they both do, but for the categories to work you will need to modify the domains file one level further. Instead of /etc/dansguardian/blacklists/domains modify /etc/dansguardian/blacklists/news/domains with Then make sure you're set to block the 'news' category
|
|
|
Logged
|
|
|
|
mrkroket
|
|
« Reply #14 on: Wednesday 07 July 2010, 07:58:38 am » |
|
So in conjunction with this, is there anyone brilliant enough to write a script to automatically update the lists with the appropriate #listcategory: ??
Surely there's a way, but my programming skills are primitive at best...
I was just thinking the very same. I'm not going to manually update all those files!!!
|
|
|
Logged
|
|
|
|
deryk
Jr. Member
Offline
Posts: 1
|
|
« Reply #15 on: Thursday 14 October 2010, 09:56:20 pm » |
|
No problems here on 2.4. Thanks for the info on which file to edit. All I needed to do was add -CATEGORIES- to /usr/share/dansguardian/languages/ukenglish/template.html. No other files needed to be edited (good - adding all those listcategory entries sounded like a pain!)
You do have to restart the proxy though, for the changes to take effect.
|
|
|
Logged
|
|
|
|
nishith
Jr. Member
Offline
Posts: 9
|
|
« Reply #16 on: Friday 19 October 2012, 10:34:53 pm » |
|
Hello,
Please let me know the changes needed in "dansguardian.conf" file. I have made "#listcategory: <category name>", but don't show in ERROR PAGE. I am using "endian community 2.5" version.
Nishith
|
|
|
Logged
|
|
|
|
|