Can you change the case of URI shown in Address bar?

Jul 4, 2008 at 2:31 PM
Hello,

I have this rule:
RewriteRule ^/folder/(.+)\.aspx$  /folder/#L$1#E.aspx [I,L]

In the log file I see the case being changed, but it doesn't change in the address bar.

Fri Jul 04 08:17:35 2008 - ReadConfig: setting LogLevel to 3
Fri Jul 04 08:17:35 2008 - ReadConfig: line   6: RewriteRule (rule 1)  '^/folder/(.+)\.aspx$'  '/folder/#L$1#E.aspx'    [I,L]
Fri Jul 04 08:17:35 2008 - ParseRuleModifierFlags: '[I,L]'
Fri Jul 04 08:17:35 2008 - ReadConfig: Done reading, found 1 rules (0 failed) on 32 lines
Fri Jul 04 08:17:35 2008 - Initialize: Ionic ISAPI Rewriting Filter (IIRF) v1.2.15a preview  Time-stamp: <Tuesday, July 01, 2008  23:46:21  (by dinoch)>
Fri Jul 04 08:17:35 2008 - Initialize: config file 'C:\!My\Apps\URLRewrite_DontDelete\folder\IsapiRewrite4.ini'
Fri Jul 04 08:17:35 2008 - Initialize: main threadId= 359556
Fri Jul 04 08:17:35 2008 - Initialize: File watcher thread created.
Fri Jul 04 08:17:35 2008 - GetFilterVersion
Fri Jul 04 08:17:35 2008 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Jul 04 08:17:35 2008 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Fri Jul 04 08:17:35 2008 - DoRewrites
Fri Jul 04 08:17:35 2008 - DoRewrites: New Url: '/FOLDER/b_BuyIntro.aspx'
Fri Jul 04 08:17:35 2008 - EvaluateRules: depth=0
Fri Jul 04 08:17:35 2008 - EvaluateRules: Rule 1 : 2 matches
Fri Jul 04 08:17:35 2008 - ApplyCaseConversion: after  '/folder/b_buyintro.aspx'
Fri Jul 04 08:17:35 2008 - EvaluateRules: Result (length 23): /folder/b_buyintro.aspx
Fri Jul 04 08:17:35 2008 - EvaluateRules: Last Rule
Fri Jul 04 08:17:35 2008 - EvaluateRules: returning 1
Fri Jul 04 08:17:35 2008 - DoRewrites: Rewrite Url to: '/folder/b_buyintro.aspx'
Fri Jul 04 08:17:35 2008 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Jul 04 08:17:35 2008 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Jul 04 08:17:36 2008 - HttpFilterProc: SF_NOTIFY_URL_MAP
Fri Jul 04 08:18:00 2008 - DllMain THREAD_DETACH, threadId= 94760
Fri Jul 04 08:18:00 2008 - DllMain THREAD_DETACH, threadId= 4724
Fri Jul 04 08:18:00 2008 - TerminateFilter
Fri Jul 04 08:18:00 2008 - DllMain PROCESS_DETACH
Fri Jul 04 08:18:00 2008 - AwaitWatcherTermination: closing dir handle.
Fri Jul 04 08:18:00 2008 - AwaitWatcherTermination: Waiting 150 ms ...
Fri Jul 04 08:18:00 2008 - AwaitWatcherTermination: watcher thread is terminated...

I see it doing the case conversion, but the URL doesn't change in the address bar. Is it possible for that to happen?

Thank you
Coordinator
Jul 5, 2008 at 3:52 AM

What you want is a REDIRECT, not a rewrite.  A Rewrite is a server-side action.  It happens only on the web server.  The browser is none-the-wiser.

IIRF does redirects.  Use the R flag.  Check the readme!