Changes

From SME Server
Jump to navigationJump to search
m
added exceptionmimetypelist and a real world example
Line 73: Line 73:  
=====exceptioniplist=====
 
=====exceptioniplist=====
 
This contains a list of client IPs who you want to bypass the filtering. For example, the network administrator's computer's IP.  
 
This contains a list of client IPs who you want to bypass the filtering. For example, the network administrator's computer's IP.  
 +
 +
=====exceptionmimetypelist=====
 +
MIME stands for Multi-purpose Internet Mail Extensions. MIME types form a standard way of classifying file types on the Internet. Internet programs such as Web servers and browsers all have a list of MIME types, so that they can transfer files of the same type in the same way, no matter what operating system they are working in.
 +
If a site does not display properly with Dansguardian it is possible that the mime type is not being allowed.
 +
Look at the log file /var/log/dansguardian/access.log and view the message regarding the web site you are viewing. If it is a mime type that is being blocked you will see something like the following near the end of the line refering to the web site that is not resolving properly.
 +
*DENIED* Banned extension: .com GET 0 0 Banned extension 1 403 application/json  -
 +
In this case the mime type is application/json. If you feel you want to allow this mime type you may add the following '''application/json  ''' on a single line into the #/etc/dansguardian/lists/exceptionmimetypelist. This should be done carfully as now you are allowing this mime type. However it is not uncommon to add mime types.
    
=====exceptionuserlist=====
 
=====exceptionuserlist=====
50

edits

Navigation menu