Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 212681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:12:32+00:00 2026-05-11T18:12:32+00:00

I have a scenario that my load balancer translates port 80 from outside into

  • 0

I have a scenario that my load balancer translates port 80 from outside into port 801 which is local. And When it comes to server, server obviously sees port 801 and in Response.Redirect it tries to inject port 801 into the URL it redirects to but this is not the desired solution for me.

What I am thinking is to:
1. Overwrite Response.Redirect so that I remove the port from it.
2. Have some kind of configuration in web.config to ignore that port.
3. The most nasty way of fixing the problem is to change the whole application to use full URL’s inside Response.Redirect which is a big pain.

Is there a good solution to this problem?

Environment:
Windows Vista, Windows 2003 Server, Windows 2008 Server
IIS 6, IIS 7
ASP.NET
C# & VB.NET

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:12:32+00:00Added an answer on May 11, 2026 at 6:12 pm

    Ok,

    I got the answer myself. I hope this solution will be useful for others too.

    Well, the answer is within the web.config.
    Under

    <system.web>
    <httpRuntime useFullyQualifiedRedirectUrl="false" maxRequestLength="2526" requestLengthDiskThreshold="2526"/>
    </system.web>
    

    where the important part is the following to be false.

    useFullyQualifiedRedirectUrl="false"
    

    This is true by default.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a scenario where I wanted to load XML into SQL Server. What
Explanation of scenario: I have a jquery window that will load up with a
Here's the scenario: I have a page that contains a video element which is
I have a scenario in which I am adding DLLs to the GAC from
I have two scripts that load in my head area which are: <script type=text/javascript>
Scenario: I have a webpage that needs to make XMLRPC calls from Javascript, and
We have some HTML pages (local, not on a web server) that use the
I have the following scenario jQuery('#content').fadeOut('slow',function(){ jQuery('#content').load(detail.php?product=+imgID+&category=+cat); jQuery('#content').fadeIn('fast'); }); My problem however is that
I have a path defined: when /the admin home\s?page/ /admin/ I have scenario that
I have a scenario that looks like this: #include <algorithm> using namespace std; //

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.