ISAPI Rewriting, Devices and Korean XML
Taking all my TFTP Provisioning Service stuff at my day job today and providing an HTTPS alternative. Seems that some VOIP devices want to make an HTTPS call for their configuration files. They expect what the manufacturer programmed them to expect, which in this particular case is what one dood referred to jokingly as "Korean XML" - it has no root element! That's no big deal, I'll do my stuff and send the device whatever it wants, well-formed or not. The big problem is the device is only smart enough to ask for: https://myserver/myfolder/DEVICEKEYWITHLONGMACADDRESS.XML Ok, now how the hell am I gonna map that to my: https://myserver/myfolder/default.aspx?id=DEVICEKEYWITHLONGMACADDRESS The answer? ISAPI_Rewrite from Helicon . They have a freeware version, and it handles very nice REGEX URL Rewrites at the IIS level (e.g., way before you ever get to ASP.NET) - which was exactly what I needed. The Rules file for this particular one is elegantly simple: [ISAPI_Rewrit...