The problem is that the directory test is just that a directory in the root of the web server, when you define your links I am guessing that you are using href="/" and then followed by whatever you wish to link too.
Because the webserver (internal ColdFusion) sees this as a normal directory, then the href's will translate to the root of your server. The only solution to do something like this would be to use either IIS / Apache and use the web connectors to then connect ColdFusion to the site defined in either of those. ColdFusion's internal web server was designed to get up and running quickly, but it was never designed to be used to server multiple sites like this. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sun, Mar 25, 2012 at 12:03 PM, Nick Gleason <[email protected]>wrote: > > Hi folks, > > Kind of a noob question here. I'm setting up our application to run > locally > on my laptop so I can use the debugger in CF Builder 2. I'm running CF9 > and > SQL Server 2008 R2. I've managed to get the site to display locally in a > web browser using the built in web server. I get it to display at this > address: > http://127.0.0.1:8500/test/ (I've named the application folder "test" in > this case). > > The problem that I'm encountering is a path problem because the /test/ > folder is not staying in the path. So, as I click around the application, > I > need the urls to look like this: > http://127.0.0.1:8500/test/index.cfm?fuseaction=Page.viewPage&pageId=471 > http://127.0.0.1:8500/test/index.cfm?fuseaction=Page.viewPage&pageId=479 > > But, they look like this (and don't work): > http://127.0.0.1:8500/index.cfm?fuseaction=Page.viewPage&pageId=471 > http://127.0.0.1:8500/index.cfm?fuseaction=Page.viewPage&pageId=479 > > I think I could solve this by downloading IIS and installing that locally > and managing the paths that way. But, that seems like a lot of overhead > for > a problem that must be solvable with the built in web server. I just don't > have a lot of experience with this scenario. > > Any ideas? > > Nick > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350526 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

