Hi All,

I have configured mod_proxy in one of my servers.. and the configuration
is like below...

<VirtualHost *:80>
    DocumentRoot <path>
    ----------------
    ----------------    

    ProxyRequests Off
    <Proxy *>
        Order Deny,Allow
        Allow from all
    </Proxy>

    <Location "/PATH1">
        AuthName "PATH1"
        AuthType Basic
        AuthUserFile <path>/.htpasswd
        Require valid-user
        ProxyPass http://<local-address>/PATH1
        ProxyPassReverse http://<local-address>/PATH1
    </Location>

(Authentication done in mod_proxy server)


When I access the local site from outside it prompts for
authentication.. but after a successful authentication I get response
"301" and nothing happened. I think it because remote client trying to
access the local address which is close to outside.
As for apache mod_proxy documentation ProxyPassReverse should change the
URL but it doesn't.

I really appreciate if some one can help me out here..

Thanks,
Akila



Reply via email to