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

    Mod_security

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 1.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.
    • D
      drift1
      last edited by

      Hello,
      my PFsense box has port 80 forward rule to "X" web server on the LAN. Everything works great.
      My aim to forward requests for extra.domain.com to new web server "Y" (I only have one public ip).
      So I installed package Mod_Security+Apache+Proxy .

      My problem is that then I go to Services > apache_mod_security - Start service I get announcement
      "apache_mod_security has been started." But icon is left as "no running".

      Do I need to remove port 80 forward from PFsense to my web server "X" and enter each website hostnames as redirections by headers in mod_security to get it up and running? I thought  that if I have port redirection and mod_security each my request will be redirected by filtering by mod_security. If a website name is not in mod_security table it will be redirected "X" web server. And only if request goes to extra.domain.com it will redirect to server "Y" Am I right?

      Thanks.

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