<?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>Sat, 25 May 2013 16:21:27 GMT</pubDate>
<item>
<title>(Other) .htaccess tricks - telltec</title>
<link>http://snipplr.com/view/70436/htaccess-tricks/</link>
<description><![CDATA[ <p>Several tricks for your .htaccess file.</p> ]]></description>
<pubDate>Fri, 15 Mar 2013 20:57:45 GMT</pubDate>
<guid>http://snipplr.com/view/70436/htaccess-tricks/</guid>
</item>
<item>
<title>(Other) .htaccess for Codeigniter in Wordpress subfolder - telltec</title>
<link>http://snipplr.com/view/69757/htaccess-for-codeigniter-in-wordpress-subfolder/</link>
<description><![CDATA[ <p>Try to run Codeigniter in a subfolder of a Wordpress installation and want to remove index.php for clean URLs? 

Put this code in a .htaccess file in your codeigniter directory ("cidir" in this example).</p> ]]></description>
<pubDate>Sat, 02 Feb 2013 03:18:02 GMT</pubDate>
<guid>http://snipplr.com/view/69757/htaccess-for-codeigniter-in-wordpress-subfolder/</guid>
</item>
<item>
<title>(Apache) .htaccess for wordpress network @wpengine - adds trailing slash to 404 pages - lucasoptura</title>
<link>http://snipplr.com/view/69037/htaccess-for-wordpress-network-wpengine--adds-trailing-slash-to-404-pages/</link>
<description><![CDATA[ <p>In my WP networks, I use a custom 404 page and plugin to answer calls asking for user information from a custom api. The API requires a URL format like this:
domain.com/username/
However, users don't ever type a trailing slash, nor should they, so this allows for a trailing slash anywhere but inside admin, except where it is needed in admin...</p> ]]></description>
<pubDate>Sun, 09 Dec 2012 08:10:39 GMT</pubDate>
<guid>http://snipplr.com/view/69037/htaccess-for-wordpress-network-wpengine--adds-trailing-slash-to-404-pages/</guid>
</item>
<item>
<title>(Apache) Remove /index.php - zwebapp</title>
<link>http://snipplr.com/view/66789/remove-indexphp/</link>
<description><![CDATA[ <p>Removing index.php to url. 
e.g. www.yourwebsite.com/index.php -> www.yourwebsite.com/</p> ]]></description>
<pubDate>Fri, 17 Aug 2012 17:09:19 GMT</pubDate>
<guid>http://snipplr.com/view/66789/remove-indexphp/</guid>
</item>
<item>
<title>(PHP) Perfect PHP .htaccess rewrites - FatFolderDesigner</title>
<link>http://snipplr.com/view/66655/perfect-php-htaccess-rewrites/</link>
<description><![CDATA[ <p>These two snippets together, the first in the .htaccess file, and the second in your PHP create an elegantly simple solution to arbitrary URLs with php. For a breakdown and example check out the link.

Don't want to follow the link, how about the quick version. The .htaccess redirects anything that doesn't exist to the PHP, where the script breaks it apart and places it all in the $_urlvars for your own uses.</p> ]]></description>
<pubDate>Sat, 11 Aug 2012 17:02:37 GMT</pubDate>
<guid>http://snipplr.com/view/66655/perfect-php-htaccess-rewrites/</guid>
</item>
<item>
<title>(Other) Remove HTML from files - ryarwood</title>
<link>http://snipplr.com/view/65575/remove-html-from-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:19:50 GMT</pubDate>
<guid>http://snipplr.com/view/65575/remove-html-from-files/</guid>
</item>
<item>
<title>(Other) Amazon S3 CDN Directory Forward - ryarwood</title>
<link>http://snipplr.com/view/65572/amazon-s3-cdn-directory-forward/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:19:48 GMT</pubDate>
<guid>http://snipplr.com/view/65572/amazon-s3-cdn-directory-forward/</guid>
</item>
<item>
<title>(Apache) Remove .php from URL - wiryanm</title>
<link>http://snipplr.com/view/65422/remove-php-from-url/</link>
<description><![CDATA[ <p>.htaccess</p> ]]></description>
<pubDate>Wed, 06 Jun 2012 13:25:25 GMT</pubDate>
<guid>http://snipplr.com/view/65422/remove-php-from-url/</guid>
</item>
<item>
<title>(Apache) .htaccess script to block remote access and allow local ip - aruldave</title>
<link>http://snipplr.com/view/64941/htaccess-script-to-block-remote-access-and-allow-local-ip/</link>
<description><![CDATA[ <p>The below code lets you stop access from the remote IPs excluding your local machine IP. This code can be setup where someone wants to provide an internal access and restricting the external access for the web service. 
-  [Automated Predictive Dialler Software for Call Centres](http://touchstarccs.co.uk/ "Automated Predictive Dialler Software for Call Centres")</p> ]]></description>
<pubDate>Fri, 18 May 2012 20:56:18 GMT</pubDate>
<guid>http://snipplr.com/view/64941/htaccess-script-to-block-remote-access-and-allow-local-ip/</guid>
</item>
<item>
<title>(Apache) htaccess Caching - depiction</title>
<link>http://snipplr.com/view/64719/htaccess-caching/</link>
<description><![CDATA[ <p>Cache files via htacess</p> ]]></description>
<pubDate>Wed, 25 Apr 2012 04:07:45 GMT</pubDate>
<guid>http://snipplr.com/view/64719/htaccess-caching/</guid>
</item>
<item>
<title>(Apache) Remove trailing slashes in htaccess - palimadra</title>
<link>http://snipplr.com/view/64065/remove-trailing-slashes-in-htaccess/</link>
<description><![CDATA[ <p>How to remove trailing slashes in URL's using .htaccess.</p> ]]></description>
<pubDate>Wed, 21 Mar 2012 05:16:15 GMT</pubDate>
<guid>http://snipplr.com/view/64065/remove-trailing-slashes-in-htaccess/</guid>
</item>
<item>
<title>(Apache) Prevent Image Hotlinking - ederfortunatO</title>
<link>http://snipplr.com/view/63336/prevent-image-hotlinking/</link>
<description><![CDATA[ <p>stop bandwidth theft!</p> ]]></description>
<pubDate>Wed, 15 Feb 2012 00:12:19 GMT</pubDate>
<guid>http://snipplr.com/view/63336/prevent-image-hotlinking/</guid>
</item>
<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>
</channel>
</rss>