Can anyone shed a little light on webserver and ColdFusion mappings?

Whilst a site is being developed I set up a webserver and ColdFusion mapping
on the PC such as
        /newsite/
which points to the
        d:\websites\newsite\website\
directory.

Then, you can browse to http://127.0.0.1/newsite/ and view the website.  If
you set an application variable such as application.Mapping to "/newsite/",
you can then write any link as
        A HREF="#application.Mapping"anysubdir/filename.cfm"
and it works OK.

But, when the site goes live and the Network admin sets up the directories
and mappings for the site, the links end up as
http://www.newsite.com/newsite/anysubdir/filename.cfm
when I really want them to be
http://www.newsite.com/anysubdir/filename.cfm

I know something's going wrong here, but can anyone explain how absolute
mappings should be set up so that you don't have to change anything when the
site goes live and so that the URLs don't end up like
http://www.fishingtackletrader.com/fishingtackletrader/advertise/index.cfm
like they do at the moment (fishingtackletrader is the value for
application.Mapping in that instance).



Thanks (a million)

-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services

http://www.netshopperuk.co.uk/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to