<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: htaccess password Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156281#M50382</link>
    <description>Case resolved as outlined above.&lt;BR /&gt;R,&lt;BR /&gt;D.</description>
    <pubDate>Thu, 12 Feb 2009 11:49:09 GMT</pubDate>
    <dc:creator>Duffs</dc:creator>
    <dc:date>2009-02-12T11:49:09Z</dc:date>
    <item>
      <title>htaccess password Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156276#M50377</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Running Redhat AS Release 4 here.....&lt;BR /&gt;&lt;BR /&gt;I've setup a .htaccess file /var/www/html/.htaccess &lt;BR /&gt;&lt;BR /&gt;AuthType Basic&lt;BR /&gt;AuthName "restricted stuff"&lt;BR /&gt;#AuthUserFile /home/secure/.htpasswd&lt;BR /&gt;AuthUserFile /var/www/html/.htpasswd&lt;BR /&gt;Require user duffs&lt;BR /&gt;&lt;BR /&gt;I've also setup a passwords file /var/www/html/.htpasswd &lt;BR /&gt;&lt;BR /&gt;duffs:zADvPn52quUMM&lt;BR /&gt;&lt;BR /&gt;And I've also modified the /etc/httpd/httpd.conf file directory:&lt;BR /&gt;&lt;BR /&gt;&lt;DIRECTORY&gt;&lt;BR /&gt;    Options None&lt;BR /&gt;    AllowOverride All&lt;BR /&gt;    Order allow,deny&lt;BR /&gt;    Allow from all&lt;BR /&gt;AuthType Basic&lt;BR /&gt;AuthName "restricted stuff"&lt;BR /&gt;#AuthUserFile /home/secure/.htpasswd&lt;BR /&gt;AuthUserFile /var/www/html/.htpasswd/&lt;BR /&gt;Require user admin&lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt;I then stopped and restarted httpd &lt;BR /&gt;&lt;BR /&gt;Now... it DOES prompt for a username/password - however it never accepts it. It just keeps prompting me for a username/password. I've even deleted and recreated the password file like so: &lt;BR /&gt;&lt;BR /&gt;htpasswd -c /usr/local/apache/password/passwords username &lt;BR /&gt;&lt;BR /&gt;I'm 100% sure of the username/password - but it never lets me in!!!! &lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;R,&lt;BR /&gt;D.</description>
      <pubDate>Wed, 11 Feb 2009 11:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156276#M50377</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2009-02-11T11:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: htaccess password Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156277#M50378</link>
      <description>Try with mod_auth_dbm or mod_authn_dbm depending of your apache version.&lt;BR /&gt;&lt;BR /&gt;&lt;LOCATION&gt;&lt;/LOCATION&gt;&lt;BR /&gt;AuthType Basic&lt;BR /&gt;AuthName "My Private Files"&lt;BR /&gt;AuthDBMUserFile /var/www/authdb&lt;BR /&gt;AuthDBMType DB&lt;BR /&gt;require valid-user&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# htdbm -b -TDB authdb username password&lt;BR /&gt;# htdbm -l -TDB authdb&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2009 12:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156277#M50378</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-02-11T12:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: htaccess password Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156278#M50379</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I will confirm the changes in httpd.conf are required to get this function working.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 11 Feb 2009 13:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156278#M50379</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-11T13:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: htaccess password Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156279#M50380</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Excuse my lack of apache familiarity here but I have made the changes that I think you were recommending (below); maybe you can confirm where I have gone wrong here?&lt;BR /&gt;&lt;BR /&gt;&lt;DIRECTORY&gt;&lt;BR /&gt;    Options None&lt;BR /&gt;    AllowOverride All&lt;BR /&gt;    Order allow,deny&lt;BR /&gt;    Allow from all&lt;BR /&gt;AuthType Basic&lt;BR /&gt;AuthName "restricted stuff"&lt;BR /&gt;#AuthUserFile /var/www/html/.htpasswd/&lt;BR /&gt;AuthDBMUserFile /var/www/authdb&lt;BR /&gt;AuthDBMType DB&lt;BR /&gt;Require user duffs&lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt;#htdbm -b -TDB /var/www/authdb duffs duffs&lt;BR /&gt;Error opening database /var/www/authdb&lt;BR /&gt;APR does not understand this error code</description>
      <pubDate>Wed, 11 Feb 2009 14:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156279#M50380</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2009-02-11T14:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: htaccess password Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156280#M50381</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Case resolved. The modules that you recommended were not actually required and after some deliberation discovered that the configuration actually worked when I changed the '' directive to ''. &lt;BR /&gt;&lt;BR /&gt;Thanks anyway for the responses.&lt;BR /&gt;&lt;BR /&gt;Duffs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Feb 2009 11:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156280#M50381</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2009-02-12T11:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: htaccess password Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156281#M50382</link>
      <description>Case resolved as outlined above.&lt;BR /&gt;R,&lt;BR /&gt;D.</description>
      <pubDate>Thu, 12 Feb 2009 11:49:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/htaccess-password-linux/m-p/5156281#M50382</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2009-02-12T11:49:09Z</dc:date>
    </item>
  </channel>
</rss>

