Well it turns out it was partially my own ignorance on the subject. IIS does not even reference .htaccess files so I was able to convert this to web.config.
However, there is one particular page that still gives a HTTP 500 error. What could I check to troubleshoot this page?