tracker issue : CF-3341684

select a category, or use search below
(searches all categories and all time range)
Title:

Redirection to URL in IIS6 website redirecting to /jakarta/isapi_redirect.dll

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Tom Lofts / Tom Lofts (loftx)

Created: 10/05/2012

Components: Installation/Config, Connector

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win 2003 Server

Vote Count: 0

Problem Description:

I installed ColdFusion 10 (now updated to update 1) and configured the connector to run on all sites for IIS6. ColdFusion is running correctly on the sites where it's used, but the "redirection to a URL" feature within IIS is now working incorrectly.

Once set up, the redirect doesn't redirect to the location in question, but instead /jakarta/isapi_redirect.dll 

E.g. 

I would explect  loads correctly 

Steps to Reproduce:

I have not tested this on a clean install, but on our server expericing the issue, I have two sites configured in IIS www.example.com which runs the ColdFusion site and example.com which uses the "redirection to a URL" feature to redirect to http://www.example.com. 

Once setup I attempt to navigate to a cfm page on the redirect site e.g. http://example.com/index.cfm

Actual Result:

Visiting http://example.com/index.cfm results in a 301/302 redirect being issued to http://example.com/jakarta/isapi_redirect.dll

Expected Result:

I would expect a 301/302 redirect to be issued to http://www.example.com/index.cfm

It should be noted the extensions handled by ColdFusion work correctly e.g. http://example.com/robots.txt redirect to http://www.example.com/robots.txt

Any Workarounds:

The redirects could be handled within the application.cfm/cfc rather than within IIS.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3341684

External Customer Info:
External Company:  
External Customer Name: loftx
External Customer Email:

Attachments:

Comments:

After further investigation it appears this may relate to a lack of execute permissions on the site in question. When the site has execute permissions of "Scripts only" this error occurs, when permissions are set to "Scripts and executables" the redirect works correctly. Steps to reproduce: Add new site to IIS (assuming ColdFusion connector is originally installed on all sites) When selecting permissions do not select "execute" Add a jakarta mapping as per issue #CF-3045055 Set site to redirect to a URL Attempts to access /index.cfm at the newly created site will fail with the error described above. Resolution: When selecting permissions select "execute" (or change to "scripts and executables in the application settings section)
Comment by External U.
17729 | October 18, 2012 08:29:38 AM GMT
Execute permissions are required by Coldfusion for CFM pages to be served correctly. Closing the bug as, Withdrawn > NotABug.
Comment by Immanuel N.
17730 | January 03, 2014 05:05:05 AM GMT