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

Regular Expression Question

I'm trying to figure out how to write an expression that will allow me to use a any Server name in a specific location in a URL.

We do not want to open the entire domain to the users.

Example:

https://Owner.Server1.Domain.com

This URL can be in occasion

https://Owner.Server2Domain.com

https://Owner.Server3.Domain.com

https://Owner.Server4.Domain.com

 

I have tried ^https?://owner+\.[A-Za-z0-9.]+\.domain\.com/ .. but it does not work. Thanks for your help.



This thread was automatically locked due to age.
Parents Reply
  • Hi, Nino, and welcome to the UTM Community!

    Different folks have different REGEX styles.  I would have said to use the one-character wildcard ".":

    ^https?://Owner\.Server.\.Domain\.com

    In any case, the others should have worked, so something else is going on and Darrell's request for logs is the only wat to make progress here.

    Cheers - Bob

Children
No Data