• Home
  • Archive
  • Disclosure
    • Disclaimer
    • Comment Policy
    • Privacy Policy
  • Just Three
  • Contact
    • Who Am I ?
    • What does Ethereal Mind mean ?

EtherealMind

Software Defined & Intent Based Networking

You are here: Home / Blog / Operation / Blue Coat / Loading Policy configuration in the Local file

Loading Policy configuration in the Local file

10th February 2008 By Greg Ferro Filed Under: Blue Coat

You have been reading the Blue Coat forums and someone has given you a piece of config that you need to use. This post shows you how to load the config snippet

Step 1 – Go to Configuration, Policy, Policy Files and select the drop down box ‘Install local file from’ as per the screenshot below”

bct-policy-local-file1.png

This will open a simple window that allows for very simple text. You need to be careful about your syntax here, because this text is the actual Blue Coat CPL* programming language. now insert the text as shown

bct-policy-local-file2.png

and when you click on install, the CPL will parsed by the compiler. If it passes the compiler it will report a success message.

bct-policy-local-file3.png

You can now test to confirm that this working as you expected.

*(Content Policy Language)

About Greg Ferro

Human Infrastructure for Data Networks. 25 year survivor of Corporate IT in many verticals, tens of employers working on a wide range of networking solutions and products.

Host of the Packet Pushers Podcast on data networking at http://packetpushers.net- now the largest networking podcast on the Internet.

My personal blog at http://gregferro.com

Comments

  1. Bill says

    26th May 2008 at 04:09 +0000

    It’s Visual Policy Manager, not Virtual 🙂 You’re visually editing the policy with a GUI instead of manually using the text-based content policy language like you are in this example.

    As for the X-Bluecoat-Via header… perhaps you could explain what it actually does and then let someone decide for themselves if they really want to remove it. Basically there are several situations where a request loop occurs, where Proxy A forwards a request to Proxy B who forwards it to Proxy C who forwards it back to Proxy A… the proprietary header was added to prevent such a looping scenario with a little more power than the standard Via header.

    That said, if you still want to stop this for some reason, while what you have is one way to do it, the more correct (and more efficient) way to do it is in the CLI interface.

    Blue Coat SG200 Series# conf t
    Blue Coat SG200 Series#(config)http no proprietary-headers bluecoat

    -B

    • Greg Ferro says

      26th May 2008 at 12:17 +0000

      Yes, I mention this in a more detailed post at http://etherealmind.com/2008/02/27/delete-the-http-header-bluecoat-x-via-on-your-proxy/.

      Thanls for the tip on the new HTTP command. Can you confirm which version this was introduced ?

  2. Sam says

    5th November 2008 at 02:44 +0000

    Seems command ‘http no proprietary-headers bluecoat’ has no effect.

    • Greg Ferro says

      5th November 2008 at 15:30 +0000

      What version of code are you running ?

Network Break Podcast

Network Break is round table podcast on news, views and industry events. Join Ethan, Drew and myself as we talk about what happened this week in networking. In the time it takes to have a coffee.

Packet Pushers Weekly

A podcast on Data Networking where we talk nerdy about technology, recent events, conduct interviews and more. We look at technology, the industry and our daily work lives every week.

Our motto: Too Much Networking Would Never Be Enough!

Find Me on Social Media

  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Return to top of page

Copyright Greg Ferro 2008-2019 - Thanks for reading my site, it's been good to have you here.

Opinions, Views and Ideas expressed here are my own and do not represent any employer, vendor or sponsor.Full disclosure