<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Installing CakePHP on IIS 7</title>
	<atom:link href="http://tobint.com/blog/installing-cakephp-on-iis-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://tobint.com/blog/installing-cakephp-on-iis-7/</link>
	<description>You Are What You Don&#039;t Automate</description>
	<lastBuildDate>Fri, 13 Jan 2012 18:17:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jai</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-25888</link>
		<dc:creator>Jai</dc:creator>
		<pubDate>Mon, 21 Feb 2011 21:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-25888</guid>
		<description>Amazing.....Nothing works as per the instructions above. The site uploads with or without the rules and the IMG, CSS, JS, etc. do not load with or without rules.</description>
		<content:encoded><![CDATA[<p>Amazing&#8230;..Nothing works as per the instructions above. The site uploads with or without the rules and the IMG, CSS, JS, etc. do not load with or without rules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ClubDash</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-25566</link>
		<dc:creator>ClubDash</dc:creator>
		<pubDate>Sat, 19 Feb 2011 05:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-25566</guid>
		<description>Here is the code with ( and ). Use search/replace.

(?xml version=”1.0? encoding=”UTF-8??)
(configuration)
(system.webServer)
(rewrite)
(rules)
(rule name=”Imported Rule 0? stopProcessing=”true”)
(match url=”^(img&#124;css&#124;files&#124;js)(.*)$”)(/match)
(action type=”Rewrite” url=”/app/webroot/{R:1}{R:2}” appendQueryString=”false”)(/action)
(/rule)
(rule name=”Imported Rule 1? stopProcessing=”true”)
(match url=”^(.*)$” ignoreCase=”false” /)
(conditions logicalGrouping=”MatchAll”)
(add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /)
(add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /)
(/conditions)
(action type=”Rewrite” url=”index.php?url={R:1}” appendQueryString=”true” /)
(/rule)
(rule name=”Imported Rule 2? stopProcessing=”true”)
(match url=”^$” ignoreCase=”false” /)
(action type=”Rewrite” url=”/” /)
(/rule)
(rule name=”Imported Rule 3? stopProcessing=”true”)
(match url=”(.*)” ignoreCase=”false” /)
(action type=”Rewrite” url=”/{R:1}” /)
(/rule)
(rule name=”Imported Rule 4? stopProcessing=”true”)
(match url=”^(.*)$” ignoreCase=”false” /)
(conditions logicalGrouping=”MatchAll”)
(add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /)
(add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /)
(/conditions)
(action type=”Rewrite” url=”index.php?url={R:1}” appendQueryString=”true” /)
(/rule)
(/rules)
(/rewrite)
(/system.webServer)
(/configuration)</description>
		<content:encoded><![CDATA[<p>Here is the code with ( and ). Use search/replace.</p>
<p>(?xml version=”1.0? encoding=”UTF-8??)<br />
(configuration)<br />
(system.webServer)<br />
(rewrite)<br />
(rules)<br />
(rule name=”Imported Rule 0? stopProcessing=”true”)<br />
(match url=”^(img|css|files|js)(.*)$”)(/match)<br />
(action type=”Rewrite” url=”/app/webroot/{R:1}{R:2}” appendQueryString=”false”)(/action)<br />
(/rule)<br />
(rule name=”Imported Rule 1? stopProcessing=”true”)<br />
(match url=”^(.*)$” ignoreCase=”false” /)<br />
(conditions logicalGrouping=”MatchAll”)<br />
(add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /)<br />
(add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /)<br />
(/conditions)<br />
(action type=”Rewrite” url=”index.php?url={R:1}” appendQueryString=”true” /)<br />
(/rule)<br />
(rule name=”Imported Rule 2? stopProcessing=”true”)<br />
(match url=”^$” ignoreCase=”false” /)<br />
(action type=”Rewrite” url=”/” /)<br />
(/rule)<br />
(rule name=”Imported Rule 3? stopProcessing=”true”)<br />
(match url=”(.*)” ignoreCase=”false” /)<br />
(action type=”Rewrite” url=”/{R:1}” /)<br />
(/rule)<br />
(rule name=”Imported Rule 4? stopProcessing=”true”)<br />
(match url=”^(.*)$” ignoreCase=”false” /)<br />
(conditions logicalGrouping=”MatchAll”)<br />
(add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /)<br />
(add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /)<br />
(/conditions)<br />
(action type=”Rewrite” url=”index.php?url={R:1}” appendQueryString=”true” /)<br />
(/rule)<br />
(/rules)<br />
(/rewrite)<br />
(/system.webServer)<br />
(/configuration)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ClubDash</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-25564</link>
		<dc:creator>ClubDash</dc:creator>
		<pubDate>Sat, 19 Feb 2011 05:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-25564</guid>
		<description>I have a Win 2008 IIS 7.5 FastCGI PHP 5.2 web server with Url Rewrite 2.0.  I was successful in combining several posts (found through google) and combined the code into one web.config file that: 1. Shows CSS/Imgs 2. Allows url rewrites - ex. domain.com/posts (works)... and domain.com/posts/view/1 (works)... and domain.com/index.php/posts/view/1 (works).

I added this code to my web.config file and used ftp to transfer the file.  I did not import the .htaccess files.

Here is the web.config code:



      
    
      
        
          
          
        
        
          
          
            
            
          
          
        
        
          
          
        
        
          
          
        
        
          
          
            
            
          
          
        
      
    
  


I hope this helps others.</description>
		<content:encoded><![CDATA[<p>I have a Win 2008 IIS 7.5 FastCGI PHP 5.2 web server with Url Rewrite 2.0.  I was successful in combining several posts (found through google) and combined the code into one web.config file that: 1. Shows CSS/Imgs 2. Allows url rewrites &#8211; ex. domain.com/posts (works)&#8230; and domain.com/posts/view/1 (works)&#8230; and domain.com/index.php/posts/view/1 (works).</p>
<p>I added this code to my web.config file and used ftp to transfer the file.  I did not import the .htaccess files.</p>
<p>Here is the web.config code:</p>
<p>I hope this helps others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-21174</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Tue, 04 Jan 2011 19:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-21174</guid>
		<description>Thanks Elijha for comming back and post the working rewrite rules!</description>
		<content:encoded><![CDATA[<p>Thanks Elijha for comming back and post the working rewrite rules!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elijha</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-11205</link>
		<dc:creator>Elijha</dc:creator>
		<pubDate>Sun, 26 Sep 2010 14:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-11205</guid>
		<description>OK .. after giving up (yep my comment above was way back in March) and installing / developing on a unix box I have gone back and got it running fine on IIS 7.5 under windows 7.
Key points 
1)  - Install as PRODUCTION 
see http://book.cakephp.org/view/914/Production  ie under your IIS Manager controll panel go to the &#039;Basic Settings&#039; of the site and set the &#039;Physical path&#039; to somthing like C:\inetpub\wwwroot\cake\app\webroot    - not just your cake directory.

2) use the URL Rewrite settings as shown http://book.cakephp.org/view/1636/URL-Rewrites-on-IIS7-Windows-hosts they do work.</description>
		<content:encoded><![CDATA[<p>OK .. after giving up (yep my comment above was way back in March) and installing / developing on a unix box I have gone back and got it running fine on IIS 7.5 under windows 7.<br />
Key points<br />
1)  &#8211; Install as PRODUCTION<br />
see <a href="http://book.cakephp.org/view/914/Production" rel="nofollow">http://book.cakephp.org/view/914/Production</a>  ie under your IIS Manager controll panel go to the &#8216;Basic Settings&#8217; of the site and set the &#8216;Physical path&#8217; to somthing like C:\inetpub\wwwroot\cake\app\webroot    &#8211; not just your cake directory.</p>
<p>2) use the URL Rewrite settings as shown <a href="http://book.cakephp.org/view/1636/URL-Rewrites-on-IIS7-Windows-hosts" rel="nofollow">http://book.cakephp.org/view/1636/URL-Rewrites-on-IIS7-Windows-hosts</a> they do work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mdrisser</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-6044</link>
		<dc:creator>mdrisser</dc:creator>
		<pubDate>Thu, 22 Jul 2010 22:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-6044</guid>
		<description>I discovered that as of CakePHP 1.3 you don&#039;t have to modify the imported URL Rewrite rules. Just leave the as they were imported and they should be fine.

If you are worried about it and you already modified the rules, disable the modified rules and reimport the .htaccess file. Now test your app, if everything works, delete the disabled rules and you&#039;re ready to go. If it doesn&#039;t work for you, at least your no worse off than you were before.</description>
		<content:encoded><![CDATA[<p>I discovered that as of CakePHP 1.3 you don&#8217;t have to modify the imported URL Rewrite rules. Just leave the as they were imported and they should be fine.</p>
<p>If you are worried about it and you already modified the rules, disable the modified rules and reimport the .htaccess file. Now test your app, if everything works, delete the disabled rules and you&#8217;re ready to go. If it doesn&#8217;t work for you, at least your no worse off than you were before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arrovs</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-5589</link>
		<dc:creator>Arrovs</dc:creator>
		<pubDate>Thu, 15 Jul 2010 19:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-5589</guid>
		<description>Great surwey. 
It all works perfectly.
Only difference is that iis7 have five rules and dont need change anything only accept import.
When it is done, reload page and voila ready to go.</description>
		<content:encoded><![CDATA[<p>Great surwey.<br />
It all works perfectly.<br />
Only difference is that iis7 have five rules and dont need change anything only accept import.<br />
When it is done, reload page and voila ready to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kimvm</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-3285</link>
		<dc:creator>kimvm</dc:creator>
		<pubDate>Wed, 26 May 2010 08:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-3285</guid>
		<description>Is still can&#039;t  get the css, js and img loaded.

I&#039;ve been using the web.config out of this article:
http://book.cakephp.org/view/1533/A-Note-on-mod_rewrite

Please any suggestions...</description>
		<content:encoded><![CDATA[<p>Is still can&#8217;t  get the css, js and img loaded.</p>
<p>I&#8217;ve been using the web.config out of this article:<br />
<a href="http://book.cakephp.org/view/1533/A-Note-on-mod_rewrite" rel="nofollow">http://book.cakephp.org/view/1533/A-Note-on-mod_rewrite</a></p>
<p>Please any suggestions&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kimvm</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-3213</link>
		<dc:creator>kimvm</dc:creator>
		<pubDate>Tue, 25 May 2010 14:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-3213</guid>
		<description>Following both your tutorial and also http://book.cakephp.org/complete/1528/Blog/cakephp/cakephp1x#URL-Rewrites-on-IIS7-Windows-hosts-1636 

I can&#039;t get the css loaded

In code (cakePhp):
css(&#039;style&#039;)); ?&gt; 

Translated in HTML by cakePHP:


But somehow the url_rewrite does not translate the &#039;/css/style.css&#039;  to app/webroot/css/


I&#039;ve tried a rewrite rule for this but without any luck:
RewriteRule ^/(img&#124;css&#124;files&#124;js)(.*)$ /{1}{2} 


Suggestions?</description>
		<content:encoded><![CDATA[<p>Following both your tutorial and also <a href="http://book.cakephp.org/complete/1528/Blog/cakephp/cakephp1x#URL-Rewrites-on-IIS7-Windows-hosts-1636" rel="nofollow">http://book.cakephp.org/complete/1528/Blog/cakephp/cakephp1x#URL-Rewrites-on-IIS7-Windows-hosts-1636</a> </p>
<p>I can&#8217;t get the css loaded</p>
<p>In code (cakePhp):<br />
css(&#8216;style&#8217;)); ?&gt; </p>
<p>Translated in HTML by cakePHP:</p>
<p>But somehow the url_rewrite does not translate the &#8216;/css/style.css&#8217;  to app/webroot/css/</p>
<p>I&#8217;ve tried a rewrite rule for this but without any luck:<br />
RewriteRule ^/(img|css|files|js)(.*)$ /{1}{2} </p>
<p>Suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharon Gilmore</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-2545</link>
		<dc:creator>Sharon Gilmore</dc:creator>
		<pubDate>Sat, 01 May 2010 19:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-2545</guid>
		<description>Thanks for this, but I can&#039;t get it to work...  I don&#039;t have access to the IIS Management Console, so I&#039;m changing them in an editor.

I&#039;m not clear on what I&#039;m supposed to change... here&#039;s what I have:

In /app/webroot my .htaccess file is now:


  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]

AddType application/x-javascript .js
AddType text/css .css

In /app the .htaccess file is:


  RewriteEngine on
  RewriteRule    ^$    /    [L]
  RewriteRule    (.*) /$1    [L]


and in / .htaccess is:


  RewriteEngine on
  RewriteRule    ^$ /app/    [L]
  RewriteRule    (.*) /app/$1 [L]


Do those look right? Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for this, but I can&#8217;t get it to work&#8230;  I don&#8217;t have access to the IIS Management Console, so I&#8217;m changing them in an editor.</p>
<p>I&#8217;m not clear on what I&#8217;m supposed to change&#8230; here&#8217;s what I have:</p>
<p>In /app/webroot my .htaccess file is now:</p>
<p>  RewriteEngine On<br />
  RewriteCond %{REQUEST_FILENAME} !-d<br />
  RewriteCond %{REQUEST_FILENAME} !-f<br />
  RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]</p>
<p>AddType application/x-javascript .js<br />
AddType text/css .css</p>
<p>In /app the .htaccess file is:</p>
<p>  RewriteEngine on<br />
  RewriteRule    ^$    /    [L]<br />
  RewriteRule    (.*) /$1    [L]</p>
<p>and in / .htaccess is:</p>
<p>  RewriteEngine on<br />
  RewriteRule    ^$ /app/    [L]<br />
  RewriteRule    (.*) /app/$1 [L]</p>
<p>Do those look right? Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

