ProxyPass/ProxyPassReverse: url is not translated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
   I have tried to use proxypass with virtual host, here is what I want to do:

  on server A,  virutal host :http://groups.mygroups.com/
  on Server B:  a application is running at at: http://192.168.0.21/groups/

   I want server A to do the reverse proxy to server B,
   that mean http://groups.mygroups.com/  ==> http://192.168.0.21/groups/

   And my configure on Server A is:

<VirtualHost *:80>
  ServerName  groups.mygroups.com
  ProxyPass / http://192.168.0.21/groups/
  ProxyPassReverse /  http://192.168.0.21/groups/
  ProxyPreserveHost On
</VirtualHost>


  The issue is:

     when I tried to access http://groups.mygroups.com/, the first
home page showed up,
     but on this page, there are links like:
            http://192.168.0.21/groups/show.php etc

    these links has not being translated to:
            http://groups.mygroups.com/show.php

    I tried other configures:
        ProxyHTMLURLMap http://192.168.0.21/groups/ /

      No luck.


     anything could be wrong?


thanks.


-- 
Best Regards

Mike

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux