Changes

From SME Server
Jump to navigationJump to search
→‎exceptionmimetypelist: added the restart command to bottom in case people forget.
Line 79: Line 79:  
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.
 
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  -
 
  *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.  
+
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.
 +
Of course after any changes run the command ...
 +
/etc/init.d/dansguardian restart
    
=====exceptionuserlist=====
 
=====exceptionuserlist=====
50

edits

Navigation menu