Hi Nitai,

I have an Apache with Tomcat/OpenBD installed Single Instance and in the
Apache I have the VirtualHost with the ServerAlias *.domain.com
by using proxy forward to www.domain.com wich works as such over the
Apache... how can I pick up the *12345*.domain.com in openBD to lookup my
record in the DB ?

/Mats/

On Fri, Jan 22, 2010 at 12:49 PM, Nitai @ Razuna <[email protected]> wrote:

> Yeah you can't have a wildcard record in Tomcat. Another reason for
> Apache (or better yet Nginx :-) )
>
> Anyhow, to solve it you need to have a host container (as you have)
> with a fixed domain, say "tomcat.mydomain.com". Then in Apache you
> have the wildcard domain and forward all requests to that
> *.mydomain.com to tomcat.mydomain.com, like;
>
> proxy / ajp://tomcat.mydomain.com:8009
>
> If you want to keep the localhost domain for tomcat you can also
> simply set the defaulthost in Tomcat. Then in apache you would still
> use the;
>
> proxy / ajp://localhost:8009
>
> string.
>
> Kind Regards,
> Nitai
>
> On Fri, Jan 22, 2010 at 12:41 PM, Mats <[email protected]> wrote:
> > I'm back again with a question, that might not be OpenBD specific but
> > rather Tomcat configuration issue..
> > My old fusebox app make use of the Apache configuration *.domain.com
> > A user will have his specific CF page under 1234.domain.com and
> > another on 12345.domain.com
> > This I nee to pick up dynamically in openBD but I can't seem to get
> > Tomcat to accept this.
> > All examples I've seen for the <Host  > section is using the
> > <Alias>mydomain1.com</Alias>
> > <Alias>mydomain2.com</Alias>
> > Is it at all possible to use <Alias>*.domain.com</Alias> ?  since I
> > don't have control on how many users are available in the application
> > and that number changes over the time. And ofcourse I'm using this
> > subdomain number to look up the users record in the DB...
> >
> > Anyone haveing an idea how to solve this?
> >
> > --
> > Open BlueDragon Public Mailing List
> >  http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
> >  mailing list - http://groups.google.com/group/openbd?hl=en
> >
> >  !! save a network - please trim replies before posting !!
> >
>
>
>
> --
> See for yourself how easy it is to manage files today. Join the revolution!
>
> Razuna SaaS On-Demand - Hosted Digital Asset Management Solution
> http://www.razuna.com/
>
> Razuna - Open Source Digital Asset Management
> http://www.razuna.org/
>
> Follow us on Twitter
> http://twitter.com/razunahq
>
> --
> Open BlueDragon Public Mailing List
>  http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
>  mailing list - http://groups.google.com/group/openbd?hl=en
>
>  !! save a network - please trim replies before posting !!
>

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to