I've recently noticed a problem that occurs when I access my site using a domain name 
with a hyphen in it. It seems that when I navigate using dispatcher.forward everything 
works fine. But when I use response.sendRedirect the hyphen is lost. Since we also own 
the same domain name without the hyphen, the redirection works, but a new session is 
created requiring the user to be re-authenticated. (The hyphenated domain name is 
preferred over the non-hyphenated one.)

I've printed out request.getRequestURL() and the hyphen is also missing from this 
value. I've tried several of our other domain names (all legal for this server) and 
they all work properly. The only one with problems is the hyphenated one.

Is this a problem with Tomcat or am I doing something wrong?

Tomcat 4.1.18
Apache 1.3.26
mod_jk
RedHat Linux 7.3

I'd be happy to provide any other info.

Thanks

Cindy

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

Reply via email to