~george-edison55/stack2rss/trunk

« back to all changes in this revision

Viewing changes to src/web.config

  • Committer: Nathan Osman
  • Date: 2011-11-09 18:39:41 UTC
  • Revision ID: admin@quickmediasolutions.com-20111109183941-7vfjl7xqshn11kz9
Added tags to question body, added 'closed' to question titles where appropriate, and added compatibility with IIS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<configuration>
 
3
    <system.webServer>
 
4
        <rewrite>
 
5
            <rules>
 
6
                <clear />
 
7
                <rule name="Resources" stopProcessing="true">
 
8
                    <match url="resources/(.*)" />
 
9
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
 
10
                    <action type="Rewrite" url="resources/{R:1}" />
 
11
                </rule>
 
12
                <rule name="Feeds">
 
13
                    <match url="([\w\.]+)(?:/(.*))?" />
 
14
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
 
15
                    <action type="Rewrite" url="feed.php?site={R:1}&amp;method={R:2}" />
 
16
                </rule>
 
17
            </rules>
 
18
        </rewrite>
 
19
        <httpErrors>
 
20
            <remove statusCode="404" subStatusCode="-1" />
 
21
            <error statusCode="404" prefixLanguageFilePath="" path="/error.php" responseMode="ExecuteURL" />
 
22
        </httpErrors>
 
23
    </system.webServer>
 
24
</configuration>