<?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: FoOlz.us and how to make YOURLS work with Nginx.</title> <atom:link href="http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/feed/" rel="self" type="application/rss+xml" /><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/</link> <description>We translate it because we want to read it!</description> <lastBuildDate>Fri, 10 Feb 2012 17:38:16 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: David Benfell</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-62045</link> <dc:creator>David Benfell</dc:creator> <pubDate>Sat, 19 Nov 2011 23:21:13 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-62045</guid> <description>Thanks a million! It works!</description> <content:encoded><![CDATA[<p>Thanks a million! It works!</p> ]]></content:encoded> </item> <item><title>By: Jedidiah Hurt</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-52579</link> <dc:creator>Jedidiah Hurt</dc:creator> <pubDate>Fri, 17 Jun 2011 16:05:11 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-52579</guid> <description>Based on the contents of the .htaccess file generated by Yourls, this seems to be the most direct translation to Nginx config (seems to be working fine for me, though I didn&#039;t bother to translate the &#039;path&#039; prefix, as I don&#039;t need it):if (!-e $request_filename) { rewrite ^ /yourls-loader.php last; } </description> <content:encoded><![CDATA[<p>Based on the contents of the .htaccess file generated by Yourls, this seems to be the most direct translation to Nginx config (seems to be working fine for me, though I didn&#8217;t bother to translate the &#8216;path&#8217; prefix, as I don&#8217;t need it):</p><p> if (!-e $request_filename) {<br /> rewrite ^ /yourls-loader.php last;<br /> }</p> ]]></content:encoded> </item> <item><title>By: David Benfell</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-49319</link> <dc:creator>David Benfell</dc:creator> <pubDate>Sat, 16 Apr 2011 04:59:31 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-49319</guid> <description>Help!It didn&#039;t work for me.The relevant configuration:server { listen   74.207.227.150:80; ## listen for ipv4 listen   [2001:470:8:1ae::2]:80; ## listen for ipv6 server_name  n4rky.me www.n4rky.me; root    /home/www/n4rky.me; access_log  /home/www/n4rky.me/logs/access.log; location / { index   index.php; if (!-f $request_filename){ set $rule_0 1$rule_0; } if (!-d $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = &quot;21&quot;){ rewrite ^/([0-9a-z]+)/?$ /yourls-go.php?id=$1 last; } } location ~ \.php$ { fastcgi_pass   127.0.0.1:9000; fastcgi_index  index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SERVER_NAME $http_host; fastcgi_ignore_client_abort on; } location ~ /\.ht { deny  all; } }My guess is that it isn&#039;t the rewrite rules you found but the fastcgi implementation.  Any ideas?Thanks!</description> <content:encoded><![CDATA[<p>Help!</p><p>It didn&#8217;t work for me.</p><p>The relevant configuration:</p><p>server {<br /> listen   74.207.227.150:80; ## listen for ipv4<br /> listen   [2001:470:8:1ae::2]:80; ## listen for ipv6<br /> server_name  n4rky.me <a href="http://www.n4rky.me" rel="nofollow">http://www.n4rky.me</a>;<br /> root    /home/www/n4rky.me;<br /> access_log  /home/www/n4rky.me/logs/access.log;<br /> location / {<br /> index   index.php;<br /> if (!-f $request_filename){<br /> set $rule_0 1$rule_0;<br /> }<br /> if (!-d $request_filename){<br /> set $rule_0 2$rule_0;<br /> }<br /> if ($rule_0 = &#8220;21&#8243;){<br /> rewrite ^/([0-9a-z]+)/?$ /yourls-go.php?id=$1 last;<br /> }<br /> }<br /> location ~ \.php$ {<br /> fastcgi_pass   127.0.0.1:9000;<br /> fastcgi_index  index.php;<br /> include fastcgi_params;<br /> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br /> fastcgi_param SERVER_NAME $http_host;<br /> fastcgi_ignore_client_abort on;<br /> }</p><p> location ~ /\.ht {<br /> deny  all;<br /> }<br /> }</p><p>My guess is that it isn&#8217;t the rewrite rules you found but the fastcgi implementation.  Any ideas?</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: 10 principles for getting &#8212; or giving &#8212; effective tech support</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-48310</link> <dc:creator>10 principles for getting &#8212; or giving &#8212; effective tech support</dc:creator> <pubDate>Wed, 30 Mar 2011 17:14:54 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-48310</guid> <description>[...] Yourls is designed to work with Apache, although it can work with nginx as well, according to this: http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/ I just realized something though &#8211; the /etc/nginx/sites-available/alexandrasamuel.com file is [...]</description> <content:encoded><![CDATA[<p>[...] Yourls is designed to work with Apache, although it can work with nginx as well, according to this: <a href="http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/" rel="nofollow">http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/</a> I just realized something though &#8211; the /etc/nginx/sites-available/alexandrasamuel.com file is [...]</p> ]]></content:encoded> </item> <item><title>By: wlsco</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-44755</link> <dc:creator>wlsco</dc:creator> <pubDate>Wed, 26 Jan 2011 06:47:41 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-44755</guid> <description>woxxyThanks for providing the Nginx rewrite. It works!!!</description> <content:encoded><![CDATA[<p>woxxy</p><p>Thanks for providing the Nginx rewrite. It works!!!</p> ]]></content:encoded> </item> <item><title>By: Akif</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-36537</link> <dc:creator>Akif</dc:creator> <pubDate>Sat, 17 Jul 2010 21:55:15 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-36537</guid> <description>Yeah, I am about to learn how to manage my own database. Good work!</description> <content:encoded><![CDATA[<p>Yeah, I am about to learn how to manage my own database. Good work!</p> ]]></content:encoded> </item> <item><title>By: compwhizii &#187; nginx, php-cgi, and URL shorteners</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-28034</link> <dc:creator>compwhizii &#187; nginx, php-cgi, and URL shorteners</dc:creator> <pubDate>Mon, 18 Jan 2010 04:18:30 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-28034</guid> <description>[...] the site for YOURLS there’s a link for nginx rewrites however it has 3 [...]</description> <content:encoded><![CDATA[<p>[...] the site for YOURLS there’s a link for nginx rewrites however it has 3 [...]</p> ]]></content:encoded> </item> <item><title>By: Tom</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-24292</link> <dc:creator>Tom</dc:creator> <pubDate>Mon, 21 Dec 2009 22:03:44 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-24292</guid> <description>Ok, I don&#039;t know where to put the code above. Please help. Thanks!</description> <content:encoded><![CDATA[<p>Ok, I don&#8217;t know where to put the code above. Please help. Thanks!</p> ]]></content:encoded> </item> <item><title>By: Showfom</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-11276</link> <dc:creator>Showfom</dc:creator> <pubDate>Mon, 31 Aug 2009 11:27:53 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-11276</guid> <description>Haha  so you use Nginx, too. I love it~</description> <content:encoded><![CDATA[<p>Haha  so you use Nginx, too. I love it~</p> ]]></content:encoded> </item> <item><title>By: gamerz</title><link>http://foolrulez.org/blog/2009/08/foolz-us-make-yourls-work-on-nginx/#comment-13476</link> <dc:creator>gamerz</dc:creator> <pubDate>Mon, 31 Aug 2009 06:39:37 +0000</pubDate> <guid isPermaLink="false">http://foolrulez.org/blog/?p=3118#comment-13476</guid> <description>@woxxy no problem =D</description> <content:encoded><![CDATA[<p>@woxxy no problem =D</p> ]]></content:encoded> </item> </channel> </rss>
