hi,
i want to redirect all URLs for my site to a single page "/index.htm".
The URLs i want to capture are either .html files or folder URLs, such
as /Folder1/Folder2/
i have the web site set to "a redirection to a URL" with "the exact URL
entered above" ticked.
the best i can do so far is as follows:
*;*.html;/index.htm
this catches all the .html files and sends them to /index.html.
however, when i try to match a folder URL to the list, it doesn't catch
folder URLs. this is what i tried:
*;*.html;/index.htm;*/;/index.html
obviously the IIS expression parser doesn't like */ for some reason.
can anyone suggest another way?
thanks in advance
tim.
p.s. why do all the examples in the IIS docs start with *;
the docs say the expression should be pairs of values, separated with a
semi-colon. but all the examples have an odd number of values so they
aren't exactly pairs!