<?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: Running Drupal with Clean URL on Nginx or Lighttpd</title>
	<atom:link href="http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/feed" rel="self" type="application/rss+xml" />
	<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd</link>
	<description>Web Hosting Blog by a Software Developer</description>
	<lastBuildDate>Wed, 11 Aug 2010 22:38:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: thinkfloyd</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-1#comment-1599</link>
		<dc:creator>thinkfloyd</dc:creator>
		<pubDate>Fri, 16 Apr 2010 17:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-1599</guid>
		<description>I am using nginx/0.7.62
I still see the problem with encoding the ‘+’ in the search queries, as mentioned above. 

Did any one else run into this? What is the solution?</description>
		<content:encoded><![CDATA[<p>I am using nginx/0.7.62<br />
I still see the problem with encoding the ‘+’ in the search queries, as mentioned above. </p>
<p>Did any one else run into this? What is the solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scotty</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-#comment-449</link>
		<dc:creator>scotty</dc:creator>
		<pubDate>Fri, 06 Mar 2009 05:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-449</guid>
		<description>&lt;p&gt;Thanks. Doesn&#039;t know that @ syntax --&gt; Actually wasn&#039;t sure whether it was available when my article was written in the 1st place.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Thanks. Doesn&#8217;t know that @ syntax &#8211;&gt; Actually wasn&#8217;t sure whether it was available when my article was written in the 1st place.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliff Wells</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-1#comment-450</link>
		<dc:creator>Cliff Wells</dc:creator>
		<pubDate>Mon, 02 Mar 2009 23:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-450</guid>
		<description>&lt;p&gt;I&#039;d probably do something like this for Nginx (based solely on your example config):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;location / {
        root /var/www;
        index index.php;
        error_page 404 = @drupal;
}

location @drupal {
        rewrite ^(.*)$ /index.php?q=$1 last;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is more efficient than the &quot;if&quot; conditional test.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;d probably do something like this for Nginx (based solely on your example config):</p>
<pre><code>location / {
        root /var/www;
        index index.php;
        error_page 404 = @drupal;
}

location @drupal {
        rewrite ^(.*)$ /index.php?q=$1 last;
}
</code></pre>
<p>This is more efficient than the &#8220;if&#8221; conditional test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-1#comment-448</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Mon, 02 Mar 2009 11:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-448</guid>
		<description>&lt;p&gt;Thanks for sharing these codeing with me it&#039;&#039;s really helpful for me .One thing I noticed that breaks on Drupal 6.6 when changing ‘query’ to ‘path’ is the page advance tags at the bottom of the front page, forum listing page, and blogs page no longer works. No matter what page number you click on, only the first page loads  &lt;a href=&quot;http://www.infinitylogodesign.com/Design/Label-Design/&quot;&gt;label designs&lt;/a&gt; &#124; &lt;a href=&quot;http://www.infinitylogodesign.com/Design/Custom-Logo-Design/&quot;&gt;customized logo&lt;/a&gt; &#124; &lt;a href=&quot;http://www.infinitylogodesign.com/Design/Company-Logo/&quot;&gt;buy company logo&lt;/a&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for sharing these codeing with me it&#8221;s really helpful for me .One thing I noticed that breaks on Drupal 6.6 when changing ‘query’ to ‘path’ is the page advance tags at the bottom of the front page, forum listing page, and blogs page no longer works. No matter what page number you click on, only the first page loads  <a href="http://www.infinitylogodesign.com/Design/Label-Design/">label designs</a> | <a href="http://www.infinitylogodesign.com/Design/Custom-Logo-Design/">customized logo</a> | <a href="http://www.infinitylogodesign.com/Design/Company-Logo/">buy company logo</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-1#comment-447</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Fri, 27 Feb 2009 17:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-447</guid>
		<description>&lt;p&gt;Hello, your tutorial is awesome, but can you suggest the way of getting Imagecache and Nginx (without Apache) to work together? Many people use Imagecache and it seems - it needs additional rewrite rules.
Any help would be appreciate!&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hello, your tutorial is awesome, but can you suggest the way of getting Imagecache and Nginx (without Apache) to work together? Many people use Imagecache and it seems &#8211; it needs additional rewrite rules.<br />
Any help would be appreciate!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-1#comment-446</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 26 Nov 2008 13:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-446</guid>
		<description>&lt;p&gt;Undefined index: query in /srv/www/lighttpd/sites/default/settings.php on line 234 PHP Notice: Undefined index: query in /srv/www/lighttpd/sites/default/settings.php on line 235&lt;/p&gt;
&lt;p&gt;What is the &lt;a href=&quot;http://www.cafemuhabbet.com/&quot; title=&quot;adtech ile reklam 2.0 dönemi başlıyor ve Trkycmhrytllbtpydrklcktr r10.net seo yarışması&quot;&gt;adtech ile reklam 2.0 dönemi başlıyor ve Trkycmhrytllbtpydrklcktr r10.net seo yarışması&lt;/a&gt; problem :S&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Undefined index: query in /srv/www/lighttpd/sites/default/settings.php on line 234 PHP Notice: Undefined index: query in /srv/www/lighttpd/sites/default/settings.php on line 235</p>
<p>What is the <a href="http://www.cafemuhabbet.com/" title="adtech ile reklam 2.0 dönemi başlıyor ve Trkycmhrytllbtpydrklcktr r10.net seo yarışması">adtech ile reklam 2.0 dönemi başlıyor ve Trkycmhrytllbtpydrklcktr r10.net seo yarışması</a> problem :S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bigbet@126.com</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-1#comment-445</link>
		<dc:creator>bigbet@126.com</dc:creator>
		<pubDate>Tue, 25 Nov 2008 11:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-445</guid>
		<description>&lt;p&gt;how to change this apache .htaccess  for nginx
thanks&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=&#124;\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a &lt;script&gt; tag in URL
RewriteCond %{QUERY_STRING} (\&lt;&#124;%3C).*script.*(\&gt;&#124;%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=&#124;\[&#124;\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=&#124;\[&#124;\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver&#039;s URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

# RewriteBase /

########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/&#124;\.php&#124;\.html&#124;\.htm&#124;\.feed&#124;\.pdf&#124;\.raw&#124;/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>how to change this apache .htaccess  for nginx<br />
thanks</p>
<pre><code>RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a &lt;script&gt; tag in URL
RewriteCond %{QUERY_STRING} (\&lt;|%3C).*script.*(\&gt;|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

# RewriteBase /

########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-1#comment-444</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 22 Nov 2008 02:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-444</guid>
		<description>&lt;p&gt;Guys,&lt;/p&gt;
&lt;p&gt;One thing I noticed that breaks on Drupal 6.6  when changing &#039;query&#039; to &#039;path&#039; is the page advance tags at the bottom of the front page, forum listing page, and blogs page no longer works.  No matter what page number you click on, only the first page loads.   I changed it back to query and they now work.  Be careful of these changes.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I can live with the errors filling the logs so long as the site works properly.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Guys,</p>
<p>One thing I noticed that breaks on Drupal 6.6  when changing &#8216;query&#8217; to &#8216;path&#8217; is the page advance tags at the bottom of the front page, forum listing page, and blogs page no longer works.  No matter what page number you click on, only the first page loads.   I changed it back to query and they now work.  Be careful of these changes.
</p>
<p>I can live with the errors filling the logs so long as the site works properly.</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-#comment-425</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 31 Oct 2008 19:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-425</guid>
		<description>&lt;p&gt;Thanks for the php code. I&#039;m using it on one of my Drupal sites right now.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;A HREF=&quot;http://www.supremebuy.com/&quot;&gt;supreme buy&lt;/A&gt; - &lt;A HREF=&quot;http://www.supremebuy.com/KeywordElite&quot;&gt;keyword elite&lt;/A&gt; - &lt;A HREF=&quot;http://www.supremebuy.com/SeoElite&quot;&gt;seo elite&lt;/A&gt; - &lt;A HREF=&quot;http://www.supremebuy.com/Water4Gas&quot;&gt;water4gas&lt;/A&gt; - &lt;A HREF=&quot;http://www.supremebuy.com/FatLoss4Idiots&quot;&gt;fat loss 4 idiots&lt;/A&gt; - &lt;A HREF=&quot;http://www.supremebuy.com/RocketSpanish&quot;&gt;rocket spanish&lt;/A&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the php code. I&#8217;m using it on one of my Drupal sites right now.</p>
<hr />
<p><a HREF="http://www.supremebuy.com/">supreme buy</a> &#8211; <a HREF="http://www.supremebuy.com/KeywordElite">keyword elite</a> &#8211; <a HREF="http://www.supremebuy.com/SeoElite">seo elite</a> &#8211; <a HREF="http://www.supremebuy.com/Water4Gas">water4gas</a> &#8211; <a HREF="http://www.supremebuy.com/FatLoss4Idiots">fat loss 4 idiots</a> &#8211; <a HREF="http://www.supremebuy.com/RocketSpanish">rocket spanish</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://hostingfu.com/article/running-drupal-with-clean-url-on-nginx-or-lighttpd/comment-page-#comment-426</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 31 Oct 2008 19:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://hostingfu.com/?p=82#comment-426</guid>
		<description>&lt;p&gt;Same here. Thanks a lot.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Same here. Thanks a lot.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
