httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Cohen <>
Subject [users@httpd] how to use reverseproxy with htaccess
Date Sat, 24 May 2008 07:22:13 GMT
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>
        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
        <Directory />
                AuthType Basic
                AuthName "Internal Proxy"
                AuthUserFile /etc/apache2/htpasswd
                Require valid-user

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?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message