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

How to allow nnn.somesite.com ....

I have an educational database site that I want to allow. The problem is that each article returned from a search has a unique address, such as nnn.sitename.com, where nnn is variable.

How do I enter an exception for this in the Web Security>>HTTP>>Exceptions list? Is there a way to use a wildcard in this area?


This thread was automatically locked due to age.
Parents
  • I thought you can use a * in front of the domain!

    Do a test to see it works, *.sitename.com and let us know.
  • Depends what version of Astaro that your using.  If using the V7 line up until 7.007 you can just use domain.com, the wildcard is assumed.
     
    If your using 7.008, then it gets trickier as the whitelist has been changed from just a literal string format to Perl regular expressions. 
     
    Quote from the 7.008 message at up2date.astaro.com:
     
    Regular Expressions within whitelists
    You can now also use regular expressions within HTTP proxy whitelists. Hence please make sure not to use entries like "*.example.com" within the list of target domains, because those entries are no valid regular expressions and will therefore be skipped.
     
    What I found that worked for me, to allow any host for a specific domain is ".+\.domain.com" (take out the quotes).
    __________________
    ACE v8/SCA v9.3

    ...still have a v5 install disk in a box somewhere.

    http://xkcd.com
    http://www.tedgoff.com/mb
    http://www.projectcartoon.com/cartoon/1
  • Thanks everyone!

    Yesterday we were using 7.007; today were using 7.008.  

    I'll give all your suggestions a try. 

    Again, thanks.
  • noob question, but why use the + symbol?  Why does the * symbol not work?
  • Just a limitation of this specific implementation of perl regex (preg). There isn't just one version of regular expression language. There appear to be quite a few and they all have differences in language and syntax from each other.
     
    I tried googling around for reference materials on preg and everything I found was extremely complicated and geared more towards parsing through large text files or validating credit card numbers rather than what we need which is fairly simple exact string matching.
     
    I've got a couple of active support cases right now on several issues with 7.008. I'm going to hammer at them to get a new kb article up with a tutorial on Regex for Astaro. Asking for lots of examples. HEY GERT, you could make this happen quickly!! [:)]
    __________________
    ACE v8/SCA v9.3

    ...still have a v5 install disk in a box somewhere.

    http://xkcd.com
    http://www.tedgoff.com/mb
    http://www.projectcartoon.com/cartoon/1
Reply
  • Just a limitation of this specific implementation of perl regex (preg). There isn't just one version of regular expression language. There appear to be quite a few and they all have differences in language and syntax from each other.
     
    I tried googling around for reference materials on preg and everything I found was extremely complicated and geared more towards parsing through large text files or validating credit card numbers rather than what we need which is fairly simple exact string matching.
     
    I've got a couple of active support cases right now on several issues with 7.008. I'm going to hammer at them to get a new kb article up with a tutorial on Regex for Astaro. Asking for lots of examples. HEY GERT, you could make this happen quickly!! [:)]
    __________________
    ACE v8/SCA v9.3

    ...still have a v5 install disk in a box somewhere.

    http://xkcd.com
    http://www.tedgoff.com/mb
    http://www.projectcartoon.com/cartoon/1
Children
No Data