That does not work because {1} appears to pick up both the host AND theDon'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".
port. For example, {1} picks up www.example1.com:8080 and not
www.example1.com .
Regards, Upayavira
----- Original Message ----- From: "Upayavira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 04, 2004 12:57 AM
Subject: Re: How do you obtain the virtual host name without the port.
dave- wrote:
How can you obtain the virtual host name without the port?
For example, <map:match type="host" pattern="**"> includes the port in {1}.
Never used it, but could you try <map:match type="host" pattern="*:*"> and then use {1}, and ignore {2} which will be your port number.
Regards, Upayavira
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
