Over the past two days I've been beating my head against a wall with
requests to separate virtual hosts getting mixed up.  The problem is that CF
is getting told to use templates from the root directory of the wrong vhost.
Running CFMX (with updaters) on Apache 2.0.44.  The problem started with
2.0.43, and the .43 -> .44 upgrade was an attempt to resolve the issue that
didn't work.

The process goes like this:
1) request '/' from vhost one
2) admire the beautiful pages from vhost one web root
3) request '/' from vhost two
4) admire the beautiful pages from vhost ONE's web root, except with broken
image and stylesheet references (and .html pages, if a frameset).

Set 4 is an interesting one, because it implies to me that non-CF requests
are getting sent to the root directory of the correct vhost, while CF
requests are getting mixed up.

Here's the offending vhosts:

-----------------------------------------
<VirtualHost 192.168.1.100:80>
        ServerName      www.actionone.dev
        ServerAlias     actionone.dev
        DocumentRoot    /<stuff>/rbi
</VirtualHost>

<VirtualHost 192.168.1.101:80>
        ServerName      www.weber.dev
        ServerAlias     weber.dev
        DocumentRoot    /<stuff>/wsw
</VirtualHost>
-----------------------------------------

And here are is a snip from the CGI variables of a request to
'www.actionone.dev/home.cfm' (note the 'wsw' in the directory path):

--------------------------------------
CF_TEMPLATE_PATH=/<stuff>/wsw/home.cfm
PATH_TRANSLATED=/<stuff>/wsw/home.cfm
SERVER_NAME=www.actionone.dev
--------------------------------------

If anyone's got any ideas, I'd love to hear them, I'm at my wit's end.

TIA,
barneyb

---
Barney Boisvert
PIER System, Inc.
barneyb at piersystem.com
(360) 671-8708
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.454 / Virus Database: 253 - Release Date: 2/10/2003

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to