<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/htaccess</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 13 Feb 2012 23:25:35 GMT</pubDate>
<item>
<title>(Apache) Force www with htaccess - klovera</title>
<link>http://snipplr.com/view/63190/force-www-with-htaccess/</link>
<description><![CDATA[ <p>Domain ambiguous way of forcing www with htaccess</p> ]]></description>
<pubDate>Thu, 09 Feb 2012 14:01:00 GMT</pubDate>
<guid>http://snipplr.com/view/63190/force-www-with-htaccess/</guid>
</item>
<item>
<title>(Apache) 301er Weiterleitung - Perun</title>
<link>http://snipplr.com/view/62834/301er-weiterleitung/</link>
<description><![CDATA[ <p>Eine komplette Website mit Linkstruktur auf eine neue Domain weiterleiten</p> ]]></description>
<pubDate>Sun, 29 Jan 2012 08:31:50 GMT</pubDate>
<guid>http://snipplr.com/view/62834/301er-weiterleitung/</guid>
</item>
<item>
<title>(PHP) Do not allow public viewing of directory indexes - webtechdev</title>
<link>http://snipplr.com/view/62715/do-not-allow-public-viewing-of-directory-indexes/</link>
<description><![CDATA[ <p>Do not allow public to see your dir structure just pleae this code in .htacces

Futther reading
There are two ways to approach this.  The best way to do this is via your .htaccess or httpd.conf file (if you have your own Apache server).  If your host allows the use of .htaccess, place this at the top:
The alternative would be to place a blank index.html file in each directory.  This may seem trivial, but a crafty and knowledgeable attacker will only need a small amount of information to get into your server.</p> ]]></description>
<pubDate>Mon, 23 Jan 2012 14:03:52 GMT</pubDate>
<guid>http://snipplr.com/view/62715/do-not-allow-public-viewing-of-directory-indexes/</guid>
</item>
<item>
<title>(Apache) .htaccess php handler mod_rewrite - ghost2109</title>
<link>http://snipplr.com/view/62515/htaccess-php-handler-modrewrite/</link>
<description><![CDATA[ <p>This is an .htaccess file for a mod_rewrite php url handler.</p> ]]></description>
<pubDate>Thu, 12 Jan 2012 20:07:28 GMT</pubDate>
<guid>http://snipplr.com/view/62515/htaccess-php-handler-modrewrite/</guid>
</item>
<item>
<title>(Apache) htaccess snippets - macodev</title>
<link>http://snipplr.com/view/62198/htaccess-snippets/</link>
<description><![CDATA[ <p>.htaccess snippets to optimize your website in many ways: Redirections, performances, ease of use</p> ]]></description>
<pubDate>Sat, 31 Dec 2011 01:27:46 GMT</pubDate>
<guid>http://snipplr.com/view/62198/htaccess-snippets/</guid>
</item>
<item>
<title>(Apache) Reduce spam on your WordPress blog by using .htaccess - no4h</title>
<link>http://snipplr.com/view/61974/reduce-spam-on-your-wordpress-blog-by-using-htaccess/</link>
<description><![CDATA[ <p>Reduce spam on WP installations (comment spam); this snippet does not look for https referers.</p> ]]></description>
<pubDate>Mon, 19 Dec 2011 02:45:25 GMT</pubDate>
<guid>http://snipplr.com/view/61974/reduce-spam-on-your-wordpress-blog-by-using-htaccess/</guid>
</item>
<item>
<title>(Apache) How to: Protect your WordPress blog from hotlinking - no4h</title>
<link>http://snipplr.com/view/61973/how-to-protect-your-wordpress-blog-from-hotlinking/</link>
<description><![CDATA[ <p>FWIW</p> ]]></description>
<pubDate>Mon, 19 Dec 2011 02:30:21 GMT</pubDate>
<guid>http://snipplr.com/view/61973/how-to-protect-your-wordpress-blog-from-hotlinking/</guid>
</item>
<item>
<title>(Apache) Host additional domain in subdirectory - hotdiggity</title>
<link>http://snipplr.com/view/61715/host-additional-domain-in-subdirectory/</link>
<description><![CDATA[ <p>Rewrites url to appear like the additional domain appears independently hosted, however, only appropriate for a temporary web page as other pages throw an error.</p> ]]></description>
<pubDate>Wed, 07 Dec 2011 11:12:36 GMT</pubDate>
<guid>http://snipplr.com/view/61715/host-additional-domain-in-subdirectory/</guid>
</item>
<item>
<title>(Other) htaccess rewrite ?plan= - kbrown</title>
<link>http://snipplr.com/view/60680/htaccess-rewrite-plan/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 10 Nov 2011 07:12:56 GMT</pubDate>
<guid>http://snipplr.com/view/60680/htaccess-rewrite-plan/</guid>
</item>
<item>
<title>(Apache) htaccess site caching - czachor</title>
<link>http://snipplr.com/view/60517/htaccess-site-caching/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Nov 2011 00:20:44 GMT</pubDate>
<guid>http://snipplr.com/view/60517/htaccess-site-caching/</guid>
</item>
<item>
<title>(Apache) Performance-wise .htaccess - pentago</title>
<link>http://snipplr.com/view/60448/performancewise-htaccess/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Nov 2011 19:54:10 GMT</pubDate>
<guid>http://snipplr.com/view/60448/performancewise-htaccess/</guid>
</item>
<item>
<title>(Apache) HTACCESS - Redirect &amp;amp; strip all query strings - batfan</title>
<link>http://snipplr.com/view/59977/htaccess--redirect--strip-all-query-strings/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Oct 2011 05:26:16 GMT</pubDate>
<guid>http://snipplr.com/view/59977/htaccess--redirect--strip-all-query-strings/</guid>
</item>
<item>
<title>(lighttpd) .htaccess hacks - yanek1988</title>
<link>http://snipplr.com/view/59804/htaccess-hacks/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 15 Oct 2011 18:43:50 GMT</pubDate>
<guid>http://snipplr.com/view/59804/htaccess-hacks/</guid>
</item>
<item>
<title>(Bash) Show Hidden Files in Mac Finder - BFTrick</title>
<link>http://snipplr.com/view/59652/show-hidden-files-in-mac-finder/</link>
<description><![CDATA[ <p>Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).</p> ]]></description>
<pubDate>Wed, 12 Oct 2011 01:36:56 GMT</pubDate>
<guid>http://snipplr.com/view/59652/show-hidden-files-in-mac-finder/</guid>
</item>
<item>
<title>(Apache) HTACCESS - Redirect all other users to a Coming Soon page - batfan</title>
<link>http://snipplr.com/view/59543/htaccess--redirect-all-other-users-to-a-coming-soon-page/</link>
<description><![CDATA[ <p>Replace the IP with your IP.</p> ]]></description>
<pubDate>Sat, 08 Oct 2011 02:53:38 GMT</pubDate>
<guid>http://snipplr.com/view/59543/htaccess--redirect-all-other-users-to-a-coming-soon-page/</guid>
</item>
<item>
<title>(XML) .htaccess Wordpress - priyankvira</title>
<link>http://snipplr.com/view/59509/htaccess-wordpress/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 07 Oct 2011 01:27:53 GMT</pubDate>
<guid>http://snipplr.com/view/59509/htaccess-wordpress/</guid>
</item>
<item>
<title>(Apache) .htaccess Redirect ROOT to subdirectory - RainyDayMedia</title>
<link>http://snipplr.com/view/59403/htaccess-redirect-root-to-subdirectory/</link>
<description><![CDATA[ <p>I found this useful. Works as expected.</p> ]]></description>
<pubDate>Wed, 05 Oct 2011 00:23:08 GMT</pubDate>
<guid>http://snipplr.com/view/59403/htaccess-redirect-root-to-subdirectory/</guid>
</item>
<item>
<title>(Apache) .htaccess add/remove www to domain redirect - macodev</title>
<link>http://snipplr.com/view/59367/htaccess-addremove-www-to-domain-redirect/</link>
<description><![CDATA[ <p>Rrewrite "www.domain.com -> domain.com" and viceversa</p> ]]></description>
<pubDate>Tue, 04 Oct 2011 02:57:36 GMT</pubDate>
<guid>http://snipplr.com/view/59367/htaccess-addremove-www-to-domain-redirect/</guid>
</item>
<item>
<title>(Apache) HTACCESS - Redirect all but certain directory - batfan</title>
<link>http://snipplr.com/view/59245/htaccess--redirect-all-but-certain-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 29 Sep 2011 10:41:17 GMT</pubDate>
<guid>http://snipplr.com/view/59245/htaccess--redirect-all-but-certain-directory/</guid>
</item>
<item>
<title>(Apache) Htaccess Speed Boost - justinscheetz</title>
<link>http://snipplr.com/view/58392/htaccess-speed-boost/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 02 Sep 2011 12:57:31 GMT</pubDate>
<guid>http://snipplr.com/view/58392/htaccess-speed-boost/</guid>
</item>
</channel>
</rss>
