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

    [patched] Apache + mod_security + proxy

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 1 Posters 3.3k 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.
    • M
      MarcoP
      last edited by

      After installed this package I've noticed the log view was broken.
      Patched file attached.
      rename .txt to .php and move to /usr/local/www/

      I've fixed few issues and the script is now able to:

      • switch between error logs

      • clear the selected log

      Some screen fixes:

      • removed half open form

      • improved view for small size monitors by removing the text "Apache+mod_security_proxy", leaving "Server logs as …."

      However after few tries I'm not able to forward any request to the back-end server. Traffic pass from WAN, but it never leave from the internal interface.

      Any help?

      Edit: topic title fixed
      apache_mod_security_view_logs.txt

      1 Reply Last reply Reply Quote 0
      • M
        MarcoP
        last edited by

        Incoming HTTP buffering no worky

        [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
        

        Is on FreeBSD accf_http?

        # kldload accf_http
        # kldload: can't load accf_http: No such file or directory
        

        Would this be the cause why mod_security_proxy isn't working?

        1 Reply Last reply Reply Quote 0
        • M
          MarcoP
          last edited by

          Had to manual configure ProxyPass and ProxyPassReverse inside httpd.conf to get it working.

          Site Proxy | Site Name *Enter a short descriptive name for the site. (e.g. intranet)
          its misleading since what you enter there will go into httpd.conf, be aware its not just a description.
          It will end up in the ProxyPassReverse!

          Will see for any other issues, maybe fix them if time permit … cheers.

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