I'm not surprised. DirectoryExists() works at the OS level, not webserver. I would try a cfhttp. If you get an error code of 200 or 403 if the (virtual) directory exists. If it doesn't, you should get a 404.
-----Original Message----- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 12:43 PM To: CF-Talk Subject: Re: Virtual Directories yep, nothing Cutter Ken Ferguson wrote: > I know it's a silly question, but did you restart the CF services??? > > Cutter (CFRelated) wrote: > >>I tried this, but it doesn't seem to take. I tried a >>directoryexists("/tools"), and it came up negative. >> >>Cutter >> >>Zaphod Beeblebrox wrote: >> >> >>>edit your *cf_root*\wwwroot\WEB-INF\jrun-web.xml file and add >>>mappings in this format: >>> >>> <virtual-mapping> >>> <resource-path>/tools</resource-path> >>> <system-path>C:/inetpub/wwwroot/tools</system-path> >>> </virtual-mapping> >>> >>> >>>On 4/18/06, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>>Anyone have a clue how to set up a virtual directory (not a cf >>>>mapping) using the built in CF web server? Or if it's even possible to? >>>> >>>>Cutter >>>> >>>> >>>> >>> >>> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238145 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54