This doesn't make sense to me, because I had believed that get_server_port gets its information from the server side only, but perhaps i am mistaken about that.
yes, you are. if UseCanonicalName is set to Off or DNS, first the incoming URI is checked, then the ServerName is checked, then finally the port defaults to 80. if UseCanonicalName is set to On, first the ServerName is checked, then the incoming connection is checked, finally the port defaults to 80. it's all there in the code (server/core.c) and the docs.
so, as I suggested to you before, try playing with UseCanonicalName settings, in conjunction with ServerName, and see if that helps.
Ahh, thank you for repeating the suggestion. I understand it now and this handled it. I was so focused on the perl side of things I didn't pay enough attention to the whole server. Thanks again.
-- ------------------------------------------ Matisse Enzer Doodlelab Inc. 415-925-5294 ext. 212 (office) 415-225-6703 (mobile)