In case you don't have my eMail anymore here is the small code to
filter out the subdomain:

<cfset thename = #cgi.http_host#>
<cfset thecount = findoneof(".",thename) - 1>
<cfset thesubdomain = mid(cgi.HTTP_HOST,1,thecount)>


On Sun, Feb 7, 2010 at 9:01 PM, Nitai @ Razuna <[email protected]> wrote:
> Right, but I remember that I answered that some days ago already.
>
> You NEED to give Tomcat a static domain. Tomcat CAN NOT handle
> wildcards. But you can get your subdomain with a cgi.http_host. then
> you can "filter" the subdomain for your users and serve them their
> content.
>
> I do exactly the same with Razuna!
>
> Kind Regards,
> Nitai
>
> On Sun, Feb 7, 2010 at 8:57 PM, Mats Stromberg <[email protected]> wrote:
>> My problem is that I can't manually create Alias's for each user of the site
>> since that would keep me busy 100% just administrating the Tomcat... So... I
>> need tomcat to Accept the wildcard somehow and that I can pick the wildcard
>> up and lookup a record in the DB to load this users data for his/her page
>
>
>
> --
> 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
>



-- 
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 !!

Reply via email to