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

    Squid+Modsecurity = 403 Forbidden.

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 5 Posters 6.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.
    • S Offline
      shan
      last edited by

      Hey There,

      I recently installed the squid+modsecurity package and now when i try to access the web console i get a page that just reads:
      Forbidden

      You don't have permission to access / on this server.

      Anyone know how to fix this?  I saw something to run killall -HUP squid and try again, that didn't work..any help would be greatly appreciated.

      thanks,
      shan

      1 Reply Last reply Reply Quote 0
      • J Offline
        jsievert
        last edited by

        I just found this post AFTER I did the same thing.  Every time I try to open the web interface I get a 403.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jsievert
          last edited by

          I was in and IRC chat and someone was saying that apace was fighting with the pfsense webgui.  Get into a terminal and type in "killall -9 httpd" to kill apache then you should be able to get into the webgui.  Remove the package and all is well.

          1 Reply Last reply Reply Quote 0
          • S Offline
            shan
            last edited by

            that worked perfectly.  thanks.  i thought about jumpin in irc but been slammed busy..

            thanks again for helpin!

            shan

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jody
              last edited by

              i too found this topic AFTER installing mod security. Thanx for supplying the cure to this issue….

              1 Reply Last reply Reply Quote 0
              • _ Offline
                _igor_
                last edited by

                Looks like it could help to set the pfsense-Gui to https, then it should work.
                pfSense-Gui https=443
                Apache http=80

                1 Reply Last reply Reply Quote 0
                • E Offline
                  emong
                  last edited by

                  I just had same problem where i can type killall -9 httpd ? in the pc router (installed by pfsense) or from other pc i can do that ?

                  thank you

                  1 Reply Last reply Reply Quote 0
                  • _ Offline
                    _igor_
                    last edited by

                    You have to do this on the console of the router. Login via ssh or via Diagnostics -> Command Prompt.

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      emong
                      last edited by

                      thanks igor  :)

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.