Skip to main content
September 19, 2008
Question

Changing Web Root in CFMX7

  • September 19, 2008
  • 1 reply
  • 235 views
I had to reinstall the developer edition of the CF server (7.02) on my local box (Win XP SP2). Since doing so, I cannot get CF pages to work. When I try to load a page I am receiving a 404 JRun Servlet Error.

For example, when I start the CF server and enter " http://localhost:8500/myapps/mysite" in the browser address bar, this results in a "404 /myapps/mysite" error. If I add index.cfm to the path, I get a "404 File not found: /myapps/mysite/index.cfm" error.

The sites on my dev box are under the d:\webapps\myapps folder. I have this mapped in CF Admin as /myapps and I would like for this to be my webroot folder instead of the default (e:\programs\CFusionMX7\wwwroot). I configured CF during install to run the built-in web server.

Before I had to reinstall the developer edition, I had this working fine but I don't remember what I did to make this work originally. Is it possible to change the web root when using the server configuration and built-in web server?

Thanks.
This topic has been closed for replies.

1 reply