Hi,
I have a question about redirects and port numbers.
I have a web forms application which, for testing purposes, needs to be on any port but 80.(Real company site has to remain on 80 until we thoroughly test the environment). However, I also have pages in the site that after login need to be encrypted, hence I want them to run on HTTPS over port 443. Every thing works fine while in the dev environment and running without a port number appended. But as soon as I publish it to the web server and bind it to another port, the HTTPS pages get blocked.
For example, These pages work:
http:\\mysite.com, and http:\\mysite.com\home, and https:\\mysite.com\admin, yada yada
In the following urls, the Https pages are blocked:
http:\\mysite.com:85, and http:\\mysite.com:85\home, and https:\\mysite.com:85\admin, yada yada
So how can I check the protocol(or the port) and change the url adddresses so my secured pages work? Can I remove the port number thru code and still get to my pages?
Does this question make sense?(And, 'NO' no points for answering yes or no, lol)