DeveloperSide.NET Forums
July 23, 2019, 05:41:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Password Authentication with SSL problems  (Read 6239 times)
0 Members and 1 Guest are viewing this topic.
jc8458
Member
*
Posts: 1

jac84@cam.ac.uk
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
</Limit>


and the appropriate section of httpd.conf:

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

Thanks in advance for any help you can give

Jon.
Logged
admin
Administrator
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.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
  Print  
 
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!