I have a new Windows 7 Ultimate x 64 dev machine. I installed IIS with the .NET Extensibility, ASP.NET, CGI, ISAPI Extensions, and ISAPI Filters checked. Then installed CF10 64 bit and ran the Webserver Configuration Tool telling it to install All websites and allow 32 bit. I ran the mandatory manual update, then the automatic ones.
I create an index.cfm in the default website and can hit it via localhost/index.cfm. Things seem good. I then create a folder called "greg" and an index.cfm in there. I can hit it via localhost/greg/index.cfm. I have a domain pointed to my location and forwarded port 80 to this server. From outside I can hit greg.mydomain.com and I get the index.cfm GREAT! But if I specifically go to greg.mydomain.com/index.cfm I get a 404 error. I CAN however hit the index.html in that dir like this greg.mydomain.com/index.html.
What does this mean?
Oh, I forgot to mention In IIS I created a site named "greg", physical path "C:\inetpub\wwwroot\greg" IP address "All Unassigned" Port 80, Host name: "greg.mydomain.com".
It seems like it's probably something simple why IIS will process the default document if it's a cfm but not if it's called by name.
I think you should add index.cfm to the list of 'default documents' in IIS.
Thanks for the reply, but I believe Coldfusion installer does that for you. index.cfm is in the list of default documents at the top. And like I said when I do NOT specify the filename like "greg.mydomain.com" it resolves the index.cfm fine. It's only when I DO specify a filename like "greg.mydomain.com/index.cfm" that I get the 404 error.
Also if I use the default site like localhost/greg I get the index.cfm fine, but when I do localhost/greg/index.cfm I actually get a coldfusion error "file not found". So it sorta seems like some sort of base href sort of behavior.
OK. A similar problem was discussed in this thread on IIS 7.5. What I gather from there is that someone solved the problem by mapping a virtual directory named "jakarta" to {CFUSION INSTALLATION}\config\wsconfig\{instance_id}, where the instance ID is an integer like 1, or 2, etc.
North America
Europe, Middle East and Africa
Asia Pacific