Michael, I've been developing with an architecture supporting multiple interfaces from the same web site for a few years. Some of the issues are similar.
You use: <default>/sites/site1 I use: <default>/1/site <default>/2/site It seems like these are different sub-domains on the same domain. I do this also. site1.domain.com:8080 sites/site1 site2.domain.com:8080 sites/site2 RE: " How can apache find them outside the DocRoot?" Don't know (yet). Re: " If we place all the sites _within_ the same fusebox site (only one fbx_circuits), the cookies and sessions are mixed together and their doesn't seem to be a way to point to the individual sites with different host names." The Active4D Directory All config files must reside in a special directory called "Active4D". Active4D will look for the Active4D directory using the following search path: The database directory (Standalone/Server) or application directory (Client) The shared 4D directory The ~/Library/Preferences directory (Mac OS X), Windows directory (Win95/98/Me/XP) or WINNT directory (Win2K, NT) hth David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Check Sent: Thursday, October 16, 2008 9:30 AM To: [EMAIL PROTECTED] Subject: [Active4d-dev] Best practice for sharing ajax and other A4D files? We're creating a site for a client that actually has three (hopefully more soon) semi-related sites. We've built them in fusebox and have them reside in <default>/sites/site1 <default>/sites/site2 <default>/sites/site3 javascript libraries (e.g. Ext and Prototype) and images are in: <default>web_static We want the sites to have separate cookies and separate sessions, so I think we have to use different host names, correct? The VirtualHosts.ini has: site1.domain.com:8080 sites/site1 site2.domain.com:8080 sites/site2 site3.domain.com:8080 sites/site3 We are using apache to serve the front end but it will not serve the web_static files because it cannot find them. It appears they ned to be within the virtual host DocumentRoot, which web_static is not. How can apache find them outside the DocRoot? And further, where can we place A4D files that are shared between the sites for ajax access. The ajax calls use a url fromatted like http:// + baseURL + ajaxfile.a4d. We define baseURL from the request base url and want the ajaxfile.a4d to be the same as is used for all the sites. So we want site1.domain.com/lib/ajaxfile.a4d AND site2.domain.com/lib/ajaxfile.a4d to refer to the same file. Where can we place these files so they are accessible for all the virtual sites, and accessible via apache? If we place all the sites _within_ the same fusebox site (only one fbx_circuits), the cookies and sessions are mixed together and their doesn't seem to be a way to point to the individual sites with different host names. Thanks, Michael Check _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
