DeveloperSide.NET Forums
February 24, 2020, 12:09:54 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  DeveloperSide.NET / Building a Web Server, for Linux / Password Authentication with SSL problems 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.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!