Results 1 to 9 of 9

Thread: IE7 Bypass Proxy issue - .Net redirect

  1. #1
    Join Date
    Nov 2002
    Peterborough, UK

    IE7 Bypass Proxy issue - .Net redirect

    Hi folks

    This is one of those issues that involves several different technologies which makes it very hard to find the correct place to ask for support.

    I suspect what I really need here is someone who understands the inner workings of IE7, but also someone who understands .Net (certainly server-side HTTP redirecting) and about Proxy Bypass settings.

    Here's the situation:

    I've written a simple server control which sits on one of our company's web pages. Depending on a couple of querystring values the server control may call
    PHP Code:
    to a 3rd party URL (i.e. not hosted on our server).

    It just so happens that this web page is serving an RSS feed, and the 3rd party site is serving our feed with some additional bits 'n' bobs that we like.

    So, our in-house testing team browse along to the page and on the first visit we deliberately don't redirect them. So they sign up to our RSS feed using IE7's built-in RSS reader.

    I then flick a switch in the database to force the redirect to occur. In theory, the tester's RSS reader should pick up the feed from the redirected location. This works in IE6, Outlook and FireFox, and even with my IE7, but not his!

    His feed doesn't update and he receives the message "Internet Explorer was unable to update this feed"

    So, after careful investigation we find that he has a modified host file with a specific IP for our website, and he has listed this site in the "Bypass Proxy" settings.

    So, what appears to be happening is that the RSS engine in IE7 is seeing the subscribed URL and realises that he wants to go to a specific server for it. Upon going to that server, the server wants to redirect his browser, but the browser has specific instructions to only go to the server that he specified in his host file. So, it can't do the external request and therefore can't get the external feed data.

    That's what appears to be happening. However, it's very difficult to find out what really is going on - is it something in IE, or is it something at the server's end?

    In any case, when he removes the host file entry and the Bypass Proxy entry, it all works just fine and dandy!

    Can anybody help? Or even point me towards the correct Microsoft support page?


  2. #2
    Join Date
    Aug 2005
    The Garden State
    I can't think of any particular KB's about this one, but one thought I have is can the server the control is running on access the internet, and also access this remote hosted page? if so, couldn't the page you render just go out and retrieve the contents of the target page for the end user?
    Acceptable Use | SQL Forum FAQ | celery is tasteless | twitter

    celery is tasteless - currently needing some UI time

  3. #3
    Join Date
    Nov 2002
    Peterborough, UK
    Cheers chazzy.

    I think what you're suggesting is possible and would be a good solution. However, the solution I have already works. It is only when our tester inadvertantly had his host file and proxy bypass set up that the issue was encountered.

    What I'm trying to do is understand the inner workings of IE, to try and get to grips with why it was happening. It seems that the browser is saying

    "OK, that URL you gave me is in my list of ones to bypass the proxy for so I'll trot along to the server you told me about in your host file."
    "Hey, the server is trying to send me to a different URL but I remember you wanted me to only use this one server so I'll try and get that site there."
    "Nope, that site ain't on that server so you can have this error message instead."
    Last edited by Rodders; 10-03-2008 at 05:54 AM.

  4. #4
    Join Date
    Nov 2002
    Peterborough, UK
    .......whereas, in other browsers and even Outlook it appears to be saying

    "Hey, the server is trying to send me to a different URL and this one isn't in your list, so I'll use the proxy to find that one.......oh, here it is."

  5. #5
    Join Date
    Aug 2005
    The Garden State
    have you considered changing the security level in IE?
    Acceptable Use | SQL Forum FAQ | celery is tasteless | twitter

    celery is tasteless - currently needing some UI time

  6. #6
    Join Date
    Sep 2008
    this type of "problem" is repeatable on a lot of pages and is the result of the security settings in browsers (the Outlook browser included). the only work around is to cache the feed on your server and then the linking will behave. the other advantage of using a cache is that you don't request a new connection to the feed every time the page is loaded (set the cache refresh to something reasonable to show the feed updates) and you can keep an old cache file in case the feed is offline or if the http_request fails for some reason.

    you cannot control how the user sets up his browser!

  7. #7
    Join Date
    Nov 2002
    Peterborough, UK
    Could any of you enlighten me about the particular security settings that cause this behaviour? And can someone explain what is going on inside the brain of IE with these settings on?

    I don't think the issue is one that we need to be worried about, but it caused some interest and head scratching in the office.


  8. #8
    Join Date
    Sep 2008
    go to technet.microsoft.com. there are a few references to this type of problem. the security and policy settings are the responsibility of the individual user of the browser. the defaults are fairly high, but don't cause too many problems. Paranoia is the most common reason that people set security levels to the max and policies to excessively restrictive levels. At the corporate level this usually takes place due to bad advice from the "son-in-law" IT guru.

    "Yesterday I couldn't spell IT and now I are one!"
    ...but stupidity is terminal.

  9. #9
    Join Date
    Feb 2014
    I have several trials with proxy services. Nowdays i am using https://www.iwasel.com/en/ to bypass proxy and unblock websites. It is very reliable and encrypts your connection out of country so the censors can't see what i am doing.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.14956 seconds
  • Memory Usage 2,936KB
  • Queries Executed 15 (?)
More Information
Template Usage (34):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (9)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • bbcode_parse_start
  • postbit_imicons
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates