<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: htpasswd code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 29 Aug 2008 05:25:57 GMT</pubDate>
    <description>DZone Snippets: htpasswd code</description>
    <item>
      <title>Apache htaccess authentication</title>
      <link>http://snippets.dzone.com/posts/show/1508</link>
      <description>For setting up a quick protected directory, put this in .htaccess&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;AuthName "Some Admin Area"&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthUserFile /home/someclient/public_html/admin/.htpasswd&lt;br /&gt;require valid-user&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And then create the .htpasswd file via&lt;br /&gt;htpasswd -c .htpasswd someuser&lt;br /&gt;&lt;br /&gt;</description>
      <pubDate>Fri, 17 Feb 2006 10:00:42 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1508</guid>
      <author>mvidberg ()</author>
    </item>
  </channel>
</rss>
