<?xml version="1.0" encoding="UTF-8"?>
<codes type="array">
  <code>
    <code>AddType application/octet-stream .doc .mov .avi .pdf .xls .mp4</code>
    <created-at type="datetime">2009-08-22T15:34:32Z</created-at>
    <description></description>
    <id type="integer">198</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>force download .htaccess</title>
    <updated-at type="datetime">2009-08-22T15:34:32Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>AuthUserFile /home/leonardo/public_html/project/.htpasswd
AuthGroupFile /dev/null
AuthName &quot;Restricted Access&quot;
AuthType Basic
&lt;limit GET&gt;
require valid-user
&lt;/limit&gt;</code>
    <created-at type="datetime">2008-07-16T02:11:53Z</created-at>
    <description>create a .htaccess file with this content.

the .htpasswd contains a user and encrypted password (e.g.: leo:4tHAiRmQ4OpjM). create a encrypted password in: http://www.kxs.net/support/htaccess_pw.html

</description>
    <id type="integer">36</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>Password protecting your pages with htaccess</title>
    <updated-at type="datetime">2008-07-16T02:11:53Z</updated-at>
    <user-id type="integer">7</user-id>
  </code>
  <code>
    <code>// create a .htaccess with this: 
AddHandler application/x-httpd-php .php</code>
    <created-at type="datetime">2008-07-04T00:39:45Z</created-at>
    <description>by default, dreamhost runs php as cgi. 
the follow line switchs from cgi to apache module execution, supporting php_auth.</description>
    <id type="integer">15</id>
    <language-id type="integer">42</language-id>
    <privated type="boolean">false</privated>
    <title>activing php_auth on dreamhost</title>
    <updated-at type="datetime">2008-07-04T00:39:45Z</updated-at>
    <user-id type="integer">1</user-id>
  </code>
</codes>
