Agent for Apache w/Virtual Hosts question

I have an apache installation with two vritual hosts defined. The AMAgent for apache is installed and working fine. But ... I only want the agent to manage one of the virtual hosts. The virtual hosts are IP based because they both run over SSL. How do I tell the agent to *not* manage the second virtual?

Mark

[322 byte] By [MarkDrummonda] at [2007-11-27 5:56:49]
# 1
You can place the virtual host url(s) in the not enforced list, for which you don't want the agent.-Subba
Subba_Evania at 2007-7-12 16:28:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

I've tried that, and no luck. We actually set com.sun.am.policy.agents.config.notenforced_list.invert to 'true', inverting the meaning of the not enforced list, and there is just one specific sub-URL (https://site1.foo.com/suburl/*) in the list. So everything else should already be 'not enforced'. And testing against other url's under site.foo.com shows that to be true.

The behaviour I am seeing is actually odd ... When I try to go to https://site2.foo.com/, I get redirected to https://site1.foo.com/. You would think that, if the Agent is the problem, then it would redirect me to the login url defined in AMAgent.properties. But it doesn't ... it just sends me to https://site1.foo.com/.

But I know the plugin is the issue because, if I comment out the reference to dsame.conf in httpd.conf, everything works as expected.

Mark

MarkDrummonda at 2007-7-12 16:28:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
I think it is because of fqdn default value. See if defining fqdn map in AMAgent.properties will help.-Subba
Subba_Evania at 2007-7-12 16:28:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
That was the problem, thanks! I set up an fqdnmap like this:com.sun.am.policy.agents.config.fqdn.map = valid1|site1.foo.com,valid2|site2.foo.comAnd everything seems to functioning the way I want it to.Mark
MarkDrummonda at 2007-7-12 16:28:08 > top of Java-index,Web & Directory Servers,Directory Servers...