cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianugo Rabellino <>
Subject Re: How do you obtain the virtual host name without the port.
Date Sun, 04 Apr 2004 22:32:26 GMT
Upayavira wrote:

> dave- wrote:
>> That does not work because {1} appears to pick up both the host AND the
>> port.  For example, {1} picks up and not
>> .
> Don't understand. That's not how wildcard matchers work. If you've got 
> pattern="*:*", then {1} should be everything before the colon, and {2} 
> should be everything after. If that doesn't work, try pattern="*:8080".

But that's _not_ how the Host matcher works: it's regexp and not 
wildcard bases, so you have to use regexp syntax as in ".*:.*" (dunno if 
greedy regexp behaviour would kick in tho').


Gianugo Rabellino
Pro-netics s.r.l. -
Orixo, the XML business alliance -
     (Blogging at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message