Skip to main content
richk34388274
Participant
August 18, 2017
Question

mod_rewrite on coldfusion 2016 developer edition

  • August 18, 2017
  • 1 reply
  • 848 views

I'm reworking an old coldfusion website.

Running the developer edition on my Win7 desktop, using the tomcat server (by default)

Trying to do some things with mod_rewrite, but can't seem to locate the .htaccess file anywhere...

Where would it be?

Better still.....

Should I reinstall the developer version to use IIS as the webserver to better work with mod_rewrite?

It looks the live the site I'm reworking is actually hosted on IIS, so it might be a better idea to go the reinstall/IIS route?

This topic has been closed for replies.

1 reply

Inspiring
August 18, 2017

If the site is hosted in IIS then use the URL Rewrite module in IIS. (Requires adding if not already installed). Mod_rewrite is an apache thing. If you develop using .htaccess then it wont work live on IIS.

A .htaccess file needs to be created in the root of the web folder if it doesnt exist. It usually isnt their by default. A quick google of how to create a .htaccess file will give you what you need.

richk34388274
Participant
August 18, 2017

Got it. I wasn't able to find where any of the coldfusion server files were located, adding to my confusion I suppose.

I'll switch over to my Win10 PC and do an IIS install and do the coldfusion developer install over there and continue.

THANKS