Hey all,
I am running Apache2 on a Debian server.
There is a virtual host that I want to basically protect using HTTP auth.
I configured Apache the good way (I think).
However, my browser does not require anything when I connect.
Here is my config file:
Code:
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@XXX.net
DocumentRoot /var/www/term.XXX.net
ServerName term.XXX.net
ServerAlias term.home.network
ErrorLog /var/log/apache2/term.XXX.net.error.log
CustomLog /var/log/apache2/term.XXX.net.access.log common
SSLEngine On
SSLCertificateFile /etc/apache2/apache.pem
<Directory /var/www/term.XXX.net>
AuthUserFile /etc/apache2/term.XXX.net.passwd
AuthName "WHO ARE YOU?"
AuthType Basic
Require valid-user
Order allow,deny
Allow from all
</Directory>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /ajaxterm/ http://localhost:8022/
ProxyPassReverse /ajaxterm/ http://localhost:8022/
</VirtualHost>
Any idea ?
Thanks