Request.Url.Host + SSL

O

Object01

Are there any known issues regarding the use of Request.Url.Host on an
SSL-enabled site? Requests for my application are of the form
http://abc.com/myPage.aspx, but Request.Url.Host returns "def.geh.com"
rather than "abc.com".

The "def.geh.com" part seems to be the machine's name followed by its
DNS suffix. But I expected Request.Url.Host to return whatever was
passed in the Host Header of the HTTP GET request.

The environment is Windows Server 2003 running IIS 6.0, ASP.NET 2.0.

Am I misunderstanding this property or is this behavior unusual?
 
B

bruce barker

probably you are running with a ssl accelerater (say bigip) that sits
infront of the web servers. it probably translates the host name.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top