Thanks, Dave

>> 1. Just wondering if there is some variable defined which
>> stores local root of the running application: C:\Inetpub>>>\wwwroot\
>> for example.

>None of which I'm aware, although it's pretty easy to figure out >where
this
>is, and you can just set this in your Application.cfm file.

This is exactly what I've done: set this in Application.cfm, but the problem
is that my development server is W2K and production is Linux. That's why I
want this root to be automatically detected.

>> 2. Another thing I can't understand is why the / sign does
>> not address the web root folder of the application. Why if
>> I call the module with template="/some.cfm" the / sign still
>> addresses current directory? Where's the logic?

>When you begin a template path with "/" in CF, CF looks for the
>mapping in
>the list that you can set in CF Administrator under the Mappings >link. You
>can only map the root slash once, so even if you have multiple
>virtual
>servers, you can only have one resolution for "/". This of course >only
>applies to CFML tags which use a TEMPLATE attribute.

Actually, I've never used these mappings, I'll try, thanks.

>I'm a little confused by your example, though; it seems to
>suggest that
>something else is going on.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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