Hello all,

I'm new to this list and am not very experienced with apache.
I wan't to use apache's reverse proxy functionality to access a 
webserver in my lan behind nat via ssl. But I want to restrict access 
to only a few users. So I have:

<VirtualHost *:443>
        ServerAdmin [EMAIL PROTECTED]
        SSLEngine on
        SSLOptions +StrictRequire
        SSLCertificateFile /etc/ssl/certs/apache.pem
        SSLCertificateKeyFile /etc/ssl/private/apache.pem
        ProxyRequests Off
        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Allow from all
        </Proxy>
        <Directory />
                AuthType Basic
                AuthName "Internal Proxy"
                AuthUserFile /etc/apache2/htpasswd
                Require valid-user
                ProxyPass               http://fry.example.org/
                ProxyPassReverse        http://fry.example.org/
        </Directory>
</VirtualHost>

But it doesn't work.
It seems like I can't use ProxyPass and Auth* within the same directive.
What is the common way to something like this?

-- 
Thanks
Chris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to