Skip to main content
Inspiring
December 10, 2012
Question

CF10 IIS7.5 giving 404 error on .cfm pages that do exist

  • December 10, 2012
  • 2 replies
  • 4381 views

This is a fresh install (server) onto W2K8 with IIS 7.5 per the Adobe ColdFusion 10 Lockdown Guide.  My CF Admin section works fine.  I created a new site and created an index.cfm file (which is the only default document in IIS).  If I browse to www.domain.com it loads the index.cfm file just fine.  But, if I go to www.domain.com/index.cfm I get a 404.  If I create a .htm page and navigate to it - www.domain.com/somepage.htm - it works fine.

I've checked the request filtering vs. the cf admin site in IIS and both are the same (except for CFIDE/Admin in the admin site).  My mapping to the cfform scripts works fine in my new site (www.domain.com/cf_scripts/cfform.js).  CFCs called from my index.cfm page work fine (as long as I load it with just www.domain.com and not www.domain.com/index.cfm).

This topic has been closed for replies.

2 replies

Participant
April 7, 2015

Weirdly, I had to do this on one of my servers, but not another in our dev stack.  Great to find this post thought.  Thanks!    

Inspiring
December 10, 2012

The answer was to add a virtual directory mapping to the jakarta directory.

ehr_aaron
Participating Frequently
December 14, 2012

Ah.. I've had a similar issue several times. Those virtual directories will get you every time