I use CFMX7 standlone server locally for testing. My problem is that it does not properly recognize site roots. I have set up this mapping for the root in the CF administrator:
Logical path: /
Directory path: C:\CFusionMX7\wwwroot
Everything works fine when I use relative paths in my sites. But CF does not find absolute paths correctly.
So if I try to use this link in mysite1, for example:
I get this: http://localhost:8500/index.cfm
When I need this: http://localhost:8500/mysite1/index.cfm
I have located the files for mysite1 in c:\cfusionmx7\wwwroot\mysi
This happens with all my CF sites. It's driving me crazy. I have used a workaround in the past by declaring #application.rootfolder# in Application.cfc and then adjusting the value for the testing and production servers, but for the site I'm working on now it's not feasible. I want to use a number of included files, including an included header and footer placed by Application.cfc, and it's way too complicated to keep using this workaround. The absolute URLs work on my production server, but obviously I need to be able to test and debug locally.
I'm running Windows 2000 locally. The production server is Windows 2003. Don't know if that makes a difference.