• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Jakarta Redirect

New Here ,
Jan 19, 2016 Jan 19, 2016

Copy link to clipboard

Copied

Hi,

If I create a redirect using something like "<cflocation url="index.cfm" addtoken="false" statuscode="301">", it will redirect me to /jakarta/index.cfm.

I've been able to replicate this with two different servers, both in a folder with a blank application.cfm file, so I know it doesn't have anything to do with that. My quick fix was to just not reference url's this way and use the fully qualified /folder/index.cfm. This works well, however this doesn't fix an even bigger problem. Apparently the cfide/administrator login uses this same type of redirect, and when I log into the ColdFusion Administrator I get redirected to /Jakarta/index.cfm.

If it helps, I'm on ColdFusion 11. Any ideas on what could cause this?

Thanks,

Paul

Views

334

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 21, 2016 Jan 21, 2016

Copy link to clipboard

Copied

Bump!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Feb 02, 2016 Feb 02, 2016

Copy link to clipboard

Copied

LATEST

Not sure of the cause of your issues, but you might try following the way the lockdown guide suggests setting up sites - don't allow access to CF Administrator from within a production site.  Set up a dedicated site just for accessing CF Administrator.  Better yet, restrict that site to only be accessible from localhost so that unauthorized access to the CF Administrator is prevented.

As far as the redirects, are you using a framework in your application, such that all urls map through index.cfm?  Are you using any rewrite rules on your web server (IIS, Apache, etc.)?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation