CSM: Balancing to real URLs instead to Realservers ???

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Normale Tabelle";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
Hi there,
I got the following request:
A virtual server should be balanced to two realservers, but not simply to an IP, but to a specific port and a specific location on those servers, lets say to:
“realserver1:8002/location” and “realserver2:8002/location”
The virtual server should be available only by SSL, e.g. by “https://10.10.10.10”
http connects should be automatically redirected to https.
My idea was to build a vserver (vserver1) listening on port 443, that virtualizes “realserver[1/2]:8002” by configuring the two reals in a farm with port 8002:
serverfarm farm1
real name realserver1 8002
real name realserver2 8002
and to configure two vservers (vserver2 and 3) with a farm, that redirects http and https requests to 10.10.10.10 to the above vserver1 appended by the location in the URL, e.g.:
serverfarm sfarm-redirect
redirect-server vserver-redirect
   webhost relocation https://vserver1/location
Any comments if this would work, or is there a more simple way to realize this scenario?
Thanks in advance
Hakan

Hakan,
for SSL connections if you do not terminate them on the loadbalancer there is no way that the loadbalancer can anyhow modify the request or issue a redirect. The reason for the limitiation is that with SSL connection the CSM won't have the chance to parse the HTTP traffic as this will be in the encrypted payload of the SSL flow, without access to the underlying HTTP it cannot see the requested URL or HOST nor it can issue an HTTP redirect.
Hope it helps,
Francesco

Similar Messages

  • Safari 2.0.4 , 3.0.2,3 using URL instead of IP address cookies don't work

    Seems like there is a problem when use a URL instead of ip address with cookies. I am having the same problem as posted on the site http://lists.macosforge.org/pipermail/webkit-unassigned/2007-August/047830.html

    It may be annoying to do it all again, but try all these steps:
    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    Assuming you already run Tiger versions OS 10.4.9 or above (this has not yet been verified with Leopard) and have Quicktime 7.2 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 10 for Mac from http://forms.real.com/real/player/blackjack.html?platform2=Mac%20OS%20X&product= RealPlayer%2010&proc=g3&lang=&show_list=0&src=macjack
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    Adobe FlashPlayer from http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    In Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them).
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them).
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz.
    Important: Now repair permissions and restart.
    The world should now be your oyster!
    You should also have the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.

  • Help with emailing a URL instead of attachment

    Hi all:
    I have this question.
    We have hundreds of Oracle Reports .rdf's from way back.
    We now want to run them in Oracle Reports Server 10g (9.0.4.1).
    What we want to do is set destype=FILE when we run rwservlet.
    And then when the process/job finishes, email the user a URL link to the output report that is stored in the server. This will avoid having to email large output files through the mail server. I know we can set destype=MAIL but that also sends the output file to the mail server/end-user as an attachment and our output files are large. Emailing a URL link is actually better.
    We do not want to modify all our .rdf's/.rep's just to enable this functionality. I was hoping to inject probably a piece of code that the Report Server could run after it finishes running the .rdf and checking that the .rdf ran successfully.
    Is this at all possible?
    I was referred to OracleAS Wireless Notification found in
    www.oracle.com/technology/products/reports/pluginxchange/plugins/notification/wireless/index.html.
    But I am not a Java developer so I would appreciate any help I could get.
    I firmly believe that emailing URL links are better than emailing attachments especially in a corporate environment. It makes more efficient use of email.
    I hope Oracle Reports development would consider adding this functionality in the future but right now, I really need help.
    thanks in advance,
    daniel

    answered in this thread:
    passing baseHTMLJInitiator in a URL instead of in formsweb.cfg
    thanks

  • Display a file name in th URL instead of the procedure name

    Hi ,
    I’ve created a Portlet that would show a word doc stored in a blob when a user clicks on a link. However only the procedure name that downloads the word document from the BLOB appears in the URL but not the actual file name. Is there a way to show the actual file name in the URL instead of the PL/SQL procedure name ??

    Hi Samer_asn,
    I am trying to do exactly what you did.
    Can you tell me how you could retrieve the word doc from blob and show it in a portlet when a user clicks on a link
    Thanks in advance
    Jay

  • How  applet write file in local system by URL instead of FileOutputStream()

    hi,
    how can applet write a file in local system through URL instead of FileOupStream()
    plz.....plz.....plz......
    URL url = new URL(" file://c:/temp.txt");
    in this url how applet can write
    plz....

    URL uses http to cummunicate, this means you can send and receive data using the http
    protocol.
    The OS doesn't do anything with this, you need a http server to interpret these messages
    and take appropriate action (with server side script or CGI).
    So if the client has a http server installed and has server side script thad does
    something with your http request (that's what a url does) than it is possible.
    Since both having a http server , server side script and or CGI have nothing to do with
    signed applets I will not answer your question here.
    But the mail reason I won't answer it is because it makes no sence to use a URL to write
    to the local file system.

  • Follow feature shows server name URL instead of AAM URL

    hi -
    My sharepoint site http://servername has an AAM set to ooint to http://sitename
    The site works fine.   However when I follow any sites it places them in my Followed Sites as http://servername instead of http://sitename.
    Any ideas?  thanks

    Hi,
    According to your description, my understanding is that you want to use FOLLOW feature with the URL of the AAM zone rather than the URL of the default zone.
    It is by default that the FOLLOW feature comes up with default zone URL instead of the other zone URL.
    For this issue, I suggest you change the AAM setting, and provide the URL which you want to be displayed in Followed sites with the default zone for the web application. Reset IIS.
    Here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/en-US/6757d6ba-a184-4ef6-811f-e88954334655/follow-feature-url-for-extended-web-application?forum=sharepointgeneral
    Best Regards,
    Lisa Chen
    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]
    Lisa Chen
    TechNet Community Support

  • Make URL-like text a real URL in PDF file.

    Hi!
    I have a task to make all URL-like text (and e-mail-like text later) in a PDF file a real URLs. It's needed for the pdf2swf tool (SWFTools) to produce swf with clickable links.
    As i undestand Acrobat reader automatically converts such text into links, but the pdf2swf don't.

    Reader will only convert the links if the start with http://. Links that start with www won't be recognized. Also,
    that option can be turned off by the user so I wouldn't depend on them.
    You would need to use the link tool in Adobe Acrobat to create actual links.

  • How could I convert pdf file to real url?

    How could I convert pdf file to real url?

    Many thanks Gilad
    But the link of Acrobat is not working in facebook, that is Why I mentioned a real URL " Web-page

  • Real URL under URL Rewrite

    How can I know visiting a website with friendly url what's the real URL under this url rewriting ?

    Hi AGA,
    In my opinion, this thread is related to ASP.NET forum. So please post thread on that forum for more effective response. Thank you for understanding. Please refer to the following link.
    http://forums.asp.net/.
    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.

  • Whoops! What are you doing here? Did you make a left at that last URL instead of a right? No problem. Unless you want us to deal you in,I want in then how?

    Whoops! What are you doing here?
    Did you make a left at that last URL instead of a right? No problem. Unless you want us to deal you in, here are some tips to get you back on your way:
    If you typed in the address, check your spelling. Could just be a typo.
    If you’ve found an issue with one of our websites, we’d appreciate it if you could report the problem in Bugzilla, our bug tracker. One of our developers will take a look at it as soon as possible.
    If you followed a link, it’s probably broken.
    If you’re not sure what you’re looking for, start at mozilla.org.
    It's not broken it's not letting me do what I want too and I am very upset and I want in on this project that you are trying to guide me away from!!!!! I did not find this website by searching or typing i found it by using my tools.

    Are you trying to access the Mozilla website? What page in specific is causing this to happen?
    The people who answer questions here, for the most part, are other Firefox users volunteering their time (like me), not Mozilla employees or Firefox developers.
    Please report this bug to the development team at [https://bugzilla.mozilla.org/ Bugzilla], so that they can repair the issue as soon as possible.

  • WCF service fronted with SSL enabled NGINX load balancer shows HTTP based WSDL url instead of HTTPS

    Hi,
    I have WCF service hosted using IIS 8.5 on application server. And application servers are fronted with NGINX load balancer with SSL enabled. Backend communication protocol between NGINX to application server is http. 
    When customer visits public domain url (https://xxx.com/service.svc), they can see the WSDL url with http://xxx.com/service.svc?wsdl. 
    What change should I make so that WSDL url will have https instead of http ? 
    This is service side configuration.
    <system.serviceModel>
        <services>
          <service name="Service.IService">
            <endpoint address="" binding="basicHttpBinding" bindingNamespace="http://xyz.com/Service" name="Service_Endpoint" contract="Service.IService" />
          </service>
        </services>
        <bindings>
          <basicHttpBinding />
        </bindings>
        <client />
        <behaviors>
          <serviceBehaviors>
            <behavior>
              <serviceThrottling maxConcurrentCalls="5000" maxConcurrentInstances="2147483647" maxConcurrentSessions="5000" />
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
      </system.serviceModel>
    Thanks in advance !!

    Hi,
    For this scenario, you could just enable SSL in IIS to get HTTPS endpoints. If your service is exposed at https then you configure the same using “httpsGetEnabled”:
    <behaviors>
    <serviceBehaviors>
    <behavior
    name="MyServiceTypeBehaviors"
    >
    <serviceMetadata
    httpGetEnabled="true"
    />
         </behavior>
    </serviceBehaviors>
    </behaviors>
    For more information, you could refer to:
    http://www.codeproject.com/Articles/327260/What-s-new-in-WCF-Automatic-HTTPS-endpoint-for
    http://blogs.msdn.com/b/brajens/archive/2007/04/26/accessing-description-metadata-wsdl-of-wcf-web-service.aspx
    Regards

  • CSM for enabling hot spare instead of load balancing

    We have a server at a remote site that we want the remote clients to use. We only want them to use the central server if the remote one fails. Is there a way I can use "weight" or some other method to accomplish this. Thanks.

    what device are you talking about ?
    There is a solution but it is different depending of the machine you are using.
    Gilles.

  • Using 'A Variable' in "Help URL" instead of file path

    Hi,
    When we edit 'Title' Tab of analysis we get options such as:
    1. Title
    2. Logo
    3. Subtitle
    4. Started Time
    5. Help URL
    In "Help URL" we can refer a file from an exposed directory (bydefault it's analyticRes). Syntax for refering a file is as follows:
    fmap: Filename OR
    fmap: Custom Folder Name/Filename
    But, I want to check if A Variable (eg: Repository) can be used instead for giving path of the file?
    Regards,
    Jitendra

    Not Possible..why don't you use the subtitle box instead of help url?

  • Using powershell to deploy provider-hosted app and specify remote Url instead of using appinv.aspx page

    Hello all,
    Could you possibly help me with provider-hosted app development/deployment process.
    We developed SharePoint provider-hosted app that works just fine in development environment. Now we need to automate it's installation in test environment via powershell.
    In AppManifest.xml that we are deploying we have key instead of explicit URL:
    <App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest" Name="ShowAllRoomsApp" ProductID="{922a18aa-5592-b59a-4da9-4791baef02e7}" Version="1.0.0.0"
    SharePointMinVersion="15.0.0.0">
      <Properties>
        <Title>SomeTitle</Title>
        <StartPage>~remoteAppUrl/Pages/Default.aspx?{StandardTokens}</StartPage>
    If we use as
    https://technet.microsoft.com/en-us/library/jj655398.aspx recommends, we cannot specify Redirect Url as we can do this on
    /_layouts/appinv.aspx
    So now it seems like the only way to deploy this kind of solution is using appinv.aspx page.Or must we apply this URL in AppManifest on developing stage in Visual Studio?
    What did I miss?
    P. S. Even if I use /_layouts/appinv.aspx after powershell commandlets, I get error.

    hi,
    to deploy provider hosted app you need 2 things
    1. Client ID
    2. Redirect URL.
    What you can do you can generate app from visual studio using clientID and URL from developer enviornment.
    Now a app file is just a simple compressed zip file if you rename it as .zip and extract you will find AppManifest
    inside it. So to create an app for Testing enviornment what you have to to Get the CLient ID (from AppRegNew.aspx) in testing enviornment. Unzip .App file change the AppManifest with testing client ID and URL than again zip file and rename as .app.
    Now if you upload this file it will work.
    To automate this scenerio i have created a simple windows Application in which i Pass the Client ID and StartURl and an App File it unzips the app file make changes to app and again zip it.
    public static class AppPackageHelper
    public const string StartUrlExpression = "{0}?{1}";
    public const string StandardToken = "{StandardTokens}";
    public static string Publish(string appPath, string ClientId,string StartUrl)
    string tempDir = string.Empty;
    string outPutFile = string.Empty;
    try
    string parentDir = System.IO.Path.GetDirectoryName(appPath);
    outPutFile = System.IO.Path.Combine(parentDir, ClientId + "-Winshuttle.app");
    tempDir = System.IO.Path.Combine(parentDir, ClientId.ToString());
    Directory.CreateDirectory(tempDir);
    int lastInd = appPath.LastIndexOf('.');
    string tempPath = string.Empty;
    string targetFilePath = string.Empty;
    string cabPath = System.IO.Path.Combine(tempDir, System.IO.Path.GetFileNameWithoutExtension(appPath) + ".cab");
    FileInfo fInfo = new FileInfo(appPath) { IsReadOnly = false };
    File.Copy(appPath, cabPath);
    XDocument doc = null;
    string appManifest = string.Empty;
    using (ZipArchive zipArch = ZipFile.Open(cabPath, ZipArchiveMode.Update))
    appManifest = string.Format(@"{0}\AppManifest.xml", Directory.GetParent(cabPath).FullName);
    ZipArchiveEntry manifestEntry = zipArch.Entries.LastOrDefault(e => e.Name.ToLower() == "appmanifest.xml");
    manifestEntry.ExtractToFile(appManifest);
    doc = XDocument.Load(appManifest);
    XNamespace ns = doc.Root.GetDefaultNamespace();
    string defaultUrl = string.Format(StartUrlExpression, StartUrl.TrimEnd('/'), StandardToken);
    doc.Descendants(XName.Get("StartPage", ns.NamespaceName)).First().Value = defaultUrl;
    doc.Descendants(XName.Get("RemoteWebApplication", ns.NamespaceName)).First().Attribute(XName.Get("ClientId")).Value = setupInfo.ClientId.ToString();
    doc.Save(appManifest);
    if (manifestEntry != null)
    manifestEntry.Delete();
    zipArch.CreateEntryFromFile(appManifest, "AppManifest.xml");
    int totEnt = zipArch.Entries.Count;
    for (int e = 0; e < totEnt; e++)
    if (zipArch.Entries[e].Open().Length == 0)
    //if (zipArch.Entries.Count > totEnt && e >= totEnt) break;
    //zipArch.CreateEntry(zipArch.Entries[e].FullName);
    File.Delete(appManifest);
    if (File.Exists(outPutFile))
    File.Delete(outPutFile);
    File.Move(cabPath, outPutFile);
    return outPutFile;
    catch
    throw;
    finally
    if (System.IO.Directory.Exists(tempDir))
    System.IO.Directory.Delete(tempDir, true);
    return outPutFile;
    using System.IO.Compression.FileSystem.dll.
    Also if you want to do it using powershell You need to do the same thing unzip-> changes values-> zip
    So basic thing is You need to ahve only valid AppManifest file which contains 2 valid values Client Id and StartUrl
    if you changes it inside appmanifest manuall than it will also work. Using above code you can create a console Application to do it. You can use powershell it just that i dont know how to zip unzip in powershell but i am pretty sure you can easily find it
    on searching.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • How to use COMPONENT in a Help URL instead of PAGE?

    Anyone know how to configure PeopleTools to use the COMPONENT name as the CONTEXT_ID in the HELP link instead of the PAGE name?
    In my web profile I'd like to pass the current component name instead of page name.
    http://myhelpserver.com/page=%CONTEXT_ID%
    Thanks
    Graham
    Edited by: GrahamSmith on Apr 27, 2010 10:03 AM

    the help_url you are using uses a component name default.. u don't call it by page name. ur URL containing .GBL is always a component name...
    This is what i would like to explain...
    consider 3 pages P1,P2,P3
    2 components C1,C2
    3 menus M1,M2,M3
    then C1 can be linked to P1 and P2...C2 can be linked to P2 and P3...
    same way C1 can be linked to M1 and M2... and C2 can be linked to M3(since M2 is already used by C1)
    this should make u clear...
    Thnks!

Maybe you are looking for