|
IIS does NOT have .htaccess files people UNLESS they have purchased ISAPI Rewrite (an ISAPI filter written to emulate Mod_Rewrite).
If you have IIS 7.x, it now comes with a redirection utility similar to Mod_Rewrite, but instead of being based on .htaccess files, it's based on a web.conf type file.
As I mentioned before, you can also buy ISAPI rewrite to run on IIS 6 and IIS 7. It comes in 32 bit and 64 bit versions. It is about 99% compatible with Mod_Rewrite. The exact same commands (minus a few flags that don't work because the operating system is not Linux/Unix) work in the .htaccess files for ISAPI Rewrite as work for Mod_Rewrite.
Your other option if you're using a server-side scripting language like ASP, ASPX, C#, etc. is to just modify the code for the old page so that it sets the status in the header object to 404 Moved Permanently and the Location in the header object to the new URL. This is probably the LEAST desireable approach.
|