Added:
/trunk/public/iis
/trunk/public/iis/.htaccess
/trunk/public/iis/.htaccess-admin
/trunk/public/iis/readme.txt
/trunk/public/iis/web-admin.config
/trunk/public/iis/web.config
=======================================
--- /dev/null
+++ /trunk/public/iis/.htaccess Mon Feb 8 08:55:47 2010
@@ -0,0 +1,5 @@
+RewriteEngine on
+#RewriteBase /
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule . index.php [L]
=======================================
--- /dev/null
+++ /trunk/public/iis/.htaccess-admin Mon Feb 8 08:55:47 2010
@@ -0,0 +1,5 @@
+RewriteEngine on
+#RewriteBase /admin
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule . index.php [L]
=======================================
--- /dev/null
+++ /trunk/public/iis/readme.txt Mon Feb 8 08:55:47 2010
@@ -0,0 +1,11 @@
+For Microsoft URL Rewrite
+- copy web.config to your JobberBase root folder
+- copy web-admin.config to your JobberBase "admin" folder and rename it to
web.config
+
+For ISAPI Rewrite:
+- copy .htaccess to your JobberBase root folder
+(an .htaccess file already exists in the root folder but you can safely
overwrite it)
+- copy .htaccess-admin to your JobberBase "admin" folder and rename it
to .htaccess
+(an .htaccess file already exists in the root folder but you can safely
overwrite it)
+- if you still get a 404 (page not found) error, try to uncomment (by
removing the # char from the beginning of the line)
+the #RewriteBase / line from your root .htaccess and the #RewriteBase
/admin line from your admin .htaccess
=======================================
--- /dev/null
+++ /trunk/public/iis/web-admin.config Mon Feb 8 08:55:47 2010
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <defaultDocument>
+
+ <files>
+ <add value="/admin/index.php" />
+ </files>
+ </defaultDocument>
+ <rewrite>
+ <rules>
+ <clear/>
+
+ <rule name="RewriteUserFriendlyURL5" stopProcessing="true">
+ <match url="^([^/]+)/?$" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
+ <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite" url="?page={R:1}" />
+ </rule>
+
+ <rule name="RewriteUserFriendlyURL6" stopProcessing="true">
+ <match url="^([^/]+)/([^/]+)/?$" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
+ <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite" url="?page={R:1}&id={R:2}"
/>
+ </rule>
+
+
+ <rule name="RewriteUserFriendlyURL7" stopProcessing="true">
+ <match url="^([^/]+)/([^/]+)/([^/]+)/$" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
+ <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite"
url="?page={R:1}&id={R:2}&extra={R:3}" />
+ </rule>
+
+
+ </rules>
+ </rewrite>
+
+ </system.webServer>
+</configuration>
=======================================
--- /dev/null
+++ /trunk/public/iis/web.config Mon Feb 8 08:55:47 2010
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <defaultDocument>
+ <files>
+ <add value="index.php" />
+ </files>
+ </defaultDocument>
+ <rewrite>
+ <rules>
+
+ <rule name="RewriteUserFriendlyURL1" stopProcessing="true">
+ <match url="^([^/]+)/?$" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
+ <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite" url="?page={R:1}" />
+ </rule>
+
+ <rule name="RewriteUserFriendlyURL2" stopProcessing="true">
+ <match url="^([^/]+)/([^/]+)/?$" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
+ <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite" url="?page={R:1}&id={R:2}"
/>
+ </rule>
+
+
+ <rule name="RewriteUserFriendlyURL3" stopProcessing="true">
+ <match url="^([^/]+)/([^/]+)/([^/]+)/$" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
+ <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite"
url="?page={R:1}&id={R:2}&extra={R:3}" />
+ </rule>
+
+ <rule name="RewriteUserFriendlyURL4" stopProcessing="true">
+ <match url="^([^/]+)/([^/]+)/([^/]+)/([^/]+)/$" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
+ <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
+ </conditions>
+ <action type="Rewrite"
url="?page={R:1}&id={R:2}&extra={R:3}&referer={R:4}" />
+ </rule>
+
+ </rules>
+ </rewrite>
+
+ </system.webServer>
+</configuration>