<?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>Abstract Syntax</description>
	<lastBuildDate>Fri, 23 Jul 2010 14:43:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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(&#8217;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>
	<item>
		<title>By: Brian</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-2389</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 26 Apr 2010 14:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-2389</guid>
		<description>Quick note, if you have static compression enabled on your site the URL Rewrite module will not work. 

This is really easy to fix, but can obviously drive you nuts if overlooked.

To disable static compression,
In IIS select the site you have cake installed in (same place you are doing all the rewrite rules).
open Compression, and make sure neither check box is checked, then click apply.

-You might have to restart your website for the changes to occur.</description>
		<content:encoded><![CDATA[<p>Quick note, if you have static compression enabled on your site the URL Rewrite module will not work. </p>
<p>This is really easy to fix, but can obviously drive you nuts if overlooked.</p>
<p>To disable static compression,<br />
In IIS select the site you have cake installed in (same place you are doing all the rewrite rules).<br />
open Compression, and make sure neither check box is checked, then click apply.</p>
<p>-You might have to restart your website for the changes to occur.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elijha</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-1186</link>
		<dc:creator>Elijha</dc:creator>
		<pubDate>Mon, 08 Mar 2010 14:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-1186</guid>
		<description>looks like the config was blocked due to brackets .. here it is with different brackets (should be easy enough to find-replace on it)

(?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?)
(configuration)
    (system.webServer)
        (rewrite)
            (rules)
                (rule name=&quot;Imported Rule 1&quot; stopProcessing=&quot;true&quot;)
                    (match url=&quot;^$&quot; ignoreCase=&quot;false&quot; /)
                    (action type=&quot;Rewrite&quot; url=&quot;app/webroot/&quot; /)
                (/rule)
                (rule name=&quot;Imported Rule 2&quot; stopProcessing=&quot;true&quot;)
                    (match url=&quot;(.*)&quot; ignoreCase=&quot;false&quot; /)
                    (action type=&quot;Rewrite&quot; url=&quot;app/webroot/{R:1}&quot; /)
                (/rule)
                (rule name=&quot;Imported Rule 3&quot; stopProcessing=&quot;true&quot;)
                    (match url=&quot;^$&quot; ignoreCase=&quot;false&quot; /)
                    (action type=&quot;Rewrite&quot; url=&quot;webroot/&quot; /)
                (/rule)
                (rule name=&quot;Imported Rule 4&quot; stopProcessing=&quot;true&quot;)
                    (match url=&quot;(.*)&quot; ignoreCase=&quot;false&quot; /)
                    (action type=&quot;Rewrite&quot; url=&quot;webroot/{R:1}&quot; /)
                (/rule)
                (rule name=&quot;Imported Rule 5&quot; stopProcessing=&quot;true&quot;)
                    (match url=&quot;^(.*)$&quot; ignoreCase=&quot;false&quot; /)
                    (conditions logicalGrouping=&quot;MatchAll&quot;)
                        (add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot; pattern=&quot;&quot; ignoreCase=&quot;false&quot; /)
                        (add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot; pattern=&quot;&quot; ignoreCase=&quot;false&quot; /)
                    (/conditions)
                    (action type=&quot;Rewrite&quot; url=&quot;index.php?url={R:1}&quot; appendQueryString=&quot;true&quot; /)
                (/rule)
            (/rules)
        (/rewrite)
    (/system.webServer)
(/configuration)</description>
		<content:encoded><![CDATA[<p>looks like the config was blocked due to brackets .. here it is with different brackets (should be easy enough to find-replace on it)</p>
<p>(?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?)<br />
(configuration)<br />
    (system.webServer)<br />
        (rewrite)<br />
            (rules)<br />
                (rule name=&#8221;Imported Rule 1&#8243; stopProcessing=&#8221;true&#8221;)<br />
                    (match url=&#8221;^$&#8221; ignoreCase=&#8221;false&#8221; /)<br />
                    (action type=&#8221;Rewrite&#8221; url=&#8221;app/webroot/&#8221; /)<br />
                (/rule)<br />
                (rule name=&#8221;Imported Rule 2&#8243; stopProcessing=&#8221;true&#8221;)<br />
                    (match url=&#8221;(.*)&#8221; ignoreCase=&#8221;false&#8221; /)<br />
                    (action type=&#8221;Rewrite&#8221; url=&#8221;app/webroot/{R:1}&#8221; /)<br />
                (/rule)<br />
                (rule name=&#8221;Imported Rule 3&#8243; stopProcessing=&#8221;true&#8221;)<br />
                    (match url=&#8221;^$&#8221; ignoreCase=&#8221;false&#8221; /)<br />
                    (action type=&#8221;Rewrite&#8221; url=&#8221;webroot/&#8221; /)<br />
                (/rule)<br />
                (rule name=&#8221;Imported Rule 4&#8243; stopProcessing=&#8221;true&#8221;)<br />
                    (match url=&#8221;(.*)&#8221; ignoreCase=&#8221;false&#8221; /)<br />
                    (action type=&#8221;Rewrite&#8221; url=&#8221;webroot/{R:1}&#8221; /)<br />
                (/rule)<br />
                (rule name=&#8221;Imported Rule 5&#8243; stopProcessing=&#8221;true&#8221;)<br />
                    (match url=&#8221;^(.*)$&#8221; ignoreCase=&#8221;false&#8221; /)<br />
                    (conditions logicalGrouping=&#8221;MatchAll&#8221;)<br />
                        (add input=&#8221;{REQUEST_FILENAME}&#8221; matchType=&#8221;IsDirectory&#8221; negate=&#8221;true&#8221; pattern=&#8221;" ignoreCase=&#8221;false&#8221; /)<br />
                        (add input=&#8221;{REQUEST_FILENAME}&#8221; matchType=&#8221;IsFile&#8221; negate=&#8221;true&#8221; pattern=&#8221;" ignoreCase=&#8221;false&#8221; /)<br />
                    (/conditions)<br />
                    (action type=&#8221;Rewrite&#8221; url=&#8221;index.php?url={R:1}&#8221; appendQueryString=&#8221;true&#8221; /)<br />
                (/rule)<br />
            (/rules)<br />
        (/rewrite)<br />
    (/system.webServer)<br />
(/configuration)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elijha</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-1185</link>
		<dc:creator>Elijha</dc:creator>
		<pubDate>Mon, 08 Mar 2010 14:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-1185</guid>
		<description>This all seems straight forward however I&#039;m proabably running into the fact that newer versions are a little different (as always). So mabye you can sugegst or update if at all possible as I&#039;m very new to IIS and especially how it uses URLrewrite.
CakePHP 1.2.4.8284.
IIS 7.5 (win 7)
I&#039;ve done the basic cake install and config for database all OK, however I noticed that the CSS on the default page was not loading so I&#039;ve been looking into the URL rewrite. Your tuturial was one of a very few clearly covering the steps needed (many others simply suggested things like ISAPIrewrite). 

However when I import the 3 .htaccess files in the order as you have written I get 5 Imported rules ( two starting with app/webroot/ and two with webroot/ and on with index.php?).

If I do not edit the rules (deleting the &#039;webroot&#039; or &#039;app/webroot&#039;) then on the initial cakePHP page the CSS file is loaded and it all looks normal, however follwing the tutorial as link and attempting through several others (such as http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/index.html)  gives me a 404 error when viewing somthing like http://localhost/users/register .  

Deleting the &#039;webroot&#039; and &#039;app/webroot&#039; from the rewrite rules does not help and stops CSS from loading on the default page also.

Here is the created web.config as imported from a current default cakePHP install on IIS 7



    
        
            
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                
                
                    
                    
                        
                        
                    
                    
                
            
        
    



Any help would be apreciated.</description>
		<content:encoded><![CDATA[<p>This all seems straight forward however I&#8217;m proabably running into the fact that newer versions are a little different (as always). So mabye you can sugegst or update if at all possible as I&#8217;m very new to IIS and especially how it uses URLrewrite.<br />
CakePHP 1.2.4.8284.<br />
IIS 7.5 (win 7)<br />
I&#8217;ve done the basic cake install and config for database all OK, however I noticed that the CSS on the default page was not loading so I&#8217;ve been looking into the URL rewrite. Your tuturial was one of a very few clearly covering the steps needed (many others simply suggested things like ISAPIrewrite). </p>
<p>However when I import the 3 .htaccess files in the order as you have written I get 5 Imported rules ( two starting with app/webroot/ and two with webroot/ and on with index.php?).</p>
<p>If I do not edit the rules (deleting the &#8216;webroot&#8217; or &#8216;app/webroot&#8217;) then on the initial cakePHP page the CSS file is loaded and it all looks normal, however follwing the tutorial as link and attempting through several others (such as <a href="http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/index.html)" rel="nofollow">http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/index.html)</a>  gives me a 404 error when viewing somthing like <a href="http://localhost/users/register" rel="nofollow">http://localhost/users/register</a> .  </p>
<p>Deleting the &#8216;webroot&#8217; and &#8216;app/webroot&#8217; from the rewrite rules does not help and stops CSS from loading on the default page also.</p>
<p>Here is the created web.config as imported from a current default cakePHP install on IIS 7</p>
<p>Any help would be apreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-976</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Fri, 26 Feb 2010 04:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-976</guid>
		<description>hello~

I download Cakephp 1.2.6 ver..and after Setting up Rewriting Rules, 
I find that paths have 5 rules...but in your example only have four rules..What&#039;s wrong ?</description>
		<content:encoded><![CDATA[<p>hello~</p>
<p>I download Cakephp 1.2.6 ver..and after Setting up Rewriting Rules,<br />
I find that paths have 5 rules&#8230;but in your example only have four rules..What&#8217;s wrong ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: » Installing CakePHP on IIS 7 Tobin Titus &#124; Coder Online</title>
		<link>http://tobint.com/blog/installing-cakephp-on-iis-7/comment-page-1/#comment-26</link>
		<dc:creator>» Installing CakePHP on IIS 7 Tobin Titus &#124; Coder Online</dc:creator>
		<pubDate>Wed, 23 Dec 2009 16:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://tobint.com/Blog/Installing-CakePHP-on-IIS-7#comment-26</guid>
		<description>[...] Visit link: » Installing CakePHP on IIS 7 Tobin Titus [...]</description>
		<content:encoded><![CDATA[<p>[...] Visit link: » Installing CakePHP on IIS 7 Tobin Titus [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
