What I did for RIAForge is simply sniff the CGI variable.... hostname
I believe. Maybe server_name. Either way, when you go to
x.riaforge.org, and it isn't www.riaforge.org, we treat it as a
project home page. I convert from "x" to a real project primary key
value, and from there it is a trivial matter to display project
specific information.

You can download RIAForge itself if you want to see this in action:

http://www.coldfusionjedi.com/index.cfm/2007/7/11/You-want-some-RIAForge-source-You-got-some-RIAForge-source



On Sat, Dec 27, 2008 at 1:21 PM, Will Tomlinson <w...@wtomlinson.com> wrote:
> This is more of a general question. I'm trying to figure out the best way to 
> go about implementing something.
>
> My client wants to expand our sports clothing website to more than one 
> sport/website.
>
> So for example, www.xsports.com would house:
>
> www.xsportsvolleyball.com
> www.xsportsbaseball.com
> www.xsportstennis.com
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317166
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to