Hi there,

I have an apache1.3.20/cf5/sol8 software (name) based virtual hosting setup
and I am getting some bizarre problems with cf page generation.

Basically, I have a bunch of developers working on a cf applicaiton, they
each have a cvs copy of the application in their own 'dev' area on a solaris
8 host.  Then I've configured several software virtualhosts (name based as
opposed to ip based) that have document roots pointing to each of their
'dev' areas.  eg:

<VirtualHost *>
ServerName www-a
DocumentRoot /u01/dev/www/a/
Alias /a /u01/dev/www/a/dev
</Virtualhost>

<VirtualHost *>
ServerName www-b
DocumentRoot /u01/dev/www/b/
Alias /b /u01/dev/www/b/dev
</Virtualhost>

<VirtualHost *>
ServerName www-c
DocumentRoot /u01/dev/www/c/
Alias /c /u01/dev/www/c/dev
</Virtualhost>

and developer "a" would browse to http://www-a/a/index.cfm as an example.

Each developer has a seperate include file that details path information for
them.  eg.

<cfset Application.devbase = "a">
<cfset Application.cfdevbase = "cf_a">

For the most part, this works fine.  However every so often it appears that
Applicaiton.devbase for example is mixed up with Applicaiton.devbase from
one of the other virtual hosts.  I say Application.devbase as that's the one
I've noticed to do this.  At first I thought it might have been an apache
issue, but this morning halfway through a page the value of this variable
changed!  We use it for things like stylesheet locations and image source
locations..ie

<IMG SRC="/#Application.devbase#/foo/bar/img1.jpg">

 and we had this sort of thing happening:

<IMG SRC="/a/foo/bar/img1.jpg">
<IMG SRC="/a/foo/bar/img2.jpg">
<IMG SRC="/a/foo/bar/img3.jpg">
<IMG SRC="/a/foo/bar/img4.jpg">
<IMG SRC="/c/foo/bar/img5.jpg">
<IMG SRC="/c/foo/bar/img6.jpg">
<IMG SRC="/c/foo/bar/img7.jpg">
<IMG SRC="/c/foo/bar/img8.jpg">

A refresh of this page gave a more consistent output (with all src values
being "/a/foo/bar"...).

What could be causing this problem?

thanks in advance!

david.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to