Quick Development Resources

URL Rewriting on IIS6 with Helicon’s ISAPI Rewrite

Redirection of all contents of a virtual directory to another URL

RewriteEngine On
RewriteBase /virtual-directory/
RewriteRule ^(.*) http://host.domain.ext/newvirtualdirectory/$1 [R:301,L]

Exclude a subdirectory in a virtual directory from rewrite processing

RewriteRule ^(excluded-dir1|excluded-dir2)($|/) – [L]

US State Abbreviations (comma delimited)

AK, AL, AR, AZ, CA, CO, CT, DC, DE, FL, GA, HI, IA, ID, IL, IN, KS, KY, LA, MA, MD, ME, MI, MN, MO, MS, MT, NC, ND, NE, NH, NJ, NM, NV, NY, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VA, VT, WA, WI, WV, WY

US State Full Names (comma delimited)

Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, Wyoming

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook


*

three × five =