File: D:/web archive/conferencesearch (old) (to delete)/web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Redirect to book/index.asp" stopProcessing="true">
<match url="([_[0-9a-z-]+)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_URI}" pattern="^[^/]*$" negate="true" />
<add input="{REQUEST_URI}" pattern="/$" negate="true" />
<add input="{REQUEST_URI}" pattern="/book/" negate="true" />
<add input="{REQUEST_URI}" pattern="[.-]" negate="true" />
<add input="{REQUEST_URI}" matchType="Pattern" pattern="/bam[0-9]" ignoreCase="true" negate="true" />
</conditions>
<action type="Redirect" url="book/index.asp?id={R:1}" redirectType="Temporary" />
</rule>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="^conferencesearch.co.uk$" />
</conditions>
<action type="Redirect" url="http://www.conferencesearch.co.uk/{R:1}" redirectType="Permanent" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url="^index\.php$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="None" />
</rule>
<rule name="Imported Rule 3" stopProcessing="true">
<match url="." ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="/index.php" />
</rule>
</rules>
<outboundRules>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
<httpErrors errorMode="DetailedLocalOnly" />
<defaultDocument>
<files>
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>