Sagewire Logo

Issue with path_translated & CFMX7

4 Message(s) by 2 Author(s) originally posted in server admin


From: Jochem van Dieten Date:   Friday, October 19, 2007
wrote in message:
I think something may be amiss with Cold Fusion. I have a test website
(specifically created to test this issue) running on IIS 6, that just has a
plain old index.CFM and index.html. When I browse to
/index.cfm/someotherdirectory/non-existantdirectory/whatever/index.cfm, it
brings up the base index.cfm.
When I attempt to do the same with the html file , it gives me a 404 error.
How can I force Cold Fusion to give a 404 in this circumstance?



Make sure you've enabled "Check that file exists" in the IIS mapping.
If that does not cut it, find the file web.xml and comment out the Search
Engine Safe (SES) section.

Jochem

--
Jochem van Dieten
Adobe Community Expert for Cold Fusion


From: Fireye- Date:   Friday, October 19, 2007
I think something may be amiss with Cold Fusion. I have a test website
(specifically created to test this issue) running on IIS6, that just has a
plain old index.CFM and index.html. When I browse to
/index.cfm/someotherdirectory/non-existantdirectory/whatever/index.cfm, it
brings up the base index.cfm.

When I attempt to do the same with the html file, it gives me a 404 error.
How can I force Cold Fusion to give a 404 in this circumstance?


From: Fireye- Date:   Friday, October 19, 2007
(Quick additional info:

The path_translated, as shown in the debugging screen:

PATH_INFO=/ia/whatever/index.CFM
PATH_TRANSLATED=D:\Inetpub\wwwroot\test\index.CFM

when I go to http://localhost/index.cfm/ia/whatever/index.CFM
)


From: Fireye- Date:   Friday, October 19, 2007
I assume the "Check that file exists" box is the one that resides in the
website properties, under Home Directory --> Configuration -->
wildcard/application mappings. I changed that, no go.

The SES section was indeed exactly what I needed, however! Thank you very
much for the helpful information!



Next Message: CF 7 Cookie Issue



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional