• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Squid GUI "Custom options" Line feed problem …

Scheduled Pinned Locked Moved pfSense Packages
6 Posts 2 Posters 3.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    cylent
    last edited by Dec 26, 2009, 12:56 PM

    If you add any options via the web gui to the custom options in squid the result in the squid.conf file is without line feeds.

    for example

    if i put:

    refresh_pattern -i exe$ 0 100% 999999
    refresh_pattern -i zip$ 0 100% 999999

    and i look at squid.conf it shows up like this:
    refresh_pattern -i exe$ 0 100% 999999refresh_pattern -i zip$ 0 100% 999999

    this is a problem? i am using firefox if that matters…

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Dec 26, 2009, 6:14 PM

      Did you read the note under that box?

      You can put your own custom options here, separated by semi-colons ( ; ). They'll be added to the configuration. They need to be squid.conf native options, otherwise squid will NOT work.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • C
        cylent
        last edited by Dec 27, 2009, 5:50 AM

        so even with the ; they will still be one line. squid knows to separate the two lines?

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Dec 27, 2009, 5:51 AM

          The ; is a trick to make it work. The parser in the squid package splits it on ; and makes it separate lines in the actual config.

          Just follow what it says, and it will work.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • C
            cylent
            last edited by Dec 27, 2009, 5:54 AM

            thanks that did work!

            on a side note; please tell me why there are lines for "delay_pools" when i have explicitly set all delays to off or rather left them at 0…
            all four boxes in the traffic management page are set to 0
            ever box below is unchecked

            so why are there delay_pool options in the file?

            ((i didnt want to start a new thread about this))

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Dec 27, 2009, 5:55 AM

              I would start a new thread for that. I really don't know the answer and nobody would find that question in this thread. Your best chance at getting an answer would be a new topic with a more relevant subject line.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received