Should have also mentioned...

With the code from the previous e-mail, I write file references like this
(they are all absolute, starting with the base web root or base ColdFusion
mapping - I never use relative links any more).

a href="#Request.Mappings.Webserver#somefolder/somefile.xxx"
img src="#Request.Mappings.Webserver#images/someimage.gif"
cfinclude template="#Request.Mappings.ColdFusion#includes/somefile.cfm"
cfmodule template="#Request.Mappings.ColdFusion#modules/somefile.cfm"

It might seem like a lot more code to type, but I can take an entire
application and drop it 3 folders deep in another and it works with just a
few modifications to Application.cfm.


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to