Hello ng,
how can I force an authentification-window in a VirtualHost context with SSLEngine on ?
I don't want to use Fake basic_auth, I want to choose login/pass by myself. Does anybody
know? Thanks.
Until now we have the following 'Solution':
8< -------------------------------
<Directory "/www/wwwroot/auth">
Options -Indexes FollowSymLinks MultiViews
# has to be through https
Rewri*gine on
RewriteCond %{HTTPS} !=on
RewriteRule (.*)$ https://%{SERVER_NAME}/$1 [R]
# has to be from local subnet
Order deny,allow
Deny from all
Allow from 192.168.134.151/16
#
Satisfy all
</Directory>
---------------------------- >8
if you want to access it via http, basic_auth appears and after successful login a rewrite
to https follows, but if you want to access a file via https, you don't need a login/pass.
But https must force a login, too.
--
Norman Wehrle