Relative paths for anything that sits below the webroot and absolute paths
for anything accessible from the browser.

Why make it harder on your self. If it's a tough directory to get to,
meaning it's 3 or 4 levels deep might as well make a mapping for it and call
it a day.

#ApplicationWebRoot#/Directory/File.cfm
or ../../../../../Directory/File.cfm  - yuck.

Casey

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, November 29, 2006 4:06 PM
To: CF-Talk
Subject: Relative(document) vs site root paths

What are everyone's thoughts on this subject?

I like relative.  Relative work better with cfincludes and don't require
creating a mapping in the cfadmin. I've been raised on raltive paths. I
have a newbie that is using site root paths.

I've read the help files and they tell you to chose what you're most
comfortbale with.

Please post your thoughts.

Thanks

D


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262142
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