# IsapiRewrite4.ini
#
# ini file for the ISAPI rewriter. 
# 
# Examples of case conversion in the substitution string. 
# 
# Fri, 01 Feb 2008  10:07
#

RewriteLogLevel 3


# These rules match URLs that end in asp.
# They case-fold to lowercase or uppercase in the substitution pattern.
#
# Example input and expected outputs.
#
# Input                                  Output
# ------------------------------------------------------------------
# /lowercase/Alpha/Beta/Gamma.asp        /lowercase-output/alpha/beta/gamma.asp
# /uppercase/Alpha/Beta/Gamma.asp        /uppercase-output/ALPHA/BETA/GAMMA.asp
# /OneCharLower/AeIoU.asp                /OneCharLower-output/aeIoU.asp
# /OneCharUpper/pagenotfound.asp         /OneCharUpper-output/Pagenotfound.asp

RewriteRule ^/lowercase/(.+)\.asp$  /lowercase-output/#L$1#E.asp  [L]

RewriteRule ^/uppercase/(.+)\.asp$  /uppercase-output/#U$1#E.asp  [L]

RewriteRule ^/OneCharLower/(.+)\.asp$  /OneCharLower-output/#l$1.asp  [L]

RewriteRule ^/OneCharUpper/(.+)\.asp$  /OneCharUpper-output/#u$1.asp  [L]

Last edited May 30, 2008 at 11:42 PM by Cheeso, version 1

Comments

No comments yet.