You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Akila Amarathunga <ak...@travelbyte-technologies.co.uk> on 2007/03/22 13:29:34 UTC

[users@httpd] mod_proxy reverse roblem

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


---------------------------------------------------------------------
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