2013-07-04 16:20:03 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<configuration>
|
|
|
|
<system.webServer>
|
|
|
|
<staticContent>
|
|
|
|
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="14.00:00:00" />
|
|
|
|
</staticContent>
|
2016-02-17 11:54:52 +02:00
|
|
|
<rewrite>
|
|
|
|
<rules>
|
|
|
|
<rule name="Download with db" stopProcessing="true">
|
|
|
|
<match url="download/(\d*)/(\d*)/.*\.(.*?)$" />
|
|
|
|
<action type="Rewrite" url="fetch.php?data={R:1}&db={R:2}&type={R:3}" appendQueryString="false" />
|
|
|
|
</rule>
|
|
|
|
<rule name="Download without db" stopProcessing="true">
|
|
|
|
<match url="download/(\d*)/.*\.(.*?)$" />
|
|
|
|
<action type="Rewrite" url="fetch.php?data={R:1}&type={R:2}" appendQueryString="false" />
|
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</rewrite>
|
2013-07-04 16:20:03 +03:00
|
|
|
</system.webServer>
|
|
|
|
</configuration>
|