Ok, so here is what I tested and found: Application.cfm: ====================================== <cfmapping logicalpath="/test" directorypath="D:\wwwroot"> ======================================
Index.cfm ====================================== Hello... from index.cfm<br> <cfinclude template="/test/testinclude.cfm"> ====================================== D:\wwwroot\testinclude.cfm ====================================== Hello from cfincluded file... ====================================== Ok, so if I execute http://test.infranet.com/index.cfm everything works the way I want it to... BUT what I really want to work is this: http://test.infranet.com/test/testinclude.cfm I have setup an iis virtual directory called /test to point to the same d:\wwwroot location and given it Script execute access... that allows OpenBD to return a 404 error... THAT is what I need to work... any ideas on this? Thanks! patrick On Tue, May 4, 2010 at 10:34 AM, Patrick Steil <[email protected]>wrote: > And is my assumption correct that if I do the cfmapping in the > application.cfm that this will hold true for any subsequent pages, tags, > cfcs within that request? > > > > On Tue, May 4, 2010 at 10:22 AM, Patrick Steil <[email protected] > > wrote: > >> No, but I will now... >> >> You might try making your folder and file names long filenames.... >> >> >> >> On Tue, May 4, 2010 at 10:04 AM, Matthew Woodward >> <[email protected]>wrote: >> >>> Did a quick test--set up a mapping as follows: >>> Logical: /matt >>> Physical: $/home/mwoodward >>> >>> This is on Linux; if you're on Windows you don't need the $ but make sure >>> and include the drive letter. >>> >>> I created a cfml template in my home directory called test.cfm that just >>> does <cfoutput>#Now()#</cfoutput> >>> >>> I then did a test page in my OpenBD webapp that did this: >>> <cfinclude template="/matt/test.cfm" /> >>> >>> This worked for me. I'll fire up a Windows VM in a bit and test there as >>> well, but in this simple test at least it respected the mapping when I did >>> an include. I'll try a long directory name on Windows but I don't think that >>> really matters. Good thing to test though. >>> >>> Have you tried doing a really simple test case like that to make sure >>> there isn't something else going on? >>> >>> -- >>> Matthew Woodward >>> [email protected] >>> http://blog.mattwoodward.com >>> identi.ca/Twitter: @mpwoodward >>> >>> Please do not send me proprietary file formats such as Word, PowerPoint, >>> etc. as attachments. >>> http://www.gnu.org/philosophy/no-word-attachments.html >>> >>> -- >>> Open BlueDragon Public Mailing List >>> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon >>> mailing list - http://groups.google.com/group/openbd?hl=en >>> >>> !! save a network - please trim replies before posting !! >>> >> >> >> >> -- >> Patrick Steil >> infraNET.com >> Entrepreneur & Technology Architect >> mobile: 940-391-9250 >> linkedIn: http://www.linkedin.com/in/pmsteil >> meetup: Business Owners Network DFW http://bond.infranet.com >> twitter: http://twitter.com/pmsteil >> > > > > -- > Patrick Steil > infraNET.com > Entrepreneur & Technology Architect > mobile: 940-391-9250 > linkedIn: http://www.linkedin.com/in/pmsteil > meetup: Business Owners Network DFW http://bond.infranet.com > twitter: http://twitter.com/pmsteil > -- Patrick Steil infraNET.com Entrepreneur & Technology Architect mobile: 940-391-9250 linkedIn: http://www.linkedin.com/in/pmsteil meetup: Business Owners Network DFW http://bond.infranet.com twitter: http://twitter.com/pmsteil -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
