DeveloperSide.NET Forums
July 11, 2020, 03:01:23 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Password Authentication with SSL problems  (Read 7517 times)
0 Members and 1 Guest are viewing this topic.
Posts: 1
View Profile
« on: August 27, 2005, 04:21:44 PM »

Can anyone help. I've been tearing my hair out over this for days!

I am trying to set up secure web access to my files. I have managed to successfully set up ssl and can browse my pages via https. However those directoreis that are password protected by .htaccess files no longer prompt me for a password when accessed by https. When I access the same directories through unsecure http the passwork prompt pops up. I am currently in the unsatifactory state of protecting those directories via unencrypted basic password authentication, or secure but unrestricted https. I want both.

My .htaccess looks like this

 AuthUserFile /var/www/html/.htpasswd
AuthGroupFile /dev/null
AuthName "By Invitation Only"
AuthType Basic

<Limit GET>
require valid-user

and the appropriate section of httpd.conf:

<Directory "/var/www/html">
        Options All
        Order allow,deny
        Allow from all

Thanks in advance for any help you can give

Master of All Subjects
Posts: 3272

View Profile WWW Email
« Reply #1 on: August 28, 2005, 07:52:37 PM »

Where is your AuthUserFile "..." field (under httpd.conf), and check its block.  Make sure to add it and the protected dir under ssl.conf also.

Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!