<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lockstockmods &#187; Internet</title>
	<atom:link href="http://www.lockstockmods.net/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lockstockmods.net</link>
	<description>If its not broken... take it apart and mod it</description>
	<lastBuildDate>Sun, 04 Jul 2010 16:59:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>TheTVDB Artwork Templates</title>
		<link>http://www.lockstockmods.net/2010/06/21/thetvdb-artwork-templates/</link>
		<comments>http://www.lockstockmods.net/2010/06/21/thetvdb-artwork-templates/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 12:50:09 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[HTPC]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[DVD box template]]></category>
		<category><![CDATA[DVD Cover]]></category>
		<category><![CDATA[DVD template]]></category>
		<category><![CDATA[TheTVDB]]></category>
		<category><![CDATA[TV Season art]]></category>
		<category><![CDATA[TV Season template]]></category>
		<category><![CDATA[TV Template]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=252</guid>
		<description><![CDATA[A collection of templates for artwork for TheTVDB.com, these templates should ensure uploaded artwork is set to the correct dimensions.  All templates come in a PSD so they can be easily edited and each PSD has multiple style for you to choose from.  I will try to update the templates regularly.]]></description>
			<content:encoded><![CDATA[<p>A collection of templates for artwork for TheTVDB.com, these templates should ensure uploaded artwork is set to the correct dimensions.  All templates come in a PSD so they can be easily edited and each PSD has multiple style for you to choose from.  I will try to update the templates regularly.</p>
<p>If you would like to contribute, please let me know</p>
<h2>Changelog</h2>
<p>2010-06-21 &#8211; Initial publication, includes DVD Cover banners templates<br />
2010-06-21 &#8211; Added Wide banner templates<br />
2010-06-21 &#8211; Added link to get ClearART Logos</p>
<h2>All Downloads</h2>
Note: There is a file embedded within this post, please visit this post to download the file.
<h2>Series banners</h2>
<p>To be completed</p>
<h2>Season banners</h2>
<h3>DVD Cover style</h3>
<p>Season Banners must 400 x 578 pixels, and in a jpg format.  To save the PSD as a jpg go to file/Save for Web.</p>
<p><strong>Preview:</strong></p>
<p><a href="http://www.lockstockmods.net/wp-content/uploads/2010/06/thetvdb_season.jpg" rel="lightbox[252]" title="thetvdb_season"><img class="size-large wp-image-253 alignnone" title="thetvdb_season" src="http://www.lockstockmods.net/wp-content/uploads/2010/06/thetvdb_season-1024x369.jpg" alt="" width="450" height="162" /></a></p>
<p><strong>Download:</strong></p>
Note: There is a file embedded within this post, please visit this post to download the file.
<h3>Wide style</h3>
<p>Season banners must be 758 x 140 pixels.</p>
<p><strong>Preview:</strong></p>
<p><a href="http://www.lockstockmods.net/wp-content/uploads/2010/06/thetvdb_season_wide.jpg" rel="lightbox[252]" title="Wide season banners"><img class="alignnone size-full wp-image-259" title="Wide season banners" src="http://www.lockstockmods.net/wp-content/uploads/2010/06/thetvdb_season_wide.jpg" alt="" width="455" height="336" /></a></p>
<p><strong>Download:</strong></p>
Note: There is a file embedded within this post, please visit this post to download the file.
<h2>Image resources</h2>
<p>Eventually ClearART Logos will be available from TheTVDB to use in the images, but until then, your best bet is here <a href="http://www.lockstockmods.net/clearart/">http://www.lockstockmods.net/clearart/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2010/06/21/thetvdb-artwork-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Tunnel with Putty and Squid</title>
		<link>http://www.lockstockmods.net/2009/11/04/ssh-tunnel-with-putty-and-squid/</link>
		<comments>http://www.lockstockmods.net/2009/11/04/ssh-tunnel-with-putty-and-squid/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:15:55 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[IRC/Shells]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Secure Tunnel]]></category>
		<category><![CDATA[Secure web browsing]]></category>
		<category><![CDATA[SSH Putty Tunnel]]></category>
		<category><![CDATA[SSH Tunnel]]></category>
		<category><![CDATA[Tunnel with Putty]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=80</guid>
		<description><![CDATA[The purpose of this guide is to provide an easy to follow set of instructions that should allow you to create an SSH tunnel in around 10 minutes. Step 1: Getting started What you will need: Remote server running SSH (Debian server is used in this guide) Putty Squid Install squid: apt-get install squid Step [...]]]></description>
			<content:encoded><![CDATA[<p>The purpose of this guide is to provide an easy to follow set of instructions that should allow you to create an SSH tunnel in around 10 minutes.</p>
<h3>Step 1: Getting started</h3>
<p>What you will need:</p>
<ul>
<li>Remote server running SSH (Debian server is used in this guide)</li>
<li><a title="Putty" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">Putty</a></li>
<li>Squid</li>
</ul>
<p>Install squid:</p>
<pre><code>apt-get install squid</code></pre>
<h3>Step 2: Configure putty</h3>
<ul>
<li>Start putty</li>
<li>From left hand tree menu select Click SSH (under the Connection menu item) to expand the tree items, then click on Tunnels</li>
<li>In Source port enter 3128 (default Squid port), select Dynamic and click on the Add button<br />
<img class="alignnone size-full wp-image-81" title="Putty Tunnel Options" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/putty1.gif" alt="Putty Tunnel Options" width="466" height="446" /></p>
<p><div id="attachment_82" class="wp-caption alignnone" style="width: 476px"><img class="size-full wp-image-82" title="Putty Tunnels view" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/putty2.gif" alt="An entry should show up in the forwarded ports section" width="466" height="446" /><p class="wp-caption-text">An entry should show up in the forwarded ports section</p></div></li>
<li>In the left hand menu go to Session</li>
<li>Put the hostname of your server, select SSH (if not already selected), then under Saved Sessions type tunnel (or any name you want to call the saved session) and click save.  This will enable you, in the future to click on &#8220;tunnel&#8221;, click Load, then Open.<br />
<img class="alignnone size-full wp-image-106" title="Session Config" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/putty3.gif" alt="Session Config" width="466" height="446" /></li>
<li>Click Open.  You cannot SSH tunnel without an open connection, it will ask you for your username and password.</li>
</ul>
<h3>Step 3: Configure Firefox</h3>
<ul>
<li>Click Tools, then select Options&#8230;</li>
<li>Select the Advanced option then then Network tab.<br />
<img class="alignnone size-full wp-image-84" title="Firefox Options" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/firefox1.gif" alt="Firefox Options" width="521" height="486" /></li>
<li>Click on Settings</li>
<li>Select Manual proxy configuration, then under SOCKS Host type localhost and in Port enter 3128 (In Vista SP1 you might have to use 127.0.0.1 instead of localhost for the SOCKS Host)<br />
<img class="alignnone size-full wp-image-86" title="Firefox Configuration" src="http://www.lockstockmods.net/wp-content/uploads/2009/11/firefox2.gif" alt="Firefox Configuration" width="461" height="462" /></li>
</ul>
<p>Congratulations, you should now have a fully functioning SSH Tunnel, you can test this by going to <a title="Whats My Ip" href="http://www.whatsmyip.org/" target="_blank">Whats My IP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2009/11/04/ssh-tunnel-with-putty-and-squid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usenet and Binary downloads</title>
		<link>http://www.lockstockmods.net/2008/05/02/usenet-and-binary-downloads/</link>
		<comments>http://www.lockstockmods.net/2008/05/02/usenet-and-binary-downloads/#comments</comments>
		<pubDate>Thu, 01 May 2008 23:06:38 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=22</guid>
		<description><![CDATA[Usenet has some advantages over other technologies like bit-torrent, as well as these advantages it offers speed, reliability, and the option of SSL.  This guide will help you get to grips with Usenet and hopefully will help you on your way to using it to its full advantage.]]></description>
			<content:encoded><![CDATA[<h2><a href="http://www.lockstockmods.net/wp-content/uploads/2008/05/giganews1.png" rel="lightbox[22]" title="giganews"><img class="alignright size-full wp-image-250" title="giganews" src="http://www.lockstockmods.net/wp-content/uploads/2008/05/giganews1.png" alt="" width="275" height="110" /></a>Introduction</h2>
<p>Usenet has some advantages over other technologies like bit-torrent, it offers speed, reliability, and the option of SSL, sure, it costs money, but its not that expensive, and in my mind its worth every penny, i would personally recommend <a href="http://www.giganews.com/?c=gn490633" target="_blank">Giganews</a> they have the worlds longest usenet binary retention, multiple gigabit-plus backbones running at a fraction of capacity, and the option of 256-bit SSL encryption among other things.</p>
<h2>Changelog</h2>
<p>2008-04-11 &#8211; initial article published.<br />
2010-06-19 &#8211; Article updated with more up to date information</p>
<h2>Getting started</h2>
<p>Usenet is a little more difficult to use than torrents, so here is some information to help you.</p>
<p>First thing you need to do is register with a usenet provider, i personally use <a href="http://www.giganews.com/?c=gn490633" target="_blank">Giganews</a> but there are plenty to choose from.</p>
<p>Second you will need a way to search usenet for this you can use, newzbin is probably the easiest and arguably the best, but its had its share of problems lately, a recent court decision saw it taken down, only to be resurrected under a hacker group, time will tell how it gets on under its new management, but until then my suggestion would be nzbmatrix</p>
<ul>
<li><a href="http://nzbmatrix.com/ ">http://nzbmatrix.com/ </a></li>
<li><a href="http://www.newzbin.com/">http://www.newzbin.com/</a></li>
<li><a href="http://www.newzleech.com/">http://www.newzleech.com/</a></li>
<li><a href="http://www.binsearch.info/">http://www.binsearch.info/</a></li>
</ul>
<p>These providers will allow you to download .nzb files, these files provide links to the locations of files on Usenet.  Generally a large file is broken into several rar files, the providers index all the parts required for a file and provide the location for these parts in a .nzb.</p>
<p>Thirdly you will need a binary client, my recommendation is <a href="http://sabnzbd.org/">SABnzbd+</a> it has clients for Windows, Mac and Linux and is very easy to setup and use its also open source software and completely free to use.  I used to use <a title="Newsleecher" href="http://www.newsleecher.com/">http://www.newsleecher.com/</a>, which is a fully featured client, however, you need to pay for this one and it doesn&#8217;t really offer anything over SABnzbd+ that can justify the price.</p>
<p>When you download a .nzb your binary client will download all the parts that are indexed and attempt to reconstruct it back into a single file (depending on the options selected in the software), one of the advantages of Usenet is most files are uploaded with par files.  If parts are missing or corrupt from a post, generally par files can be used to reconstruct the missing/corrupt parts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/05/02/usenet-and-binary-downloads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Cheatsheet</title>
		<link>http://www.lockstockmods.net/2008/04/11/apache-cheatsheet/</link>
		<comments>http://www.lockstockmods.net/2008/04/11/apache-cheatsheet/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 12:25:50 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=31</guid>
		<description><![CDATA[Setup a Virtual Domain
NameVirtualHost *
&#60;VirtualHost *&#62;
DocumentRoot /web/example.com/www
ServerName www.example.com
<em>ServerAlias example.com
CustomLog /web/example.com/logs/access.log combined
ErrorLog /web/example.com/logs/error.log</em>
&#60;/VirtualHost&#62;]]></description>
			<content:encoded><![CDATA[<p><strong>Setup a Virtual Domain</strong></p>
<pre><code>NameVirtualHost *
&lt;VirtualHost *&gt;
DocumentRoot /web/example.com/www
ServerName www.example.com
<em>ServerAlias example.com
CustomLog /web/example.com/logs/access.log combined
ErrorLog /web/example.com/logs/error.log</em>
&lt;/VirtualHost&gt;</code></pre>
<p><strong>Include another conf file</strong></p>
<pre><code>Include /etc/apache/virtual-hosts/*.conf</code></pre>
<p><strong>Hide apache version info</strong></p>
<pre><code>ServerSignature Off
ServerTokens Prod</code></pre>
<p><strong>Custom 404 Error message</strong></p>
<pre><code>ErrorDocument 404 /404.html</code></pre>
<p><strong>Create a virtual directory (mod_alias)</strong></p>
<pre><code>Alias /common /web/common</code></pre>
<p><strong>Perminant redirect (mod_alias)</strong></p>
<pre><code>Redirect permanent /old http://example.com/new</code></pre>
<p><strong>Create a cgi-bin</strong></p>
<pre><code>ScriptAlias /cgi-bin/ /web/cgi-bin/</code></pre>
<p><strong>Process .cgi scripts</strong></p>
<pre><code>AddHandler cgi-script .cgi</code></pre>
<p><strong>Add a directory index</strong></p>
<pre><code>DirectoryIndex index.cfm index.cfm</code></pre>
<p><strong>Turn off directory browsing</strong></p>
<pre><code>Options -Indexes</code></pre>
<p><strong>Turn on directory browsing</strong></p>
<pre><code>&lt;Location /images&gt;
Options +Indexes
&lt;/Location&gt;</code></pre>
<p><strong>Create a new user for basic auth <em>(command line)</em></strong></p>
<pre><code>htpasswd -c /etc/apacheusers</code></pre>
<p><strong>Apache basic authentication</strong></p>
<pre><code>AuthName "Authentication Required"
AuthType Basic
AuthUserFile /etc/apacheusers
Require valid-user</code></pre>
<p><strong>Only allow access from a specific IP</strong></p>
<pre><code>Order Deny,Allow
Deny from all
Allow from 127.0.0.1</code></pre>
<p><strong>Only allow access from your subnet</strong></p>
<pre><code>Order Deny,Allow
Deny from all
Allow from 176.16.0.0/16</code></pre>
<p>From http://www.petefreitag.com/cheatsheets/apache/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/11/apache-cheatsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess Cheat Sheet</title>
		<link>http://www.lockstockmods.net/2008/04/11/htaccess-cheat-sheet/</link>
		<comments>http://www.lockstockmods.net/2008/04/11/htaccess-cheat-sheet/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 12:17:47 +0000</pubDate>
		<dc:creator>Kode</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.lockstockmods.net/?p=30</guid>
		<description><![CDATA[Here is a simple cheatsheet for the .htaccess file:

Enable Directory Browsing
Options +Indexes
## block a few types of files from showing
IndexIgnore *.wmv *.mp4 *.avi
Disable Directory Browsing
Options All -Indexes]]></description>
			<content:encoded><![CDATA[<p>Here is a simple cheatsheet for the .htaccess file:</p>
<p><strong>Enable Directory Browsing</strong></p>
<pre><code>Options +Indexes
## block a few types of files from showing
IndexIgnore *.wmv *.mp4 *.avi
</code></pre>
<p><strong>Disable Directory Browsing</strong></p>
<pre><code>Options All -Indexes
</code></pre>
<pre>ErrorDocument 403 http://www.htaccesselite.com
Order deny,allow
Deny from all
Allow from 1.1.1.1</pre>
<p><strong>Redirect all but 1 IP to different site, using mod_rewrite</strong></p>
<pre><code>RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_HOST} !^1\.1\.1\.1
RewriteRule .* http://www.htaccesselite.com [R=302,L]</code></pre>
<p><strong>Redirect Everyone but you to alternate page on your server.</strong></p>
<pre><code>RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_HOST} !^1\.1\.1\.1
RewriteCond %{REQUEST_URI} !/temporary-offline\.html$
RewriteRule .* /temporary-offline.html [R=302,L]</code></pre>
<p><strong>Customize Error Messages</strong></p>
<pre><code>ErrorDocument 403 /forbidden.html
ErrorDocument 404 /notfound.html
ErrorDocument 500 /servererror.html
</code></pre>
<p><strong>Get <span class="caps">SSI</span> working with HTML/SHTML</strong></p>
<pre><code>AddType text/html .html
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
# AddHandler server-parsed .htm
</code></pre>
<p><strong>Change Default Page (order is followed!)</strong></p>
<pre><code>DirectoryIndex myhome.htm index.htm index.php
</code></pre>
<p><strong>Block Users from accessing the site</strong></p>
<pre><code>&lt;limit GET POST PUT&gt;
order deny,allow
deny from 202.54.122.33
deny from 8.70.44.53
deny from .spammers.com
allow from all
&lt;/limit&gt;
</code></pre>
<p><strong>Allow only <span class="caps">LAN</span> users</strong></p>
<pre><code>order deny,allow
deny from all
allow from 192.168.0.0/24
</code></pre>
<p><strong>Redirect Visitors to New Page/Directory</strong></p>
<pre><code>Redirect oldpage.html http://www.domainname.com/newpage.html
Redirect /olddir http://www.domainname.com/newdir/
</code></pre>
<p><strong>Block site from specific referrers</strong></p>
<pre><code>RewriteEngine on
RewriteCond %{HTTP_REFERER} site-to-block\.com [NC]
RewriteCond %{HTTP_REFERER} site-to-block-2\.com [NC]
RewriteRule .* - [F]
</code></pre>
<p><strong>Block Hot Linking/Bandwidth hogging</strong></p>
<pre><code>RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
</code></pre>
<p><strong>Want to show a “Stealing is Bad” message too?</strong></p>
<p>Add this below the <em>Hot Link Blocking</em> code:</p>
<pre><code>RewriteRule \.(gif|jpg)$ http://www.mydomain.com/dontsteal.gif [R,L]
</code></pre>
<p><strong>Stop .htaccess (or any other file) from being viewed</strong></p>
<pre><code>&lt;files file-name&gt;
order allow,deny
deny from all
&lt;/files&gt;
</code></pre>
<p><strong>Avoid the 500 Error</strong></p>
<pre><code># Avoid 500 error by passing charset
AddDefaultCharset utf-8
</code></pre>
<p><strong>Grant <span class="caps">CGI</span> Access in a directory</strong></p>
<pre><code>Options +ExecCGI
AddHandler cgi-script cgi pl
# To enable all scripts in a directory use the following
# SetHandler cgi-script
</code></pre>
<p><strong>Password Protecting Directories</strong></p>
<p>Use the <a href="http://thejackol.com/scripts/htpasswdgen.php">.htaccess Password Generator</a> and follow the brief instructions!</p>
<p><strong>Change Script Extensions</strong></p>
<pre><code>AddType application/x-httpd-php .gne
</code></pre>
<p><code>gne</code> will now be treated as <span class="caps">PHP</span> files! Similarly, <code>x-httpd-cgi</code> for <span class="caps">CGI</span> files, etc.</p>
<p><strong>Use MD5 Digests</strong></p>
<p>Performance may take a hit but if thats not a problem, this is a nice option to turn on.</p>
<pre><code>ContentDigest On
</code></pre>
<p><strong>The CheckSpelling Directive</strong></p>
<p>From Jens Meiert: CheckSpelling corrects simple spelling errors (for example, if someone forgets a letter or if any character is just wrong). Just add <code>CheckSpelling On</code> to your htaccess file.</p>
<p><strong>The ContentDigest Directive</strong></p>
<p>As the Apache core features documentation says: “This directive enables the generation of Content-MD5 headers as defined in <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC1864</a> respectively <a href="http://www.ietf.org/rfc/rfc2068.txt">RFC2068</a>. The Content-MD5 header provides an end-to-end message integrity check (<span class="caps">MIC</span>) of the entity-body. A proxy or client may check this header for detecting accidental modification of the entity-body in transit.</p>
<p>Note that this can cause performance problems on your server since the message digest is computed on every request (the values are not cached). Content-MD5 is only sent for documents served by the core, and not by any module. For example, <span class="caps">SSI</span> documents, output from <span class="caps">CGI</span> scripts, and byte range responses do not have this header.”</p>
<p>To turn this on, just add <code>ContentDigest On</code>.</p>
<p><strong>Save Bandwidth</strong></p>
<pre><code># Only if you use PHP
&lt;ifmodule mod_php4.c&gt;
php_value zlib.output_compression 16386
&lt;/ifmodule&gt;
</code></pre>
<p><strong>Turn off <code>magic_quotes_gpc</code></strong></p>
<pre><code># Only if you use PHP
&lt;ifmodule mod_php4.c&gt;
php_flag magic_quotes_gpc off
&lt;/ifmodule&gt;</code></pre>
<p>Taken from http://www.thejackol.com/htaccess-cheatsheet/</p>
<p><strong>Regex Character Definitions for htaccess</strong></p>
<p><code>#</code>the # instructs the server to ignore the line. used for including comments. each line of comments requires it’s own <code>#</code>. when including comments, it is good practice to use only letters, numbers, dashes, and underscores. this practice will help eliminate/avoid potential server parsing errors.</dd>
<dt><code>[F]</code></dt>
<dd>Forbidden: instructs the server to return a <code>403 Forbidden</code> to the client.</dd>
<dt><code>[L]</code></dt>
<dd>Last rule: instructs the server to stop rewriting after the preceding directive is processed.</dd>
<dt><code>[N]</code></dt>
<dd>Next: instructs Apache to rerun the rewrite rule until all rewriting directives have been achieved.</dd>
<dt><code>[G]</code></dt>
<dd>Gone: instructs the server to deliver <code>Gone (no longer exists)</code> status message.</dd>
<dt><code>[P]</code></dt>
<dd>Proxy: instructs server to handle requests by <code>mod_proxy</code></dd>
<dt><code>[C]</code></dt>
<dd>Chain: instructs server to chain the current rule with the previous rule.</dd>
<dt><code>[R]</code></dt>
<dd>Redirect: instructs Apache to issue a redirect, causing the browser to request the rewritten/modified URL.</dd>
<dt><code>[NC]</code></dt>
<dd>No Case: defines any associated argument as case-<em>in</em>sensitive. i.e., &#8220;NC&#8221; = &#8220;No Case&#8221;.</dd>
<dt><code>[PT]</code></dt>
<dd>Pass Through: instructs <code>mod_rewrite</code> to pass the rewritten URL back to Apache for further processing.</dd>
<dt><code>[OR]</code></dt>
<dd>Or: specifies a logical &#8220;or&#8221; that ties two expressions together such that either one proving true will cause the associated rule to be applied.</dd>
<dt><code>[NE]</code></dt>
<dd>No Escape: instructs the server to parse output without escaping characters.</dd>
<dt><code>[NS]</code></dt>
<dd>No Subrequest: instructs the server to skip the directive if internal sub-request.</dd>
<dt><code>[QSA]</code></dt>
<dd>Append Query String: directs server to add the query string to the end of the expression (URL).</dd>
<dt><code>[S=x]</code></dt>
<dd>Skip: instructs the server to skip the next &#8220;x&#8221; number of rules if a match is detected.</dd>
<dt><code>[E=variable:value]</code></dt>
<dd>Environmental Variable: instructs the server to set the environmental variable &#8220;variable&#8221; to &#8220;value&#8221;.</dd>
<dt><code>[T=MIME-type]</code></dt>
<dd>Mime Type: declares the mime type of the target resource.</dd>
<dt><code>[]</code></dt>
<dd>specifies a character class, in which any character within the brackets will be a match. e.g., [xyz] will match either an x, y, or z.</dd>
<dt><code>[]+</code></dt>
<dd>character class in which any combination of items within the brackets will be a match. e.g., [xyz]+ will match any number of x’s, y’s, z’s, or any combination of these characters.</dd>
<dt><code>[^]</code></dt>
<dd>specifies <em>not</em> within a character class. e.g., [^xyz] will match any character that is neither x, y, nor z.</dd>
<dt><code>[a-z]</code></dt>
<dd>a dash (-) between two characters within a character class ([]) denotes the range of characters between them. e.g., [a-zA-Z] matches all lowercase and uppercase letters from a to z.</dd>
<dt><code>a{n}</code></dt>
<dd>specifies an exact number, <code>n</code>, of the preceding character. e.g., x{3} matches exactly three <code>x</code>’s.</dd>
<dt><code>a{n,}</code></dt>
<dd>specifies <code>n</code> or more of the preceding character. e.g., x{3,} matches three or more <code>x</code>’s.</dd>
<dt><code>a{n,m}</code></dt>
<dd>specifies a range of numbers, between <code>n</code> and <code>m</code>, of the preceding character. e.g., x{3,7} matches three, four, five, six, or seven <code>x</code>’s.</dd>
<dt><code>()</code></dt>
<dd>used to group characters together, thereby considering them as a single unit. e.g., (perishable)?press will match press, with or without the perishable prefix.</dd>
<dt><code>^</code></dt>
<dd>denotes the beginning of a regex (regex = regular expression) test string. i.e., begin argument with the proceeding character.</dd>
<dt><code>$</code></dt>
<dd>denotes the end of a regex (regex = regular expression) test string. i.e., end argument with the previous character.</dd>
<dt><code>?</code></dt>
<dd>declares as optional the preceding character. e.g., <code>monzas?</code> will match monza or monzas, while <code>mon(za)?</code> will match either mon or monza. i.e., <code>x?</code> matches zero or one of <code>x</code>.</dd>
<dt><code>!</code></dt>
<dd>declares negation. e.g., “<code>!string</code>” matches everything except “<code>string</code>”.</dd>
<dt><code>.</code></dt>
<dd>a dot (or period) indicates any single arbitrary character.</dd>
<dt><code>-</code></dt>
<dd>instructs “not to” rewrite the URL, as in “<code>...domain.com.* - [F]</code>”.</dd>
<dt><code>+</code></dt>
<dd>matches one or more of the preceding character. e.g., <code>G+</code> matches one or more G’s, while &#8220;+&#8221; will match one or more characters of any kind.</dd>
<dt><code>*</code></dt>
<dd>matches zero or more of the preceding character. e.g., use “<code>.*</code>” as a wildcard.</dd>
<dt><code>|</code></dt>
<dd>declares a logical “or” operator. for example, <code>(x|y)</code> matches <code>x</code> or <code>y</code>.</dd>
<dt><code>\</code></dt>
<dd>escapes special characters ( <code>^ $ ! . * |</code> ). e.g., use “<code>\.</code>” to indicate/escape a literal dot.</dd>
<dt><code>\.</code></dt>
<dd>indicates a literal dot (escaped).</dd>
<dt><code>/*</code></dt>
<dd>zero or more slashes.</dd>
<dt><code>.*</code></dt>
<dd>zero or more arbitrary characters.</dd>
<dt><code>^$</code></dt>
<dd>defines an empty string.</dd>
<dt><code>^.*$</code></dt>
<dd>the standard pattern for matching everything.</dd>
<dt><code>[^/.]</code></dt>
<dd>defines one character that is neither a slash nor a dot.</dd>
<dt><code>[^/.]+</code></dt>
<dd>defines any number of characters which contains neither slash nor dot.</dd>
<dt><code>http://</code></dt>
<dd>this is a literal statement — in this case, the literal character string, “http://”.</dd>
<dt><code>^domain.*</code></dt>
<dd>defines a string that begins with the term “<code>domain</code>”, which then may be proceeded by any number of any characters.</dd>
<dt><code>^domain\.com$</code></dt>
<dd>defines the exact string “<code>domain.com</code>”.</dd>
<dt><code>-d</code></dt>
<dd>tests if string is an existing directory</dd>
<dt><code>-f</code></dt>
<dd>tests if string is an existing file</dd>
<dt><code>-s</code></dt>
<dd>tests if file in test string has a non-zero value</dd>
</dl>
<p>The Options directive controls which server features are available in a particular directory.</p>
<p>option can be set to None, in which case none of the extra features are enabled, or one or more of the following:</p>
<p>All<br />
All options except for MultiViews. This is the default setting.<br />
ExecCGI<br />
Execution of CGI scripts is permitted.<br />
FollowSymLinks<br />
The server will follow symbolic links in this directory.<br />
Note: even though the server follows the symlink it does not change the pathname used to match against &lt;Directory&gt; sections.<br />
Note: this option gets ignored if set inside a &lt;Location&gt; section.<br />
Includes<br />
Server-side includes are permitted.<br />
IncludesNOEXEC<br />
Server-side includes are permitted, but the #exec command and #exec CGI are disabled. It is still possible to #include virtual CGI scripts from ScriptAliase&#8217;d directories.<br />
Indexes<br />
If a URL which maps to a directory is requested, and the there is no DirectoryIndex (e.g., index.html) in that directory, then the server will return a formatted listing of the directory.<br />
MultiViews<br />
Content negotiated MultiViews are allowed.<br />
SymLinksIfOwnerMatch<br />
The server will only follow symbolic links for which the target file or directory is owned by the same user id as the link.<br />
Note: this option gets ignored if set inside a &lt;Location&gt; section.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lockstockmods.net/2008/04/11/htaccess-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: www.lockstockmods.net @ 2010-08-01 05:04:56 -->