Adilol

IIS web.config

Sep 24th, 2011
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3.     <system.webServer>
  4.         <rewrite>
  5.             <rules>
  6.                 <rule name="Imported Rule 1">
  7.                     <match url="^(|/)$" ignoreCase="false" />
  8.                     <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
  9.                 </rule>
  10.                 <rule name="Imported Rule 2">
  11.                     <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
  12.                     <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
  13.                 </rule>
  14.                 <rule name="Imported Rule 3">
  15.                     <match url="^(.*)\.htm$" />
  16.                     <action type="Rewrite" url="{R:1}.php" />
  17.                 </rule>
  18.                 <rule name="Imported Rule 4">
  19.                     <match url="^(|/)$" ignoreCase="false" />
  20.                     <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
  21.                 </rule>
  22.                 <rule name="Imported Rule 5">
  23.                     <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
  24.                     <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
  25.                 </rule>
  26.             </rules>
  27.         </rewrite>
  28.     </system.webServer>
  29. </configuration>
Add Comment
Please, Sign In to add comment