Yup, it's being rewritten to the ip of the server and setting preserve hosts on brings other issues.

However I found out that if I place one vhost before the other and omitting set header on the first one. It'll actually work, and since I only have to sites its okay.. And working sort of as wanted..

Gabriel Bucher wrote:
have you tried to use the request header attribute 'Host', see http 1.1 specification.

gab

Nino Saturnino Martinez Vazquez Wael wrote:
Hi

I've tried like a crazy mad man to get apache to set a special header depending on which domain my requests comes from, I just cant get it to work(sets the same header no matter which domain). So I thought that wicket could come to the rescue again..

Instead of setting a header I could get apache to forward to special urls depending on domain, like this: http://domain/applicationcontext/mydomain , that way I can get wicket to pickup which domain the request comes from... But how can it be done? Because the parameter will be there in every request...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to