<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for MENSK Technologies Corporation</title>
	
	<link>http://www.mensk.com</link>
	<description>Life and Business - on Internet and Beyond</description>
	<pubDate>Thu, 20 Nov 2008 00:51:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/www-mensk-com-comments" type="application/rss+xml" /><item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by philwilson.org » Blog Archive » Mai blog! It is back!</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/459004328/</link>
		<dc:creator>philwilson.org » Blog Archive » Mai blog! It is back!</dc:creator>
		<pubDate>Tue, 18 Nov 2008 22:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-254</guid>
		<description>[...] being served from Apache+mod_php to Nginx+fastcgi (in particular I followed these instructions: Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress). I learnt a few things, although I’m sure most lessons will become apparent over the coming [...]</description>
		<content:encoded><![CDATA[<p>[...] being served from Apache+mod_php to Nginx+fastcgi (in particular I followed these instructions: Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress). I learnt a few things, although I&#8217;m sure most lessons will become apparent over the coming [...]</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/459004328" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-254</feedburner:origLink></item>
	<item>
		<title>Comment on How to prevent wordpress from messing up with your rich editing tags by John Pecheff</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/453355747/</link>
		<dc:creator>John Pecheff</dc:creator>
		<pubDate>Fri, 14 Nov 2008 04:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=125#comment-249</guid>
		<description>To help other users:

I searched for a while how to prevent the WP editor from changing my code, how to desactivate wpautop or wptexturize, how to remove the filters, etc, until I came to this post and finally "broke the code" for me. Read on.

So I found and tried WP-allow-tags because I just could not put in a simple script to verify a form in a post. But the plugin did not work for me, so I tried to modify it and create a new wpautop function. 

WP then just disabled the plugin as I created a fatal error, but at the same time it gave me the line of code where there was a conflict (I could have found it by searching through the installation of course). 

So I went to the  wp-includes/formatting.php  file and simply commented both function wpautop and wptexturize just leaving the proper return at the end. See below.

function wpautop($pee, $br = 1) {
/*
... lines of code ...
*/ 
return $pee; 
}

Same for wptexturize:

function wptexturize($text) {
/*
... lines of code ...
return $output;
*/
return $text;
}

That for sure worked for me! No more changing of my HTML or other code in posts when saving. And I did not notice any negative effects so far.

I hope it does work for you too if you need it that way.

Best,
John</description>
		<content:encoded><![CDATA[<p>To help other users:</p>
<p>I searched for a while how to prevent the WP editor from changing my code, how to desactivate wpautop or wptexturize, how to remove the filters, etc, until I came to this post and finally &#8220;broke the code&#8221; for me. Read on.</p>
<p>So I found and tried WP-allow-tags because I just could not put in a simple script to verify a form in a post. But the plugin did not work for me, so I tried to modify it and create a new wpautop function. </p>
<p>WP then just disabled the plugin as I created a fatal error, but at the same time it gave me the line of code where there was a conflict (I could have found it by searching through the installation of course). </p>
<p>So I went to the  wp-includes/formatting.php  file and simply commented both function wpautop and wptexturize just leaving the proper return at the end. See below.</p>
<p>function wpautop($pee, $br = 1) {<br />
/*<br />
&#8230; lines of code &#8230;<br />
*/<br />
return $pee;<br />
}</p>
<p>Same for wptexturize:</p>
<p>function wptexturize($text) {<br />
/*<br />
&#8230; lines of code &#8230;<br />
return $output;<br />
*/<br />
return $text;<br />
}</p>
<p>That for sure worked for me! No more changing of my HTML or other code in posts when saving. And I did not notice any negative effects so far.</p>
<p>I hope it does work for you too if you need it that way.</p>
<p>Best,<br />
John</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/453355747" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/wordpress/how-to-prevent-wordpress-from-changing-tags-and-text-formatting-rich-text-editor/#comment-249</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by grradmin</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/443720711/</link>
		<dc:creator>grradmin</dc:creator>
		<pubDate>Wed, 05 Nov 2008 20:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-245</guid>
		<description>I'm having possibly the same issue as clidiot above me was talking about.  Everything is fine as long as I have Apache + Wordpress on the same slice.  But as soon as I use the config on this page and through nginx into the mix it results in a redirect loop.  Firefox says "Redirect Loop - Firefox has detected that the server is redirecting the request for this address in a way that will never complete".  I don't use http://www.domain.com as my blog's URL, it is http://domain.com instead.  I've gone through the redirect rules and I don't see where it's adding that www. though :(</description>
		<content:encoded><![CDATA[<p>I&#8217;m having possibly the same issue as clidiot above me was talking about.  Everything is fine as long as I have Apache + Wordpress on the same slice.  But as soon as I use the config on this page and through nginx into the mix it results in a redirect loop.  Firefox says &#8220;Redirect Loop - Firefox has detected that the server is redirecting the request for this address in a way that will never complete&#8221;.  I don&#8217;t use <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> as my blog&#8217;s URL, it is <a href="http://domain.com" rel="nofollow">http://domain.com</a> instead.  I&#8217;ve gone through the redirect rules and I don&#8217;t see where it&#8217;s adding that <a href="http://www" rel="nofollow">http://www</a>. though <img src='http://www.mensk.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/443720711" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-245</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by clidiot</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/440636135/</link>
		<dc:creator>clidiot</dc:creator>
		<pubDate>Mon, 03 Nov 2008 01:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-242</guid>
		<description>PHEW!

After hours and hours of running this around and around, I tracked down a problem that was driving me insane. The config file posted has a redirect to add the www to every incoming request. My existing blog database, however, has the blog home URL listed without the www. When I got everything up and running, every incoming request would head into an infinite redirect loop between domain.com and www.domain.com.

Thank you for dropping this all together in one place. Very useful.</description>
		<content:encoded><![CDATA[<p>PHEW!</p>
<p>After hours and hours of running this around and around, I tracked down a problem that was driving me insane. The config file posted has a redirect to add the www to every incoming request. My existing blog database, however, has the blog home URL listed without the <a href="http://www" rel="nofollow">http://www</a>. When I got everything up and running, every incoming request would head into an infinite redirect loop between domain.com and <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a>.</p>
<p>Thank you for dropping this all together in one place. Very useful.</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/440636135" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-242</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by Andrew Dedman</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/430205995/</link>
		<dc:creator>Andrew Dedman</dc:creator>
		<pubDate>Thu, 23 Oct 2008 11:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-238</guid>
		<description>Thanks very much, worked perfectly : )</description>
		<content:encoded><![CDATA[<p>Thanks very much, worked perfectly : )</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/430205995" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-238</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by Nahum Wild</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/430205996/</link>
		<dc:creator>Nahum Wild</dc:creator>
		<pubDate>Wed, 22 Oct 2008 22:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-237</guid>
		<description>Great post thanks, saved me heaps of time.  One thing I did different was update the ngnix site conf to add expire headers to static assets, like what they are doing at the site that friebly has posted about - but I didn't see that until just now!

I've posted the whole conf to my blog - http://www.motionstandingstill.com, but all I really did was add the following location section and made sure that the 'root' clause specified before this. 

  location ~* i.+\.(css|js|jpg|jpeg|gif|png)$
    {
    expires  7d;
    }</description>
		<content:encoded><![CDATA[<p>Great post thanks, saved me heaps of time.  One thing I did different was update the ngnix site conf to add expire headers to static assets, like what they are doing at the site that friebly has posted about - but I didn&#8217;t see that until just now!</p>
<p>I&#8217;ve posted the whole conf to my blog - <a href="http://www.motionstandingstill.com" rel="nofollow">http://www.motionstandingstill.com</a>, but all I really did was add the following location section and made sure that the &#8216;root&#8217; clause specified before this. </p>
<p>  location ~* i.+\.(css|js|jpg|jpeg|gif|png)$<br />
    {<br />
    expires  7d;<br />
    }</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/430205996" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-237</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by builder2 » Slicehost VPS Hosting</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/430205997/</link>
		<dc:creator>builder2 » Slicehost VPS Hosting</dc:creator>
		<pubDate>Thu, 16 Oct 2008 17:39:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-235</guid>
		<description>[...] got my VPS running in just a few hours or so by using this excellent guide from MENSK Technologies Corporation, it was good enough for my needs with just the bare essentials: PHP, MySQL, Nginx. Yes, I opted to [...]</description>
		<content:encoded><![CDATA[<p>[...] got my VPS running in just a few hours or so by using this excellent guide from MENSK Technologies Corporation, it was good enough for my needs with just the bare essentials: PHP, MySQL, Nginx. Yes, I opted to [...]</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/430205997" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-235</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by friebly</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/402452045/</link>
		<dc:creator>friebly</dc:creator>
		<pubDate>Wed, 24 Sep 2008 17:59:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-223</guid>
		<description>I found a tutorial here http://wpmu.org/nginx-wordpress-26/ that has a different nginx.conf file. Would I use it together with yours, or do you think I would put that into my websites vhost? It looks closer to what you said to put into the vhost but it says to put it in the nginx.conf.</description>
		<content:encoded><![CDATA[<p>I found a tutorial here <a href="http://wpmu.org/nginx-wordpress-26/" rel="nofollow">http://wpmu.org/nginx-wordpress-26/</a> that has a different nginx.conf file. Would I use it together with yours, or do you think I would put that into my websites vhost? It looks closer to what you said to put into the vhost but it says to put it in the nginx.conf.</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/402452045" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-223</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by admin</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/401705775/</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 24 Sep 2008 05:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-222</guid>
		<description>Not sure about MU. The main "issue" with using NGinx + Wordpress in general is that some plugins that use redirection, rewriting or otherwise based on Apache functionality will stop working. This is something to consider before migrating business to Nginx-based setup.

Gleb</description>
		<content:encoded><![CDATA[<p>Not sure about MU. The main &#8220;issue&#8221; with using NGinx + Wordpress in general is that some plugins that use redirection, rewriting or otherwise based on Apache functionality will stop working. This is something to consider before migrating business to Nginx-based setup.</p>
<p>Gleb</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/401705775" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-222</feedburner:origLink></item>
	<item>
		<title>Comment on Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress by friebly</title>
		<link>http://feeds.feedburner.com/~r/www-mensk-com-comments/~3/401705777/</link>
		<dc:creator>friebly</dc:creator>
		<pubDate>Tue, 23 Sep 2008 22:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-220</guid>
		<description>Could you use a similar method to install Wordpress MU?</description>
		<content:encoded><![CDATA[<p>Could you use a similar method to install Wordpress MU?</p>
<img src="http://feeds.feedburner.com/~r/www-mensk-com-comments/~4/401705777" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/#comment-220</feedburner:origLink></item>
</channel>
</rss>
