(no commit message)
authorymh <ymh.work@gmail.com>
Thu, 15 Apr 2010 14:00:41 +0200
changeset 59 b14746e93566
parent 58 4e933452d538
child 60 71f4ec652fd8
child 63 75a7a9d56840
(no commit message)
web/thdProject/web/web.config
--- a/web/thdProject/web/web.config	Wed Apr 14 20:59:55 2010 +0200
+++ b/web/thdProject/web/web.config	Thu Apr 15 14:00:41 2010 +0200
@@ -3,22 +3,36 @@
     <system.webServer>
         <rewrite>
             <rules>
-                <rule name="Imported Rule 1" enabled="false">
+                <rule name="Imported Rule 1" enabled="true">
                     <match url="^$" ignoreCase="false" />
-                    <action type="Rewrite" url="index.html" appendQueryString="true" />
+                    <action type="Rewrite" url="index.html" appendQueryString="true" logRewrittenUrl="true" />
                 </rule>
-                <rule name="Imported Rule 2" enabled="false">
-                    <match url="^([^.]+)$" ignoreCase="false" />
-                    <action type="Rewrite" url="{R:1}.html" appendQueryString="true" />
+                <rule name="Imported Rule 2" enabled="true">
+                    <match url="^([^.]+)$" ignoreCase="true" />
+                    <action type="Rewrite" url="{R:1}.html" appendQueryString="true" logRewrittenUrl="true" />
                 </rule>
-                <rule name="Imported Rule 3" enabled="false" stopProcessing="true">
+                <rule name="Imported Rule 3" enabled="true" stopProcessing="true">
                     <match url="^(.*)$" ignoreCase="false" />
                     <conditions logicalGrouping="MatchAll">
-                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
+                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                     </conditions>
-                    <action type="Rewrite" url="index.php" appendQueryString="true" />
+                    <action type="Rewrite" url="index.php" appendQueryString="true" logRewrittenUrl="true" />
                 </rule>
             </rules>
         </rewrite>
+        <tracing>
+            <traceFailedRequests>
+                <remove path="*" />
+                <add path="*">
+                    <traceAreas>
+                        <add provider="ASP" verbosity="Verbose" />
+                        <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" />
+                        <add provider="ISAPI Extension" verbosity="Verbose" />
+                        <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI" verbosity="Verbose" />
+                    </traceAreas>
+                    <failureDefinitions timeTaken="00:00:00" statusCodes="401.3,500,404" />
+                </add>
+            </traceFailedRequests>
+        </tracing>
     </system.webServer>
 </configuration>