TMG / WPAD and protocol relative URLs

We are using a TMG Cluster (TMG2010 SP3) as a proxy.
We use wpad auto discover for our clients and that is working fine except that protocol relative urls are not sent to the proxy but use the direct route.
More and more websites are using a protocol-relative url (eg: script src=//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js ) when we use the "automatically detect settings" option in IE these URL's aren't redirected to the proxyservers.
And because our clients do not have direct internet access the page doesn't load the script and isn't displayed correctly.
I probably have to alter the wpad.dat file but I'm stuck in how to do so.

Hi,
Thank you for your post here.
How did you judge that the packets have been directly routed to gateway?
Could you please configure your proxy to manually point your web proxy server address? Please test it to see if traffic is still routed directly.
Network Monitor 3.4 is a very useful tool to help us capture the network packets. We need to check if the request you send is packaged in HTTP or HTTPs since just HTTP or HTTPs can be proxy direct to proxy server.
Best Regards
Quan Gu

Similar Messages

  • ScriptBundles and application relative URLs

    I'm having trouble coming up with a way to bundle javascript files in my environment using .net's scriptbundles.  My environment is setup with one website and about 30 applications configured in IIS under this one site.  I also have about 20 or
    so different custom javascript libraries that provide various features or "widgets" to the applications.  The widget's .js files are located in folders at the root of the site.  Each application may use some or all of these widgets.
    While I have gotten the bundles to work for .js files that are local to each applcaition, I'd like to bundle together the .js files that are external to the application.  This would allow me take advantage of the minifying and help resolve any caching
    issues.
    Is there any way possible to not have to use application relative URLs?
    I have looked at trying to use the CDN option, but that doesn't work, because while in debug mode it tries to use a local version of the widget and there will never be a version local to the app, but there will always be one at the site root.
    I also noticed that you can override the .Include function of the ScriptBundle class.  Maybe there's an answer there, but I couldn't figure it out.
    It seems to me that constraining the files that can be included to just the files located in the application is poor judgment.

    Hello TroySim,
    It seems this issue is related with a web application, I suggest that you could post it to:
    http://forums.asp.net/
    The current forum you posted to is used to Discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
    And anyway, it is glad to hear that you find a workaround for this issue.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Correctly combining an absolute and a relative URL

    Hello everyone!
    I've been messing around with combining absolute and relative URLS in java and have found the task to be a little more confusing than I originally thought. For example:
    /wallpapers/17i/Lotus_Exige_Mk_II,_2004.jpg
    http://wallpapers.diq.ru/ru/17__Peugeot_Moonster_Concept%2C_2001.html
    Firefox and other browsers see this as: http://wallpapers.diq.ru/wallpapers/17i/Lotus_Exige_Mk_II,_2004.jpg
    I don't understand why the /ru/ is taken out; and was wondering if there was already a class written in Java that combined urls, or if someone could explain to me why the end result is not http://wallpapers.diq.ru/ru/wallpapers/17i/Lotus_Exige_Mk_II,_2004.jpg
    Thanks

    The web page could have a <head> section that contains a [<base>|http://www.w3schools.com/tags/tag_base.asp].
    This specifies the base that will be used when resolving urls. It may not be the url of the page itself. For instance it could be that the "ru" bit collects together all the Russian langauge pages parallel to a "en" duplicate that has the same pages in English. Clearly both sets would want to access the same image resources so they have a <base> setting that points one level higher up.
    If this is the case and you want to get the url for the images you will have to parse the <head> of the web page and figure out what the <base>is.

  • Problem with automatic logout between secure and non-secure urls

    On my business catalyst page the user login page is located on a non secure url (our site's domain and not worldsecuresystems). When a user is logged in and then views a page on a secure url (i.e. a page to purchase a subscription to a secure zone) it does not retain their login cookie and it appears they have been logged out. This also creates a problem where I cannot pre populate the secure zone purchase form with a user's information based on their account details. Is there a way to retain have both domains recognize the user is logged in to allow the user to freely pass between these domains without having to login twice? I was considering putting the login page on the secure domain and using relative urls for all my links but for some reason some of my pages appear corrupt when viewed on the worldsecuresystems domain so I'd like to avoid this method. Any help would be appreciated.

    Make sure the referrer paramter is correctly set on the form.
    This is the default BC action. But remember the {module_siteurl} will return the host they are currently on. So if this is used on a secure page you'll need to use {module_sitehost} instead
    action="{module_secureurl}/ZoneProcess.aspx?ZoneID=-1&amp;Referrer={module_siteUrl,true,true}&amp;OID={module_oid}&amp;OTYPE={module_otype}">

  • Is there any way to launch another module with a relative URL?

    I'm trying to connect the end of one module to the beginning of another (daisy-chain.)
    I've been trying to do it by putting a button on the last slide and then setting the button to open the other module's htm file. But it seems to only take specific and not relative URLs. This is problematic because my client has the material first on a test server and then on a live server, so the URLs will be changing.
    Is there another way to do this where I can use relative URLs or some other method?
    Thank you!

    Apologies if I misunderstood, and you have already set up Flash Security to trust the publish folder location.  In general, when someone asks a question on this forum about problems getting links to work between Captivate modules the reason is almost always that they are testing the links from locally published files or from a LAN server but they haven't set up Flash Global Security to trust the publish folder location.  That's why it's the first thing I quote.
    Captivate DOES allow you to use relative links to load other daisy-chained content.  For example, if you have a SWF file from one course module calling content from another module in a nearby folder, you can use relative link addressing to open the other file.  The format of the link slashes is different depending on whether you are serving from a LAN or a web server.  The web uses forward slashes.  LANs use back slashes.
    If you ARE trying to test Captivate HTM/SWF content from a local drive or LAN server you must get Flash Global Security set up first. If you intend to serve your content to end users from a LAN, then you have no choice except to have all learners consuming that content to set their Flash Global Security settings to trust the drive or folder containing that content. This is not a Captivate issue, it's a Flash Player issue, and it's the result of security measures taken by Adobe several years ago to prevent Flash content from being used maliciously as a virus. The unfortunate downside is that it also limits the usability of Flash content if served from a LAN. But you need to remember that Flash was really designed as a web-based format. So you find that content served from a web server instead of a LAN server has no issues with Flash Security.

  • How to remove bullets and spacing for url links in the Related Links iview?

    I tried to look for a property that I can edit the look-n-feel of the url links in the Related Link iView using "Theme Editor".
    All I need is to remove the bullets and increase some vertical spacing between the links.
    Currently, it looks like this:
    URL iView A
    URL Iview B
    I go through the whole section of Related Links properties, none of them seems to do what I want.
    Here are the list of properties in Related Link section (of Navigation Panel):
    Link Color
    Text Decoration of Link
    Hover Color
    Text Decoration of Hovered Link
    Initially, I thought "Text Decoration of Link" should be the right property I should look at. But there are a drop-down with 5 options: None, Underline, Blinking, Overline and Line-Through, which really can't achieve what I want.
    Thanks for advice.
    Kent
    Post with Diagram Illustration:
    <a href="http://sapnetweaverforum.blogspot.com/2006/11/how-to-remove-bullets-and-spacing-for.html">How to remove bullets and spacing for url links in the Related Links iview?</a>
    Message was edited by: Kent C.

    Hi, Kai.
    I checked the Related iView properties (URL Template), I don't see what layoutset it is really using. I am not sure, is that a layout set apply to the Related Link Iview?
    For the regular KM iView, I will see what Layout Set I want to apply, then I can go and change the properties (of layout coontroller, collection renderer & resource renderer)you mentioned. But for this Related Link iView, I really don't know. I guess it may be in the code itself.
    If there is a layout set for Related Link iView (or the place to apply layout set to it), can you point to me which one is that? (I did a search through the layout set names, I only find the AppQuicklinkExplorer (I used this for Dynamic Nav. Link iView before), if I can aply this layout set to Related Link iView, my problem will be solved.)
    Thanks for help.
    Kent

  • SharePoint sites and the use of Relative URLs

    In our sites the designers coded all URLs as FQDN  (e.g.
    http://servername/sites/mysite1....). This includes URLs in webparts too. We now want to transfer the site to a new SharePoint box, of a different name, and power down the original box.  We ran a test and, sure enough, the FQDN URLs
    hardcoded in the copied webparts point back to the original box. This means when the old box is eventually powered down the new one won't work. My question is this: should our Designer have used relative URLs (e.g.  ../sites/mysite1) everywhere
    instead of referencing the server name?
    TIA,
    edm2

    yes... absolutely.
    Better yet, there are special URLs that designers can use, which are relative to the SITE COLLECTION, or even the SITE/SUBSITE... which are really better to use, should you ever need to copy the site collection, or change its URL.
    Also, SharePoint should use an ALIAS name, not a server name.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Relative URLs and Application Context

    How do you handle rendering relative URLs so that:
    1. Your application is independent of the application context it's deployed to
    2. You don't end up with lots of ugly code in your views
    3. The solution will work on any J2EE server
    I have several approaches, but I can't find any "best practices" discussions on this subject so I thought I'd start one.

    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
    "> Home</a>
    My main problem with that is that it's ugly as sin.                                                                                                                                                                                                                                                                                                                                                                       

  • Can't view dashboard with relative url in BI 4 Launchpad

    I created a dashboard using BIWS connections and I am able to preview the dashboard when i have the full path of Web Service URL but when I use the relative url and publish to launchpad I get the "Cannot access external data......, Unable to load URL:/dswsbobje/Services/Session..." error message. Any ideas on how to solve this?
    Thanks

    Are you trying to preview the dashboard from dashboard designer tool ?  If yes, then you must have a full web service url, otherwise, it will not be able to resolve the server and port.
    But, if you use relative URL and export the same to BO repository, you will be able to view the same by logging into BI Launchpad. There it can resolve the server name and port from existing session.

  • How to set up use of relative URLs for a BSP application

    Dear all,
    I need to access a BSP application through our external portal.
    This is failing because generated URLs are absolute URLs (they mention physical server name, not known of course on the internet) where they should be relative URLs (they use external portal URL as prefix).
    How to set this up?
    I'm logged on http://myportal.com/irj/portal and want to call a BSP application. To build this page, my internet client (Internet Explorer) tries to get elements from the server. Looking at HTTP trace, I can see that my IE is trying to reach the physical server, not known on internet of course, then page loading fails.
    Ex absolute URL : http://myservername.domain.com/sap/bw/[...]/image1.gif
    This is the behavior I can see at the moment.
    Relative URL : http://myportal.com/sap/bw/[...]/image1.gif
    This is what I'd like to see.
    Many thanks in advance for your help.
    François

    Any idea ?

  • Sharepoint 2013 Wiki Page - Links in content rewritten to relative urls

    We have an issue where on all SharePoint 2013 wiki pages any URL to items within the site containing the wiki page are rewritten to be relative URLs. This causes a huge problem when we surface these pages and a snippet of their content through a search web
    part because the links fail being relative to the wiki page itself. To further illustrated with an example.
    A site collection root page http://www.sp2013.com/default.aspx contains a search results web part returning all wiki pages in the site collection. There is a custom display template that renders
    the linked title of the wiki page and the first 500 characters of formatted text (html) of the wiki page.
    A wiki page is created in a sub site (sub1) called wiki1 (http://www.sp2013.com/sub1/pages/wiki1.aspx) the text of the page contains:
    "Check out our new library: Document Library"
    Document Library is a hyperlink to (http://www.sp2013.com/sub1/Document%20Library/Forms/AllItems.aspx)
    Upon saving the wiki page the link is reformatted to be /Document%20Library/Forms/AllItems.aspx
    From the rollup web part at http://www.sp2013.com/default.aspx the relative url in the snippet text of the display template evaluates to
    http://www.sp2013.com/Document%20Library/Forms/AllItems.aspx which does not exist.
    I have attempted modifying the source of the wiki page as well as the link in the ribbon however upon save of the changes the link is always modified to be relative. Any assistance is appreciated as this is extremely frustrating. Thank you.

    Hi JonesEJ,
    According to your description, my understanding is that SharePoint converts a absolute URL to
     a relative URL when you save the wiki pages containing the URL.
    This is actually the preferred behavior in SharePoint and on the web in general. SharePoint saves all absolute URLs for the wiki content as relative. It only does this if the URL matches the URL for the web application for that current wiki
    site.
    There is no OOB way to change the relative URL back to the absolute URL. For your issue, you can try to use
    SPSite.MakeFullUrl() to convert it back.
    There is a similar post for your reference:
    http://sharepoint.stackexchange.com/questions/62887/absolute-urls-converted-to-relative-urls-when-saving-item
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Relative URLs not working in JAR file once JAR is moved

    I've been loading images with the following:
    public static final ImageIcon anIcon = new ImageIcon("iconName.gif");
    This works fine when all the class files are in the same folder with the gifs. I then packaged the whole folder into a .jar file, moved the resulting .jar file to another directory, tried running it and none of the icons loaded. They are present in the .jar file, why doens't the relative URL still work? Is there simply another way to write the URL so that it knows to look in the .jar file?
    Thanks for help,
    Robert Douglass

    Is there simply another way to write the URL so that it knows to look in the .jar file?Once you put the class files along with your gif files in a jar, you have to access the gif file like this:
    import java.net.*;
    URL url=myClass.class.getResource("iconName.gif");
    ImageIcon anIcon = new ImageIcon(url);
    Where myClass is the name of your class file.
    V.V.

  • Problem with sendRedirect using relative URL in WebLogic 5.1 with SP7 & 8

    I patched to SP 7 (and also 8), and the request.sendRedirect() with relative
              URL failed. The browser simply displayed "404 - Page not found".
              This problem only happens in a cluster environment attached to a web server.
              SP6 or earlier does not have such problem.
              I noticed that the latest SP always formats the URL and returns it as a full
              absolute URL to the browser. The problem is it uses the Weblogic Server host
              URL where the request is processed (not the Web Server host URL) which is
              not visible to the internet.
              Is it possibly a bug in SP?
              

    I patched to SP 7 (and also 8), and the request.sendRedirect() with relative
              URL failed. The browser simply displayed "404 - Page not found".
              This problem only happens in a cluster environment attached to a web server.
              SP6 or earlier does not have such problem.
              I noticed that the latest SP always formats the URL and returns it as a full
              absolute URL to the browser. The problem is it uses the Weblogic Server host
              URL where the request is processed (not the Web Server host URL) which is
              not visible to the internet.
              Is it possibly a bug in SP?
              

  • Inspector-Hyperlink-An External Page = a Relative URL?

    I'm on iWeb '08 and have a question that I simply can't find an answer too despite searching many failed searches.
    I'm using iWeb to publish to a folder, so that I can later ftp the finished site.
    In my site, I want to add a hyperlink to an external URL, however the URL: box seems to only allow absolute url's to be entered after selecting Link To: An External Page.
    Is that right? Am I missing something?
    How do I create a hyperlink with a relative URL?
    Thanks in advance,
    JPS

    I don't understand what you mean by relative url?
    To create a hyperlink to an external page, click on Inspector in iWeb and then click on Hyperlink. When in Hyperlink click on 'link to an external page' and then type in the url that you want to link to and you can also have it open as a new page.
    Not sure what else you are trying to do?

  • When Firefox is closed, all previous search page and home page settings are not saved. Must reset firefox and reset homepage url everytime.

    All previous search engines on "Manage Search Engines" are gone and cant access the "get more search engines"...all grayed out.

    Session Manager and Save session are the ad-ons which can solve your problem of saving previous search pages and url.
    To set up home page and its related error You have to read this :
    http://mzl.la/Mt91fd

Maybe you are looking for

  • Export to WORD - a BOLD problem!

    Before I throw this sleek machine out the window, can someone please explain why: 1. When I export a Pages document to Word, then open that new Word file, everything has been emboldened; and 2. When I edit the Word document to UN-EMBOLDEN, save it fo

  • Adobe Reader for offline computer

    I need Adobe Reader on a computer that does not have access to the internet. Is it possible to download AR as a file to a portable drive without installing, so it can be copied to an offline computer and installed? I do not have time to follow anothe

  • Web Page error after install

    I finished installing OBIEE 10.1.3.3 with no errors. I used the Basic installation using IIS on one server. After finishing the install and restarting the server, all services are started but I get the following when I try to access the http://localh

  • Changing a colors value?

    Using the color picker, how do you change the value of a color? Is it simply going left or right? Thanks

  • Canciones compradas anteriormente

    hola! hace un tiempo me robaron mi lap e intente descargar mis compras en otra lap y veo que no se descargaron todas las compras que he realizado. donde puedo revisar esto? Gracias por su atencion!