Profiles field problem in templates section

Profiles field problem in templates section

Postby tweety » Sat Oct 01, 2016 9:13 am


I am creating a html file to get custom template in place of default template in safesquid.cfg/.
Template section has a field like profiles.
I create a profile to block Social networking, and i use the same profile in Template.
But still am getting default template only not my Custom Template.

Version : 2016.0921.1950.3
Section : Templates
field : profiles

Could you please help me..?
fb_block_temp.PNG (19.43 KiB) Viewed 354 times
template_profile.PNG (29.45 KiB) Viewed 354 times
Posts: 22
Joined: Fri Sep 02, 2016 9:15 am

Re: Profiles field problem in templates section

Postby Kiran » Sat Oct 01, 2016 3:22 pm

Hi tweety,

As per your policy that you have created, the blocked_bypass template will consider by default when no other policies has been created in templates section.
If you want to create a own template for some specific policies, bind the profiles in templates section.

Note: The Name in templates section, should give 'blocked_bypass' and upload your templates file. make sure policy should enabled.

Try the follow as per your requirement .

Code: Select all
Enabled      :      true
Comment          :      Adding custom templates
Profiles             :      block_sn
Name      :      blocked_bypass
File         :      template.html
Mime type      :      text/html
Response code   :      403
Type         :      file
Parsable      :      true

cheers .. 8)
Posts: 4
Joined: Fri Nov 03, 2006 1:59 am

Re: Profiles field problem in templates section

Postby dinesh » Thu Nov 03, 2016 1:38 pm

Hi Tweety,

Did you make the changes suggested by Kiran? If yes please update.
Posts: 23
Joined: Tue Feb 10, 2015 5:01 pm

Return to SafeSquid for Linux

Who is online

Users browsing this forum: No registered users and 1 guest