[EMAIL PROTECTED] wrote:
>
> Nuno Miguel Neves <[EMAIL PROTECTED]> writes:
> > I'm trying to use mod_auth_pam and mod_ssl, but it seems that they are
> > exclusive!
>
> What version of mod_auth_pam? What version of PAM?
>
> > When I compile Apache without SSL, the .htacces file works fine, and shows
> > me a login/password window on the browser, but when I have mod_ssl, the
> > window doesn't even show up!
[snip]
Im using apache-1.3.3, mod_auth_pam-0.8, mod_ssl-2.0.13-1.3.3, and
mod_pam auth seems to work ok for me with mod_ssl.
Im using virtual hosts and a location setup like this, have not tried
with .htaccess. Also note that if I move the Auth stuff into the virtual
host section apache don't start, saying that "AuthType not allowed here"
(I'm not sure if this is correct). The main server is default to
SSLdisable.
<VirtualHost online.terminator.net:443>
Port 443
DocumentRoot /home/www/online
ServerName online.terminator.net
SSLEnable
</VirtualHost>
<Directory /home/www/online>
AuthType Basic
AuthPAM_Enabled On
AuthPAM_FallThrough Off
AuthName online
require valid-user
</Directory>
regards,
Stein Vr�le
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]