Multihosting to Virtual Hosts

Greetings all,

I'm using WPS 4.0.5 and I'm trying to setup a reverse proxy. I'm not being successful in it.

I may be doing something that is currently not possible. I have a reverse proxy sitting in from of a WS 6.1 instance that have a few virtual servers running, (separated using urlhosts). The virtual servers work just find and use the right doc root depending on the url you use.

I've used the mutlihosting configuration on the proxy server and configured a couple mappings

www.domain1.com --> webserver.ip.address

www.domain2.com --> webserver.ip.address

However, wether I hit www.domain1.com or www.domain2.com through thr proxy, I always get www.domain1.com (the default virtual server).

Is what I am trying to do not possible, I know that most of the examples I've come across in documentation and former posts has not had a similar setup.

Any enlightenment would be greatly appreciated!

Thanks!

JRMY

[983 byte] By [jeremycrussella] at [2007-11-27 11:28:28]
# 1

Can you please post the relevant part of your obj.conf? Specifically, those virt-map

NameTrans directives.

motora at 2007-7-29 16:22:17 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

Sure,

NameTrans fn="virt-map" host-regex="www(|.domain2.com)(|:80)" to-prefix=" http://192.168.12.105"

NameTrans fn="virt-map" host-regex="www(|.domain1.com)(|:80)" to-prefix=" http://192.168.12.105"

Let me know if you need anything more.

Thanks!!

jeremycrussella at 2007-7-29 16:22:17 > top of Java-index,Web & Directory Servers,Web Servers...