[RESOLVED] "Accept from" rule not matching
Posted: Tue Apr 24, 2012 3:13 pm
With NS 2.3.8, I'm stumped getting "Accept from" to match to allow access to a local server from a remote site, and would be grateful for pointers to where I'm going wrong; it should be trivial which is what's frustrating.
Before the catch all for local, I added a rule similar to:
Site xxx.yyy
Accept ALL from zzz.com
Deny
xxx.yyy is a local server with an entry in the hosts file. zzz.com is a trusted remote site. The site pattern for xxx.yyy matches as expected when zzz.com redirects to it because ABE shows that it's the LOCAL rule that matches if I change the xxx.yyy to something else, and access is allowed if I just have "Accept ALL". However qualify with "from zzz.com", and even though that's the domain with the local link, the rule isn't allowed and the Deny matches. I've tried adding http, using the full path to the target and source URI, wildcards and so on, but no joy. So I'm just doing an "Accept ALL" for now, but would be good not to have to do that.
Before the catch all for local, I added a rule similar to:
Site xxx.yyy
Accept ALL from zzz.com
Deny
xxx.yyy is a local server with an entry in the hosts file. zzz.com is a trusted remote site. The site pattern for xxx.yyy matches as expected when zzz.com redirects to it because ABE shows that it's the LOCAL rule that matches if I change the xxx.yyy to something else, and access is allowed if I just have "Accept ALL". However qualify with "from zzz.com", and even though that's the domain with the local link, the rule isn't allowed and the Deny matches. I've tried adding http, using the full path to the target and source URI, wildcards and so on, but no joy. So I'm just doing an "Accept ALL" for now, but would be good not to have to do that.