Skip to main content
Inspiring
Dec 10, 2012 12:51 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Participant
Apr 7, 2015 9:53 AM UTC

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!    

Translate
Inspiring
Dec 10, 2012 8:51 PM UTC

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

Translate
ehr_aaron
Participating Frequently
Dec 14, 2012 12:28 AM UTC

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

Translate