mirror of
https://github.com/cydrobolt/polr.git
synced 2024-09-19 15:11:40 +02:00
Add IIS support
This commit is contained in:
parent
6039cb04a5
commit
f0d2fa7b0b
21
web.config.example
Normal file
21
web.config.example
Normal file
@ -0,0 +1,21 @@
|
||||
<!-- Please append this to your web.config if you are using IIS -->
|
||||
<rewrite>
|
||||
<rules>
|
||||
<rule name="rule 3Z" stopProcessing="true">
|
||||
<match url="^([a-zA-Z0-9]+)\?([a-zA-Z0-9]+)$" />
|
||||
<action type="Rewrite" url="//r.php?u={R:1}&lkey={R:2}" appendQueryString="true" />
|
||||
</rule>
|
||||
<rule name="rule 4Z" stopProcessing="true">
|
||||
<match url="^([a-zA-Z0-9]+)/?$" />
|
||||
<action type="Rewrite" url="//r.php?u={R:1}" appendQueryString="true" />
|
||||
</rule>
|
||||
<rule name="rule 5Z" stopProcessing="true">
|
||||
<match url="^t-([a-zA-Z0-9]+)/?$" />
|
||||
<action type="Rewrite" url="//r.php?u=t-{R:1}" appendQueryString="true" />
|
||||
</rule>
|
||||
<rule name="rule 6Z" stopProcessing="true">
|
||||
<match url="^/?\+([a-zA-Z0-9]+)$" />
|
||||
<action type="Rewrite" url="//stats.php?bv={R:1}" appendQueryString="true" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
Loading…
Reference in New Issue
Block a user