This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Creating an HTTP catch-all?

Hello,

I'm in the process of converting a linux/apache box that was used as a reverse proxy to UTM 9 WAF, and I've bumped into an issue.

The current box has a virtualhost definition (which is defined as first virtual host) which Apache uses when it can't find a virtualhost definition on hostname. My client is using that feature to display a generic "site parked" page. I can't figure out a way to implement this, it this possible?



This thread was automatically locked due to age.
Parents
  • Hello,

    no, not really. What you can do, is create a fallback host (a virtual host with domain *.something)  in combination with a real webserver that hosts the "site parked" page.


    Sabine

  • Was afraid of that. A fallback doesn't work, because you need to know the domain in advance.

    My client's clients have control over their own DNS, so they can decide themselfs to create a domain "newoffersthissunday.com" and point it to their public IP serviced by the UTM.

    This also now gives a very simple 403 (no access), while it should give a 404 (not found), which would have been better. Even better if the page could be customized.

    It would be an option if the UTM would support the domain "*", which Apache itself does, but the UTM doesn't accept it.

Reply
  • Was afraid of that. A fallback doesn't work, because you need to know the domain in advance.

    My client's clients have control over their own DNS, so they can decide themselfs to create a domain "newoffersthissunday.com" and point it to their public IP serviced by the UTM.

    This also now gives a very simple 403 (no access), while it should give a 404 (not found), which would have been better. Even better if the page could be customized.

    It would be an option if the UTM would support the domain "*", which Apache itself does, but the UTM doesn't accept it.

Children