LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache 2 + ssl + authtype (https://www.linuxquestions.org/questions/linux-networking-3/apache-2-ssl-authtype-299915/)

collen 03-10-2005 03:46 AM

apache 2 + ssl + authtype
 
well i'm trying to setup apache with ssl for accessing our intranet.

i use authtype to get username and password..
it all works fine on the normal port 80 without SSL.

now i would like for our users to surf to the site, klick a button.
go into https mode, and then get the auth-popupbox..

here is a part of my conf.:
## INDEX/BEGIN #################################
<VirtualHost *>
ServerName server.name.org:80
#Options +Indexes MultiViews
DocumentRoot "/DATA/intranet"
DirectoryIndex index.html index.htm default.html default.htm index.php
### INTRANET ###################################
<Directory "/DATA/intranet/Web">
DirectoryIndex index.html index.htm Default.html index.php
Options Indexes FollowSymLinks MultiViews
SSLVerifyClient require
SSLVerifyDepth 1
SSLOptions +FakeBasicAuth
SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
AuthType Basic
AuthName "MLHJ Intranet Beta 1.4"
AuthUserFile /DATA/etc/passwd
AuthGroupFile /DATA/etc/group
Require group MLHJ
</Directory>
</VirtualHost>
######################

the idea is that assoon the server access the "/Data/intranet/Web" (server.name.org/Web) it should switch automaticly into https mode.. so the must not be anny http mode after the /Web part..
also auth. is required..

now i get "object not found", and no auth box ?? from apache.
but it is still accesseble with http, not with https ??

anny clue's

Greetings
Collen


All times are GMT -5. The time now is 10:52 AM.