Public bug reported: To replicate: 1: Create htpasswd file using "sudo htpasswd /etc/apache2/passwd jeremy" 2: Enter the same password twice 3: Insert the following into /etc/apache2/sites-enabled/000-default-ssl: <Directory /var/www/git> AuthType Basic AuthName "Git authorization required" AuthUserFile /etc/apache2/passwd Require valid-user </Directory>
4: Restart apache 5: Open firefox and enter "https://localhost/git" in the location bar, press enter. 6: Enter the "jeremy" as the username and enter the same password you entered into htpasswd. 7: chown /etc/apache2/passwd to www-data:www-data and try again What I expected to happen: Apache should accept the password because it's the exact same one I typed into htpasswd What happened instead: Firefox repeatedly asked me for the password and went to a 401 error page when I pressed cancel. ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: apache2 2.2.22-6ubuntu5.1 ProcVersionSignature: Ubuntu 3.8.0-30.44-generic 3.8.13.6 Uname: Linux 3.8.0-30-generic x86_64 Apache2ConfdDirListing: ['gitweb', 'other-vhosts-access-log', 'localized-error-pages', 'charset', 'security'] ApportVersion: 2.9.2-0ubuntu8.3 Architecture: amd64 Date: Wed Sep 25 17:45:35 2013 InstallationDate: Installed on 2013-08-19 (36 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) MarkForUpload: True SourcePackage: apache2 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: apache2 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug raring -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/1230194 Title: apache2 basic authentication rejects password To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1230194/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs