So, xxx.dev.premonitionx.com will go be routed to
<Engine defaultHost="dev.premonitionx.com"
I will give that a try tonight then. If it doesn't, I guess I would have to
write a patch. I need this feature tooooo badly to be able to do
<companyname>.premonitionx.com for any companies that register.
thanks!!!
Dean
On Thu, Apr 1, 2010 at 7:52 AM, Pid <pid@pidster.com> wrote:
> On 01/04/2010 06:53, Dean Hiller wrote:
>
>> I added this(I want it to use my requirements.war file for any requests to
>> xxxx.dev.premonitionx.com where xxxx is infinite combinations all of
>> which
>> point to one single ip of course. I have another Host for
>> xxxx.demo.premonitionx.com as well with infinite combinations again.
>>
>> This does not seem to be working though...
>>
>> <Host name="dev.premonitionx.com" appBase="zrequirements"
>> unpackWARs="true" autoDeploy="true"
>> xmlValidation="false" xmlNamespaceAware="false">
>> <Valve className="org.apache.catalina.valves.RemoteHostValve"
>> allow=".*\.dev\.premonitionx\.com"/>
>> </Host>
>>
>> Do I have this wrong? How do I get this to work? Does the name need to
>> match the allow or something?
>>
>
> Remove the valve and set:
>
> <Engine defaultHost="dev.premonitionx.com"
>
> All requests to unknown hosts will be directed to that Host.
>
>
> p
>
|