Hi,

I've created a new proxy instance with all default settings. I'm trying to use 
virtual multihosting with an ACL to restrict access to this virtual multihost. 
I'm having troubles and am not able to block it. I though I could use a 
template to impose this, but perhaps I'm wrong. Here's how I've done it:

I've created a single template called "testing-access", containing:

http://testing\.mydomain\.com/.*



I've then added a single Virtual Multihost entry as follows:

Source Hostname (alias): testing
Source Domain Name: mydomain.com
Destination URL Prefix: http://testing2.mydomain.com
Use This Template: testing-access

At this stage, the virtual multihost works. I can access testing2.mydomain.com 
via testing.mydomain.com.

Now I go to implement the ACL to, for testing, Deny access to all to this 
virtual multihost. Eventually I'll add specific IP addresses.

I go into Administer Access Control, select the "The template 'testing-access'" 
resource. I then click on Edit and add the ACL as follows:

Action: Deny
Users/Groups: anyone
>From Host: anyplace
Rights: all
Extra: N/A
Continue: enabled

I restart the server instance then attempt to access the virtual multihost, 
which I can. I cannot understand why this is being blocked.

I've tried changing Continue to be disabled but that hasn't helped either. It 
seems as though the ACL for http://.* (which incidentally by default has no 
ACL) is taking precedence. I've also tried adding to the template without 
success: http://testing2\.mydomain\.com/.*

Any ideas?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to