heh... Doing that already. Have four different sites pointed at the same
fusebox app. From there I also have between 500 and 1500 seperate client
sites that are differentiated based on domain name (ie www.domain.com is
treated differently then www.client.domain.com). Works great!
Marcus
> -----Original Message-----
> From: Brad Roberts [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 01, 2001 4:59 PM
> To: Fusebox
> Subject: Reusing an entire fusebox app
>
>
> I've created a fb site that I want to reuse for different domains
> (websites).
>
> I'd like some creative ideas on how to do it. Here's what I'm
> planning thus
> far:
>
> 1.) In IIS, point all the domains that share the app to it's root
> directory.
> 2.) In app_globals.cfm, query the db to get the sites info using
> cgi.server_name.
> <cfquery name="site" blah... cachedwithin="createtimespan(---)">
> select *
> from websites
> where domain_name = '#cgi.server_name#'
> </cfquery>
> 3.) Use the results from the query to set things like header and footer
> files, company info, etc.
>
> Is there any problem in doing it this way? I'd like some other
> solutions if
> anyone has any.
>
> Thanks in advance,
>
> Brad
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists