Page 1 of 1

NS 2.0.9.8 blocks local resources from virtual host

Posted: Wed Feb 16, 2011 4:50 pm
by designbytes
Just upgraded to NS 2.0.9.8 from NS 2.0.9.7 on Firefox 3.6.13 when the problem presented itself. All local resources are being blocked (css, js, images). Reverting to NS 2.0.9.7 resolves the issue.

Code: Select all

[ABE] <LOCAL> Deny on {GET http://redesign/css/reset.css <<< http://redesign/, http://redesign/ - 4}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny
Seems to be related to forum post http://forums.informaction.com/viewtopic.php?f=7&t=5817

Thanks!

Re: NS 2.0.9.8 blocks local resources from virtual host

Posted: Wed Feb 16, 2011 4:58 pm
by Giorgio Maone
What IP(s) does the "redesign" resolve to?

Re: NS 2.0.9.8 blocks local resources from virtual host

Posted: Sun Mar 06, 2011 9:32 pm
by Not So Local
I'm experiencing this problem too, starting with NoScript 2.0.9.8. Requests to local are blocked. My environment:

* Firefox 3.6.15
* NoScript 2.0.9.8
* Mac OS X 10.5, up to date w/patches

Hosts file {extract}:
127.0.0.1 local
127.0.0.1 localhost
Typical message in Firefox's error console:
[ABE] <LOCAL> Deny on {GET http://local/links.html <<< http://local/, http://local/ - 7}
SYSTEM rule:
Site LOCAL
Accept from LOCAL about:blank
Deny
I use local as a shorthand for localhost. Both resolve to 127.0.0.1. Requests to localhost succeed, while any request to local fails.

Using localhost instead of local would mean rewriting quite a few CGI scripts I use day to day.

Re: NS 2.0.9.8 blocks local resources from virtual host

Posted: Tue Mar 22, 2011 7:22 pm
by Not So Local
Workaround: add my virtual-host-name to the ABE local system rule:

Code: Select all

Site LOCAL
Accept from LOCAL my-virtual-host-name about:blank
Deny
Seems to do the trick.