Hi, I have my web.config file setup and its working for the most part. I am having trouble with a few small rewrites though.
(this is not using an htaccess file or the apache mod_rewrite language)
When someone submits a blank comment the "wp-comments-post.php" file gives a 500 error.
I also get the servers 404 error instead of the WordPress 404 page.
Everything else with the "pretty" links seems to be working just fine. Does anyone have a more expansive web.config file that covers everything? FYI, this problem exists whether the blog is the main site or in a sub folder.
Here is my web.config file:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="WordPress" patternSyntax="Wildcard">
<match url="*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" pattern="" ignoreCase="false" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="blog/index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Thanks!