LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ProxyPass bypasses authentication (https://www.linuxquestions.org/questions/linux-server-73/proxypass-bypasses-authentication-710072/)

t0bias 03-08-2009 01:31 PM

ProxyPass bypasses authentication
 
Hi,

I added these lines to my apache2.2 config:

Code:

<VirtualHost _default_:443>
    ServerName term.foo.bar.com
    ErrorLog logs/term-error_log
    CustomLog logs/term-access_log common
    <Location />
    AuthType Basic
    AuthName "Restricted Area"
    AuthUserFile /usr/local/apache/passwd/.htpasswd
    Require valid-user
    ProxyPass http://localhost:7676/ ttl=60
    ProxyPassReverse http://localhost:7676/
    </Location>
    SSLEngine on
    SSLCertificateFile /etc/pki/tls/certs/term.crt
    SSLCertificateKeyFile /etc/pki/tls/certs/term.key
</VirtualHost>

Now the ProxyPass bypasses the authentication,
anyterm just shows up to anyone.

Any ideas?

Thanks,

Toby


All times are GMT -5. The time now is 12:40 PM.