daily pastebin goal
1%
SHARE
TWEET

Aprian Diaz Novandi / Web.config CakePHP

a guest Jul 13th, 2010 253 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <rewrite>
  2.     <rules>
  3.         <rule name="Imported Rule 1" stopProcessing="true">
  4.             <match url="^(img|css|files|js)(.*)$" ignoreCase="false" />
  5.             <action type="Rewrite" url="/app/webroot/{R:1}{R:2}" />
  6.         </rule>
  7.         <rule name="Imported Rule 2" stopProcessing="true">
  8.             <match url="^$" ignoreCase="false" />
  9.             <action type="Rewrite" url="index.php" />
  10.         </rule>
  11.         <rule name="Imported Rule 3" stopProcessing="true">
  12.             <match url="^(.+)\?(.*)$" ignoreCase="false" />
  13.             <action type="Rewrite" url="index.php?url=/{R:1}&amp;{R:2}" appendQueryString="false" />
  14.         </rule>
  15.         <rule name="Imported Rule 4" stopProcessing="true">
  16.             <match url="^(.*)$" ignoreCase="false" />
  17.             <action type="Rewrite" url="index.php?url=/{R:1}" appendQueryString="false" />
  18.         </rule>
  19.     </rules>
  20. </rewrite>
RAW Paste Data
Top