Well...after some trial and error, I think I've figured out
why I couldn't get the same paths to work locally and on the server.

Locally, I've got just a blank setting in the default web site's
advanced settings, along with port 80.

On the server, for the default web site's advanced settings, I had
"www.wsm-dev.com", "wsm-dev.com", and "localhost" as host header values,
all on port 80.

I added a blank host header value on port 80 like I have locally, and now,
normal relative paths work the same locally and on the server.

The lack of that one blank setting on the server was throwing
all my paths off and causing me to have to create two different path sets
for the local system and the server.  What a pain that has been...

Hopefully now, after all these years of running servers, I finally learned
one of the most basic aspects of management.

Duh...

Thanks for the pointers, fellows.

Here's to, hopefully, a "brighter" future!  ;o)

Rick


> -----Original Message-----
> From: Jason Fisher [mailto:[email protected]]
> Sent: Saturday, January 10, 2009 4:39 PM
> To: cf-talk
> Subject: Re: Ok, let me get this straight...
> 
> @Rick,
> 
> Sounds like your app root is a virtual mapping?  In that case, if you do
> 
> src="/appDirectory/images/image.jpg"
> 
> (with the initial "/" before the mapping name) then it should work in
> both places, regardless of the domain portion of the URL.
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317722
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to