Advertisement
swordf1zh

sibpe_web.config3

Sep 11th, 2015
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.76 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3.     <system.webServer>
  4.         <rewrite>
  5.             <rules>
  6.                 <rule name="slim"  stopProcessing="true">
  7.                     <match url="^api/v0/(.*)$" ignoreCase="false" />
  8.                     <conditions>
  9.                         <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  10.                         <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  11.                     </conditions>
  12.                     <action type="Rewrite" url="api/v0/index.php/{R:0}" appendQueryString="true" />
  13.                 </rule>
  14.             </rules>
  15.         </rewrite>
  16.         <httpErrors existingResponse="PassThrough" />
  17.     </system.webServer>
  18. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement