<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:30:36 +0000</lastBuildDate>
    <item>
      <title>(Apache) HAProxy URL Rewriting with query strings (ugly URLs) - alexwilliams</title>
      <link>https://snipplr.com/view/18404/haproxy-url-rewriting-with-query-strings-ugly-urls</link>
      <description>&lt;p&gt;This line can be added to 'backend', 'frontend', 'listen' directives in the HAProxy config.&#13;
&#13;
It will redirect all requests for /books/mysql to /books.php?title=mysql&lt;/p&gt;</description>
      <pubDate>Mon, 17 Aug 2009 15:08:34 UTC</pubDate>
      <guid>https://snipplr.com/view/18404/haproxy-url-rewriting-with-query-strings-ugly-urls</guid>
    </item>
    <item>
      <title>(Apache) HAProxy URL Rewriting - alexwilliams</title>
      <link>https://snipplr.com/view/18274/haproxy-url-rewriting</link>
      <description>&lt;p&gt;In this example:&#13;
&#13;
*rewrite urls from domain.com to www.domain.com*&#13;
&#13;
This is somewhat documented elsewhere, but not very well, so here's an example on how to perform simple URL rewriting with HAProxy (instead of using mod_rewrite with apache).&#13;
&#13;
This works great if your servers use lighttpd, nginx, or anything that doesnt provide its own simple url rewriting.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Aug 2009 14:10:49 UTC</pubDate>
      <guid>https://snipplr.com/view/18274/haproxy-url-rewriting</guid>
    </item>
    <item>
      <title>(Other) Haproxy load-balanced web cluster with different backends through acl's - alexwilliams</title>
      <link>https://snipplr.com/view/17507/haproxy-loadbalanced-web-cluster-with-different-backends-through-acls</link>
      <description>&lt;p&gt;How to send load-balanced requests to a web cluster and split the requests to different server pools based on specific ACL rules.&#13;
&#13;
This configuration sends files ending with .php to a pool of "dynamic" web servers (running Apache).&#13;
&#13;
It sends all other files (.js, .jpg, .css, .html) to a pool of "static" web servers (running Lighttpd).&lt;/p&gt;</description>
      <pubDate>Mon, 27 Jul 2009 11:08:44 UTC</pubDate>
      <guid>https://snipplr.com/view/17507/haproxy-loadbalanced-web-cluster-with-different-backends-through-acls</guid>
    </item>
    <item>
      <title>(Ruby) Formatting a date with or without the time - alexwilliams</title>
      <link>https://snipplr.com/view/1911/formatting-a-date-with-or-without-the-time</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jan 2007 11:07:45 UTC</pubDate>
      <guid>https://snipplr.com/view/1911/formatting-a-date-with-or-without-the-time</guid>
    </item>
    <item>
      <title>(SQL) HABTM relationship MySQL tables for use in Rails - alexwilliams</title>
      <link>https://snipplr.com/view/1910/habtm-relationship-mysql-tables-for-use-in-rails</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jan 2007 11:07:44 UTC</pubDate>
      <guid>https://snipplr.com/view/1910/habtm-relationship-mysql-tables-for-use-in-rails</guid>
    </item>
    <item>
      <title>(JavaScript) JavaScript automagically hide and show an HTML tag (DIV, P, whatever) - alexwilliams</title>
      <link>https://snipplr.com/view/1909/javascript-automagically-hide-and-show-an-html-tag-div-p-whatever</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jan 2007 11:07:43 UTC</pubDate>
      <guid>https://snipplr.com/view/1909/javascript-automagically-hide-and-show-an-html-tag-div-p-whatever</guid>
    </item>
    <item>
      <title>(CSS) Center HTML content horizontally using CSS - alexwilliams</title>
      <link>https://snipplr.com/view/1907/center-html-content-horizontally-using-css</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jan 2007 11:07:42 UTC</pubDate>
      <guid>https://snipplr.com/view/1907/center-html-content-horizontally-using-css</guid>
    </item>
    <item>
      <title>(PHP) Load a PHP Class automatically upon instantiation (PHP5) - alexwilliams</title>
      <link>https://snipplr.com/view/1908/load-a-php-class-automatically-upon-instantiation-php5</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jan 2007 11:07:42 UTC</pubDate>
      <guid>https://snipplr.com/view/1908/load-a-php-class-automatically-upon-instantiation-php5</guid>
    </item>
    <item>
      <title>(Ruby) Clone dev DB schema to test DB in Rails - alexwilliams</title>
      <link>https://snipplr.com/view/1906/clone-dev-db-schema-to-test-db-in-rails</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jan 2007 11:07:41 UTC</pubDate>
      <guid>https://snipplr.com/view/1906/clone-dev-db-schema-to-test-db-in-rails</guid>
    </item>
    <item>
      <title>(PHP) PHP: Connecting Flash to a Database (remoting) - alexwilliams</title>
      <link>https://snipplr.com/view/1905/php-connecting-flash-to-a-database-remoting</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 01 Jan 2007 11:07:39 UTC</pubDate>
      <guid>https://snipplr.com/view/1905/php-connecting-flash-to-a-database-remoting</guid>
    </item>
  </channel>
</rss>
