0

This is the first time that I am trying to use ISAPI_Rewrite and ColdFusion. My hosting company has a wiki which says I need to create an .htaccess file and add the following rules to it:

RewriteEngine on
RewriteRule ^(.*?\.cfm)/([^/]*)/([^/]*)(/.+)? $1$4?$2=$3 [NC,LP,QSA

I have 8 main pages for my website:

  • index.cfm
  • products.cfm
  • product-detail.cfm
  • brands.cfm
  • about.cfm
  • contact.cfm
  • specials.cfm
  • gallery.cfm

I have done that. What I would like to know is:

  1. Since I am new to this, are there any other rules that I need to define? I cannot find a decent tutorial on this matter.

  2. Is there any ColdFusion code that I need to add to my Application.cfm page?

Also how would I change this:

products-search.cfm?filter=brand&brand_id=115

to

products-search.cfm/HKSparts

Like I said, this is my first time trying this out.

Any help would be appreciated.

Miguel-F
  • 13,450
  • 6
  • 38
  • 63
johnnyc0506
  • 133
  • 1
  • 3
  • 12

1 Answers1

0

If it's an ISAPI_Rewrite then I'm afraid .htaccess is not the file. Please, see http://www.isapirewrite.com/docs/#conffile. However, if it's ISAPI_Rewrite3, the file format is correct. Try to contact HeliconTech directly. They have a very responsive support team.

Leigh
  • 28,765
  • 10
  • 55
  • 103
Andrew
  • 511
  • 3
  • 7
  • You can use their FAQ - http://www.helicontech.com/forum/10648-FAQ.html to investagate if ISAPI_Rewrite3 is installed correctly – Andrew Jan 07 '14 at 14:19