Grokbase Groups Apache users May 2008
FAQ
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 webmaster@example.org
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: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Search Discussions

  • Eric Covener at May 24, 2008 at 12:35 pm

    On Sat, May 24, 2008 at 3:22 AM, Chris Cohen wrote:
    <Directory />
    ProxyPass http://fry.example.org/
    ProxyPassReverse http://fry.example.org/
    </Directory>
    Try Location instead of directory.

    --
    Eric Covener
    covener@gmail.com

    ---------------------------------------------------------------------
    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: users-unsubscribe@httpd.apache.org
    " from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org
  • Chris Cohen at May 24, 2008 at 12:45 pm

    On Saturday 24 May 2008 14:34:45 Eric Covener wrote:
    On Sat, May 24, 2008 at 3:22 AM, Chris Cohen wrote:
    <Directory />
    ProxyPass http://fry.example.org/
    ProxyPassReverse http://fry.example.org/
    </Directory>
    Try Location instead of directory.
    Thank you. That worked.

    --
    Greetings
    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: users-unsubscribe@httpd.apache.org
    " from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriesapache
postedMay 24, '08 at 7:22a
activeMay 24, '08 at 12:45p
posts3
users2
websitehttpd.apache.org
irc#httpd

2 users in discussion

Chris Cohen: 2 posts Eric Covener: 1 post

People

Translate

site design / logo © 2022 Grokbase