Jessica: 
Also, have you considered using wildcard DNS? As in
http://jessica.sample.com
You can do that by simply adding a * A host entry in your DNS manager.
Michael



> -----Original Message-----
> From: Scott Stewart [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 15, 2007 11:41 AM
> To: CF-Talk
> Subject: RE: Creating replicated sites with coldfusion
> 
> You've got CGI variables at your disposal, when the URL is called.
> Provided that the username will equal the path name in every case
> 
> You can use cgi.PATH_INFO and extrapolate the username from the path, and
> run your queries accordingly.
> 
> Hth
> 
> sas
> --
> Scott Stewart
> ColdFusion Developer
> 
> SSTWebworks
> 4405 Oakshyre Way
> Raleigh, NC. 27616
> (703) 220-2835
> 
> http://www.sstwebworks.com
> http://www.linkedin.com/in/sstwebworks
> 
> 
> -----Original Message-----
> From: Jessica Kennedy [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 15, 2007 3:14 PM
> To: CF-Talk
> Subject: Creating replicated sites with coldfusion
> 
> Hi, I am working on a site for a MLM company that wants each person who
>  signs up with the company to have their own replicated website. The
>  replicated site is really no more than each person having a separate URL
>  that is defined by the username they put in when they sign up-
>  everyone's site is exactly the same otherwise.  For example, if I signed
> up
> for
>  the program with a username of "jessica" my replicated website's
>  address would be" "http://www.sample.com/jessica";.
> 
> I do not want to have to create a separate folder & index page for each
>  & every person who signs up, because that seems like it would be kind
>  of ridiculous & waste a lot of space, so how can I (firstly) trick the
>  server into believing there is a separate page for each person even
>  without a folder with their username existing in my directory?
> 
> Second, and I guess this question could be answered by the first, how
>  can I get that   username to be pulled from the URL for use in dynamic
>  queries and the like.
> 
> -More or less, I am just wanting to somehow convert a query string such
>  as "http://www.sample.com?username=jessica"; into the more
>  user-friendly "http://www.sample.com/jessica";.
> 
> I think i am making this harder than it really is.. hopefully I have
>  made this clear enough to understand, and any help would be greatly
>  appreciated!  Thanks!!
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291142
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to