Jaz
Jaz

Reputation:

Helicon Isapi rewrite - can't get urls to be case insensitive

Running Helicon Isapi rewrite to make overly long coldfusion CMS generated urls 'friendly'. Works very well and we've been using it for several years both with direct rewrites and regex.

I cannot get it to treat urls case insensitively.

The following rule is an example:

RewriteRule /scriptcontent/h1n1/h1n1submission.cfm\?section=Human_swine_H1N1_influenza    http\://www.racgp.org.au/h1n1influenza/feedback [I,RP]

RewriteRule /h1n1influenza\/feedback? /scriptcontent/h1n1/h1n1submission.cfm\?section=Human_swine_H1N1_influenza

I thought the [I] flag should make isapi ignore case but www.racgp.org.au/h1n1influenza/feedback works where www.racgp.org.au/H1N1influenza/feedback doesn't.

I can get around it by making another rule for upper case and redirecting to the lowercase url but would rather have a setup that works for all urls regardless of case.

Many thanks in advance

Upvotes: 0

Views: 1957

Answers (1)

Cheeso
Cheeso

Reputation: 192527

I think the [I] flag applies to the IIRF filter . For Helicon maybe you want [NC] (menmonic "Not Case sensitive")

Upvotes: 2

Related Questions