I basically  have 2 applications
http://sakai.openitup.in
http://olat.openitup.in
we  wanted both of these to be accessible as
http://research.openitup.in/sakai
http://research.openitup.in/olat
and a website http://reserach.openitup.in which is separate from both of these
but what I found was if I proxy root of these apps (sakai and olat)
using a  URL for these apps only (i.e. sakai.openitup.in and olat.openitup.in)
then things work.
i.e.
vhost for sakai.openitup.in
<VirtualHost *:80 >

        ServerName sakai.openitup.in
        ProxyPass / ajp://192.168.1.14:8009/
        ProxyPassReverse / ajp://192.168.1.14:8009/

</VirtualHost>

and for olat another vhost 

<VirtualHost *:80 >

        ServerName olat.openitup.in
        ProxyPass / ajp://192.168.1.15:8009/
        ProxyPassReverse / ajp://192.168.1.15:8009/

</VirtualHost>

then things work.
But if I use in the vhost research.openitup.in

<VirtualHost *:80 >
        ServerName research.openitup.in

ProxyPass /sakai ajp://192.168.1.14:8009/
ProxyPassReverse /sakai ajp://192.168.1.14:8009/

ProxyPass /olat ajp://192.168.1.15:8009/
ProxyPassReverse /olat ajp://192.168.1.15:8009/


ProxyPass / http://192.168.1.14               
ProxyPassReverse  / http://192.168.1.14 
</VirtualHost>

in the vhost of research.openitup.in then 
http://research.openitup.in/sakai
http://research.openitup.in/olat
are not accessible.

If you notice I have forwarded root of research.openitup.in to an internal 
machine.
Which is where it actually is so ProxyPass / for research.openitup.in is needed.

So in this situation what can be a possible solution for me so that I can 
access 
http://research.openitup.in/sakai
and not http://sakai.openitup.in and same for olat

http://research.openitup.in/olat

and not http://olat.openitup.in

Let me know if some one has some suggestion for this part.




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