Forum Moderators: phranque
I have a mod_rewrite.ini in place on my ISS server with the following rule:
Debug 1
Reload 1000
RewriteRule ^/website/(.*).html /website/execute/nav?cmd=display$1
This works fine, but what I would like to be able to do is, when the browser gets a request for ht*p://www.domain.com/products.html is have the rewrite rule replace the first character with an uppercase char so that my event can handle the request the rule would end up forwarding to /website/execute/nav?cmd=displayProducts
Is this possible?
Many thanks in advance for any help on the matter,
-George
Just to clarify since there are no replies yet, is this an IIS server? The rules and capabilites of ISAPI Rewrite are slightly different, and I suspect no-one wants to give you Apache-related info which might be wrong for ISAPI Rewrite...
Changing character case in Apache mod_rewrite is a pain, and inefficient. If you *are* on Apache, I'd recommend doing the case conversion in your script if possible.
Jim