Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Web Root Folder

Status
Not open for further replies.

ice78991

Programmer
Nov 20, 2006
216
I am trying to change my web root from C:/CFusionMX7/to C:/CFusionMX7/
I have opened the file web_root\WEB-INF\jrun-web.xml and made the following modifications

<virtual-mapping>
<resource-path>/*</resource-path>
<system-path>C:/CFusionMX7/ </virtual-mapping>

I then restarted Coldfusion

Within NewRoot I have a file named index.cfm and a number of other files that constitute the site

Now when I type in I just get a listing of the directory contents - index.cfm is not run automatically. If I click index.cfm I get a JRUN Servlet Error and the page says 404 Null

What am I doing wrong?
 
Did you set the default file to index.cfm on your web server?

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel. Covey
 
That's ok I think. The problem is that 127.0.0.1:8500 will list the contents of the new root directory but when I click on index.cfm it can't be run. Very strange
 
I think the answer lies somewhere in the fact that clicking index.cfm gives a JRun Servlet Error page (saying '404 null')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top