I am sorry before hands if the question was already requested however i wasn't capable of finding a suitable response.

I've got a server that's used being an interface kind of proxy for a number of web programs and websites on other servers.

For instance basically connect with my server as follow :


It'll redirect me to my_application that is on another server.

What I wish to do is to establish a fundamental authentication for the applications and website which are utilized through this interface. This is exactly what I've to date :

    ProxyRequests Off
    ProxyPreserveHost Off

    <Proxy *>
            Order allow,deny
            Allow from all
            AuthType Basic
            AuthName "Identify"
            AuthUserFile /my/path/to/htpasswd
            Require user user1
    ProxyPass  /my_app  http://my_app_ip
    ProxyPassreverse  /my_app  http://my_app_ip
    ProxyPassreverse  /my_app  http://my_interface.com/my_app

After I access my_interface.com/my_application I recieve no request authentication.

What shall we be held doing wrong?


I've got a working proxy with apache and also the only distinction between mine config and yours is the fact that I've ProxyRequests set to On. (not to mention apache hearing the proxy port). However I did not use ProxyPass. Anyway this is actually the config I am using Prevent apache proxy access 192.168.1.xxx