Hi Nitai, I know this isn't an OpenBD issue as such... I also know that Tomcat don't handle the wildcard. As you've seen from my sample server.xml and the vhost I have a static domain in Tomcat and do the Wildcard handling up in Apache. I do have the ProxyPreserverOhst On... The code in my page do pickup the subdomain... just that for some reason my wildcard domain ends up in a 403 Error so there I can't see it. It did pick it up when I had the <Alias></Alias> in so the code as such is OK. Starting to wonder if I have a Problem with this CentOS 5.2 Apache and the Proxy somehow. Trust me I'm very thankfull for all your Help and that goes for everyone on this list! I will start over with a clean vhost and server.xml once again and see if I can track this down.
On Mon, Feb 8, 2010 at 9:53 AM, Nitai @ Razuna <[email protected]> wrote: > Mats, > > I told you now many times already, that you can't do wildcard within > Tomcat. You set a fix domain in Tomcat and Apache is doing the > wildcard for you. > > I sent you my code, which as a fact runs for years on my server and we > have over 5000 subdomains. So this is a proven code and system that > works. > > You never replied, if the CF code (which is also posted in this > thread) filters out your subdomain. Also, I told you to add the > ReserveProxy setting. This param has to be set so Tomcat will see the > subdomain. You did not reply either. > > We all did what we can, to help you. Since this is not even OpenBD > related, I think it is best to either see with a Tomcat group or buy a > book on understanding how Tomcat and Apache works. > > Kind Regards, > Nitai > > On Mon, Feb 8, 2010 at 8:49 AM, Mats Stromberg <[email protected]> > wrote: > > It only works if I add an Alias also in the Host entry of the server.xml > but > > this I can't do since I don't have control over all these dynamic > > subdomains. > > I'm totally clueless at this point... > > > > -- > 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 !!
