<?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>AskApache &#187; Search Results  &#187;  sample+htaccess+file</title>
	<atom:link href="http://www.askapache.com/search/sample%2Bhtaccess%2Bfile/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Fri, 17 May 2013 23:28:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Htaccess &#8211; The Ultimate Guide</title>
		<link>http://www.askapache.com/htaccess/htaccess.html</link>
		<comments>http://www.askapache.com/htaccess/htaccess.html#comments</comments>
		<pubDate>Wed, 01 May 2013 13:05:32 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[301 Redirects]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[ErrorDocument]]></category>
		<category><![CDATA[File Permissions]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[HTTP Headers]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[mod_security]]></category>
		<category><![CDATA[mod_status]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Redirect]]></category>
		<category><![CDATA[RedirectMatch]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[RewriteCond]]></category>
		<category><![CDATA[RewriteEngine]]></category>
		<category><![CDATA[RewriteRule]]></category>
		<category><![CDATA[robots.txt]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.askapache.com.com/htaccess/htaccesselite-ultimate-htaccess-article.html</guid>
		<description><![CDATA[<p><p>I discovered these tips and tricks mostly while working as a network security penetration specialist hired to find security holes in web hosting environments.   That is when I started examining htaccess files in great detail and learned about the incredible untapped power of htaccess.  The only avenue on shared-hosting was and is the .htaccess file, and holy freaking fiber-optics.. it's almost as powerful as httpd.conf itself</p></p><p>The post <a href="http://www.askapache.com/htaccess/htaccess.html">Htaccess &#8211; The Ultimate Guide</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/htaccess/htaccess.html/feed/</wfw:commentRss>
		<slash:comments>83</slash:comments>
		</item>
		<item>
		<title>Mod_Status tricks to View Apache Module Directives</title>
		<link>http://www.askapache.com/htaccess/modstatus-server-info.html</link>
		<comments>http://www.askapache.com/htaccess/modstatus-server-info.html#comments</comments>
		<pubDate>Wed, 31 Oct 2012 20:53:15 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[lynx]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[mod_status]]></category>
		<category><![CDATA[server-info]]></category>
		<category><![CDATA[server-status]]></category>

		<guid isPermaLink="false">http://www.askapache.com/?p=5278</guid>
		<description><![CDATA[<p><p><a class="IFL" href="http://www.askapache.com/htaccess/mod_status-server-info.html"><img src="http://uploads.askapache.com/2012/10/server-info-apache-116x116.png" alt="Apache Server Info in Lynx generated by mod_status" title="Apache Server Info in Lynx generated by mod_status" width="116" height="116" class="size-thumbnail wp-image-7324" /></a>Quick and easy method to get a list of all Apache Modules currently loaded, a list of all the directives each module provides, a list of currently used directives, etc...  These directives can be used in httpd.conf and/or .htaccess files so it is definately useful to know which ones are available and which ones are currently being used.<br class="C" /></p></p><p>The post <a href="http://www.askapache.com/htaccess/modstatus-server-info.html">Mod_Status tricks to View Apache Module Directives</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/htaccess/modstatus-server-info.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a Trailing &quot;/&quot; to WordPress Permalinks</title>
		<link>http://www.askapache.com/wordpress/adding-trailing-permalinks.html</link>
		<comments>http://www.askapache.com/wordpress/adding-trailing-permalinks.html#comments</comments>
		<pubDate>Wed, 17 Oct 2012 05:24:44 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[permalink]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RedirectMatch]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.askapache.com/?p=7263</guid>
		<description><![CDATA[<p><p><strong>Problem:</strong> WordPress shows pages, categories, author pages, etc. without an ending '/'. <br /><strong style="margin-left:80px">/about</strong> instead of <strong>/about/</strong>.<br /><strong style="margin-left:80px">/category/htaccess</strong> instead of <strong>/category/htaccess/</strong>.<br /><br /><strong>Solution:</strong> Either <a href="http://www.askapache.com/wordpress/adding-trailing-permalinks.html#Sample_user_trailingslashit_Filter">hook into the <code>user_trailingslashit</code> filter</a>, or use <a href="http://www.askapache.com/wordpress/adding-trailing-permalinks.html#Htaccess_RedirectMatch">some htaccess <code>RedirectMatch</code></a><br class="C" /></p></p><p>The post <a href="http://www.askapache.com/wordpress/adding-trailing-permalinks.html">Adding a Trailing &quot;/&quot; to WordPress Permalinks</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/wordpress/adding-trailing-permalinks.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTTP Status Codes and Htaccess ErrorDocuments</title>
		<link>http://www.askapache.com/htaccess/apache-status-code-headers-errordocument.html</link>
		<comments>http://www.askapache.com/htaccess/apache-status-code-headers-errordocument.html#comments</comments>
		<pubDate>Thu, 06 Jan 2011 20:56:15 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[403]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[500]]></category>
		<category><![CDATA[503]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RewriteCond]]></category>
		<category><![CDATA[RewriteRule]]></category>

		<guid isPermaLink="false">http://www.askapache.com.com/htaccess/wow-i-served-a-page-for-every-single-http-status-code-and-saved-headers-and-content.html</guid>
		<description><![CDATA[<p><p>There are a total of <a href="http://www.askapache.com/htaccess/apache-status-code-headers-errordocument.html#apache-response-codes-57">57 HTTP Status Codes</a> recognized by the Apache Web Server.  Wouldn't you like to see what all those headers and their output, ErrorDocuments look like?</p></p><p>The post <a href="http://www.askapache.com/htaccess/apache-status-code-headers-errordocument.html">HTTP Status Codes and Htaccess ErrorDocuments</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/htaccess/apache-status-code-headers-errordocument.html/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Htaccess SetEnvIf and SetEnvIfNoCase Examples</title>
		<link>http://www.askapache.com/htaccess/setenvif.html</link>
		<comments>http://www.askapache.com/htaccess/setenvif.html#comments</comments>
		<pubDate>Sun, 07 Dec 2008 17:36:59 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[SetEnvIf]]></category>

		<guid isPermaLink="false">http://www.askapache.com/htaccess/setenvif.html</guid>
		<description><![CDATA[<p><p>SetEnv, SetEnvIf, and SetEnvIfNoCase directives conditionally set environment variables accessible by scripts and apache based on HTTP Headers, Variables, and Request information.</p>
<ul class="TOCC">
	<li><a href="http://www.askapache.com/htaccess/setenvif.html#setenvif-variables" title="Unique mod_setenvif Variables">Unique mod_setenvif Variables</a></li>
	<li><a href="http://www.askapache.com/htaccess/setenvif.html#http-headers" title="Populates HTTP_MY_ Variables with mod_setenvif variable values">Populates HTTP_MY_ Variables with mod_setenvif variable values</a></li>
	<li><a href="http://www.askapache.com/htaccess/setenvif.html#remote-host" title="Set REMOTE_HOST to Server_Name">Set REMOTE_HOST to HTTP_HOST</a></li>
	<li><a href="http://www.askapache.com/htaccess/setenvif.html#allow-host" title="Allows only if HOST Header is present in request">Allows only if HOST Header is present in request</a></li>
	<li><a href="http://www.askapache.com/htaccess/setenvif.html#header-copy" title="Add values from HTTP Headers">Add values from HTTP Headers</a></li>
	<li><a href="http://www.askapache.com/htaccess/setenvif.html#redirect-status" title="Set the REDIRECT_STATUS for Interpreter Security">Set the REDIRECT_STATUS for Interpreter Security</a></li>
</ul></p><p>The post <a href="http://www.askapache.com/htaccess/setenvif.html">Htaccess SetEnvIf and SetEnvIfNoCase Examples</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/htaccess/setenvif.html/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SEO Boost from Google 404 Plugin</title>
		<link>http://www.askapache.com/seo/404-google-wordpress-plugin.html</link>
		<comments>http://www.askapache.com/seo/404-google-wordpress-plugin.html#comments</comments>
		<pubDate>Tue, 01 Jul 2008 15:11:16 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.askapache.com/seo/404-google-wordpress-plugin.html</guid>
		<description><![CDATA[<p><p><a class="IFL hs hs33" href="http://www.askapache.com/google-seo-wordpress-yaHOO-robots" rel="nofollow" title="404 Not Found page using Google Ajax Search API"></a><strong>1 minute Install!</strong><br />Turns every 404 Not Found error into a SEO traffic generating event! Now you have many unique users with unique IP addresses and cookies searching your blog on all of the Google Indexes... <strong>Sweet!</strong><br /><br /><a href="http://www.askapache.com/google-wordpress-plugin-htaccess-robots-php-plugin.html?linux=bsd&#38;g=354" rel="nofollow">&#171;Take My 404 for a Test-Drive</a><br class="C" /></p></p><p>The post <a href="http://www.askapache.com/seo/404-google-wordpress-plugin.html">SEO Boost from Google 404 Plugin</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/seo/404-google-wordpress-plugin.html/feed/</wfw:commentRss>
		<slash:comments>140</slash:comments>
		</item>
		<item>
		<title>Mod_Security .htaccess tricks</title>
		<link>http://www.askapache.com/htaccess/modsecurity-htaccess-tricks.html</link>
		<comments>http://www.askapache.com/htaccess/modsecurity-htaccess-tricks.html#comments</comments>
		<pubDate>Wed, 23 Apr 2008 06:17:01 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[mod_security]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.askapache.com/htaccess/mod_security-htaccess-tricks.html</guid>
		<description><![CDATA[<p><p><a class="IFL hs hs05"  href="http://www.modsecurity.org/"></a>Mod_Security rivals Mod_Rewrite in the amount of features it provides.  I decided to go ahead and post what I learned about it today, even though its tough to give away such awesome htaccess and apache tricks..  Learn how to control spam once and for all, conditionally log/deny/allow/redirect requests based on IP, username, etc..  Mod_Security is so fine!</p></p><p>The post <a href="http://www.askapache.com/htaccess/modsecurity-htaccess-tricks.html">Mod_Security .htaccess tricks</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/htaccess/modsecurity-htaccess-tricks.html/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Apache SSL in htaccess examples</title>
		<link>http://www.askapache.com/htaccess/apache-ssl-in-htaccess-examples.html</link>
		<comments>http://www.askapache.com/htaccess/apache-ssl-in-htaccess-examples.html#comments</comments>
		<pubDate>Sun, 30 Mar 2008 01:31:59 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[301 Redirects]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.askapache.com.com/htaccess/apache-ssl-in-htaccess-examples.html</guid>
		<description><![CDATA[<p><pre>
SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "google.com"
ErrorDocument 403 https://google.com
</pre>
<p>Some of the Ins and Outs of using SSL Connections with Apache.</p></p><p>The post <a href="http://www.askapache.com/htaccess/apache-ssl-in-htaccess-examples.html">Apache SSL in htaccess examples</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/htaccess/apache-ssl-in-htaccess-examples.html/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Skeleton .htaccess file for Powweb Hosting</title>
		<link>http://www.askapache.com/htaccess/powweb-htaccess.html</link>
		<comments>http://www.askapache.com/htaccess/powweb-htaccess.html#comments</comments>
		<pubDate>Fri, 11 Jan 2008 09:05:51 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Htaccess]]></category>

		<guid isPermaLink="false">http://www.askapache.com/htaccess/powweb-htaccess.html</guid>
		<description><![CDATA[<p><p><a href='http://uploads.askapache.com/2008/02/pow_head_logo.gif' title='Powweb Web Hosting'><img src='http://uploads.askapache.com/2008/02/pow_head_logo.gif' alt='Powweb Web Hosting' /></a>If you have a Powweb Webhosting account, you will appreciate this simple skeleton .htaccess file for use on their systems.<br class="C" /></p></p><p>The post <a href="http://www.askapache.com/htaccess/powweb-htaccess.html">Skeleton .htaccess file for Powweb Hosting</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/htaccess/powweb-htaccess.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wget Trick to Download from Restrictive Sites</title>
		<link>http://www.askapache.com/linux/wget-header-trick.html</link>
		<comments>http://www.askapache.com/linux/wget-header-trick.html#comments</comments>
		<pubDate>Thu, 06 Sep 2007 15:26:32 +0000</pubDate>
		<dc:creator>AskApache</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.askapache.com/tools/wget-header-trick.html</guid>
		<description><![CDATA[<p><p><span class="IFL"><strong>Before</strong><br /><a rel="lb" href='http://uploads.askapache.com/2007/09/wget-trick-before.png' title='wget 403 Forbidden'><img src='http://uploads.askapache.com/2007/09/wget-trick-before.thumbnail.png' alt='wget 403 Forbidden' /></a>
<strong>After trick</strong><br /><a rel="lb" href='http://uploads.askapache.com/2007/09/wget-trick-after.png' title='wget bypassing restrictions'><img src='http://uploads.askapache.com/2007/09/wget-trick-after.thumbnail.png' alt='wget bypassing restrictions' /></a></span><strong>I am often logged in to my servers via SSH</strong>, and I need to download a file like a WordPress plugin.  I've noticed many sites now employ a means of blocking robots like wget from accessing their files.  Most of the time they use .htaccess to do this.  So a permanent workaround has wget mimick a normal browser.<br class="C" /></p></p><p>The post <a href="http://www.askapache.com/linux/wget-header-trick.html">Wget Trick to Download from Restrictive Sites</a> appeared first on <a href="http://www.askapache.com">AskApache</a>.</p>]]></description>
		<wfw:commentRss>http://www.askapache.com/linux/wget-header-trick.html/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
