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/

Reply via email to