The configuration is like this

Code:
                               |--------------192.168.1.1
                               |            (site1.abc.com)
                               |
                               |--------------192.168.1.2
                               |            (site2.abc.com)
                               |
                               |
                               |
                               |
                               |--------------192.168.1.3
                               |            (site3.abc.com)
                               |
                               |
                               |
                               |
                               |--------------192.168.1.4
                               |            (site4.abc.com)
 (Public IP )              |
           A----------------- |
(reverse proxy server)|
 (192.168.1.25)         |
                               |--------------192.168.1.5
                               |            (site5.abc.com)

I am now talking about site5.abc.com
here is my virtualhost file
http://educommons.com/dev/browser/eduCommons-extras/trunk/eduCommons.conf.example.redhat
line 15 is specially noticeable.

  RewriteRule ^/(.*)
http://127.0.0.1:8080/VirtualHostBase/http/192.168.1.5:8080/eduCommons/VirtualHostRoot/$1
[P,L]





As far as I understand the above rule will match any URL  and replace  it with
http://127.0.0.1:8080/VirtualHostBase/http/<Your Server
Name>:80/eduCommons/VirtualHostRoot/$1

What is happening is when I use at server A in above diagram
following for site5.abc.com (where site5 is where I hosted)

ProxyPass              /    192.168.1.5:8080/eduCommons
ProxyPassReverse  /    192.168.1.5:8080/eduCommons

any request for site5.abc.com gets replaced by 192.168.1.5:8080/eduCommons
at server A and then gets to 192.168.1.5 which is where it is hosted.

Here is the problem URL when I logged out or log in it is similar

http://192.168.1.5:8080/eduCommons/acl_users/credentials_cookie_auth/require_login?came_from=http://192.168.1.5:8080/eduCommons/%40%40coursebuilderform



So a part of it can be because I am using ProxyPass at Server A.
Should I change the vhost settings at Server A or
internal machine where
site5.abc.com is hosted.
Right now all the settings you see are on httpd.conf of internal
machine and not at A
do I need to do some thing on server A in above diagram.
-- 
Tapas

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to