Reverse proxy and virtual servers

Is it possible to have different reverse proxy setting for each virtual server.
i.e.
www.server1.com/app1 will reverse proxy to an app server
www.server2.com/app1 will be a 404
both server1 and server2 is the same webserver, but using different virtual servers.
I sought of need like in the virtual manager how you can deploy a webapp under one virtual server, but not another one.
I've read the reverse proxy documentation, but its quite skimpy on this subject.

Yes, it is possible. You have two options:
1. Use the same virtual server class for both virtual servers and use the <Client> tag to specify urlhost-specific configuration.
2. Use a separate virtual server class (with a separate obj.conf file) for each virtual server.
With option 1, part of your obj.conf file might look like the following:<Client urlhost="www.server1.com">
NameTrans fn="assign-name" from="/app1(|*)" name="passthrough"
</Client>With option 2, you would configure the Reverse Proxy Plugin in only one of the two obj.conf files.

Similar Messages

  • Reverse Proxy and Load Balancer for SMP 2.3 and Agentry Application

    Hi Expert,
    I'm putting in place a mobile solution composed by SMP 2.3 SPS 4 and SAP ECC 6.0. In the SMP 2.3 I created the agentry server and I have deployed my agentry application.
    My SMP/Agentry infrastructure is composed by two servers therefore I need a load balancer for balance the load into the several servers. Furthermore I need to use a reverse proxy in my DMZ zone.
    Based on what indicated in the SAP note "1904213 - SAP Mobile Platform Server Release Information" the Apache Reverse Proxy is not supported for Agentry clients. Agentry uses nginx for Reverse Proxy.
    I also found the following document How-to-Guide for Reverse Proxy and Load Balancing in SAP Mobile Platform 3.x that explain how to set-up a reverse proxy and load balancer with nginx and apache.
    Both the SAP note and the HOW to document are refereed to SMP 3.0 and not to SMP 2.3.
    I would know if the NGINX must be used also for SMP 2.3.
    Any suggestion/information is appreciated.
    Thanks in advance
    g.

    Please see Agentry Network Landscapes

  • Need in depth knowledge about Certficate request and install for Reverse proxy and CAS role

    Hi,
    I have few confusions about Exchange 2010/13 certificate request and install. As per my understanding best practise is to assign public CA certificate to Reverse proxy and Local CA certificate to CAS servers but need to know that what should be the format
    of certificate request? Do we need to order public certificate just for mail.domain.com and add SAN for other web services URLs and is it required to add CAS array and server names to this certificate ? In what case we will add server names and what will happen
    if we don't add in it ? How the outlook clients connecting from internet will be using this certificate? I have very limited knowledge in certificates and it always pisses me off. Please help me with explanations and articles. I tried to google and gone through
    many articles but didn't get a fair idea. Thanks in advacnce. :) 

    Hi,
    Here are my answers you can refer to:
    1. Use the New-ExchangeCertificate cmdlet to generate a new certificate request:
    New-Exchangecertificate -domainname mail.domain.com, autodiscover.domain.com -generaterequest:$true -keysize 1024 -path "c:\Certificates\xxxx.req” -privatekeyexportable:$true –subjectname "c=US o=domain.com, CN=server.domain.com"
    2. CAS array name doesn’t need to be added in the certificate:
    http://blogs.technet.com/b/exchange/archive/2012/03/23/demystifying-the-cas-array-object-part-1.aspx
    3. It depends on the situation that you configured to add the server name.
    4. Outlook clients use certificate for authentication.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Reverse proxy and iWS 6.1 SP2?

    Hey all,
    i have 2 questions.
    Can i use reverse proxy (and pass proxy) with iWS 6.1 SP2?
    How must i configure the webserver to use this?
    I need the following thing:
    Client called https://server111.de/XXXXTruePassApp/ ---> Proxy get Data from https://server222.de/XXXXTruePassAppProxy/
    Under Apache looks like that with mod_proxy:
    ProxyPass /eCaSSTruePassApp/ https://server222.de/XXXXTruePassAppProxy/
    ProxyPassReverse /eCaSSTruePassApp/ https://server222.de/XXXXTruePassAppProxy/
    Thanks for help.
    Greets Chmeee-de

    Chmeee-de, I really don't think you should be using Sun ONE Web Server 6.1SP2. That version has known security vulnerabilities. Please consider applying the latest service pack, 6.1SP7.
    Have you downloaded the Reverse Proxy Plugin? Have you tried reading the Reverse Proxy Plugin release notes? The release notes for Reverse Proxy Plugin 6.1SP7 are at http://docs.sun.com/app/docs/doc/820-0262/6nc0vpnc2?a=view.
    Once you have the plugin installed and have edited the magnus.conf configuration file according to the release notes, you can add the following line immediately below the <Object name="default"> line in the obj.conf configuration file:NameTrans fn="assign-name" from="/XXXXTruePassApp/*" name="XXXXTruePassApp"This line indicates that requests for /XXXXTruePassApp/* should be serviced by an object named XXXXTruePassApp.
    You can then create an object named XXXXTruePassApp by adding the following to the bottom of the obj.conf configuration file:<Object name="XXXXTruePassApp">
    Service fn="service-passthrough" servers="https://server222.de"
    </Object>

  • Arrowpoint Cookies, Reverse Proxy and Multiplexed Client Requests

    Hi,
    I have a reverse proxy which is performing SSL offload and making backend connections to two web servers. Between the reverse proxy and the two webservers, a CSS is in place to load balance between the web servers. There is a requirement for session stickiness on the web servers and since client IP details are lost through the reverse proxy I have used the arrowpoint-cookie method to load balance connections.
    However, the reverse proxy seems to make only a handful of connections to the servers compared to the number incoming client connections and we have noticed that stickiness is broken. Now, I would assume this is correct if arrowpoint-cookie makes a load balancing based on the first HTTP get in a tcp stream and not on a per transaction basis AND our reverse proxy is multiplexing client requests. However, I can not convince myself of how the arrowpoint-cookie method actually works.
    I wondered if anyone had any insight on this or had experienced similar issues with arrowpoint cookies?

    Hi Gilles,
    I have implemented this today, and we are still seeing issues with requests hitting the wrong server.
    A bit more info, the reverse proxy is an AXG Web Aopplication Firewall. I have been looking at this and am considering disabling connection re-use on here.
    However I am also wondering if this might be to do with the flow timeout multiplier I am using which is 5 (80 seconds). Perhaps this is too low?
    Thanks, David.

  • Sun Web Server Reverse Proxy and Weblogic HTTP to HTTPS redirection

    Hi,
    I am currently testing reverse-proxy from SJSW 7.0 update 5 to Weblogic server but I have encountered an issue.
    I have configured a context root to be forwarded to weblogic:
    Web Server: www.server.com
    URI: /path
    Reverse Proxy URL: wlserver:9000
    When I access https://www.server.com/path, I am getting the correct page. The issue is, the weblogic server is configured to redirect HTTP access to HTTPS, i.e., when I access http://www.server.com/path, it should be redirected to https://www.server.com/path. However, that is not the case. What happens is that I am being redirected instead to https://www.server.com/.
    If I don't use reverse proxy, that is, if I use the libproxy.so from weblogic, I get the correct redirection.
    Would appreciate it very much if someone can help me troubleshoot this issue.
    Thanks in advance!
    Edited by: agent_orange on Jul 29, 2010 2:30 AM
    Edited by: agent_orange on Jul 29, 2010 2:31 AM

    I am not sure, how you have configured your reverse proxy since you didn't attach / refer your current configuration file. this is how I would do it..
    - create a new configuration (using web server 7 admin gui , within configuration wizard, disable java option if you plan to use web server 7 only for reverse proxy)
    - select this new configuration and go to reverse proxy and try to reverse proxy / to the origin server.
    that is all it should need.
    your obj.conf or <hostname>-obj.conf depending on your configuration should look like following snippet
    <Object name="default">
    AuthTrans..
    NameTrans fn=map from="/" to="/path" name="reverse-proxy-/"
    </object>
    <Object name="reverse-proxy-/">
    Route fn=....
    Service ..
    </Object>
    this is all you should need..
    However, if you wanted to add complexity to your configuration, you could do some thing like
    <Object name="default">
    Auth..
    <If defined $security>
    NameTrans fn=map from="/" to="/path" name="reverse-proxy-/"
    </If>
    </Object>
    <Object name="reverse-proxy-/">
    Route...
    </Object>

  • Apache reverse proxy and SSL termination

    Hi Guru's
        Can anyone tell me, how to do SSL termination at apache reverse proxy. I am using apache reverse proxy for accesing portal from internet. Apache is configured for SSL and portal is NON SSL.
    I am using header variable login module in portal. i wanted to terminate SSL at apache reverse proxy and then all traffic after that should be clear text.
    should i maitain any property. is there any documentation for it.
    Please help me
    Tom

    The majority of the work here is around configuring your Web Dispatcher and Apache Reverse proxy. The work on the portal is straight forward enabling of SSL.
    You can follow http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm for setting this up.
    what level I need to configure SSL and how do I proceed in both scenarios?
    Your question itself says where you need SSL. SSL is required where ever you need HTTPS communication.
    how do I proceed in both scenarios?
    From a portal perspective, the configuration should remain the same.
    Do I have to install SSL at portal, web dispatcher or at Apache level?
    SSL needs to be configured at all the 3 levels if you are looking at end to end SSL implementation.
    See the following for possible SSL implementation options:
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/a922d7f45f11d5996e00508b5d5211/frameset.htm
    https://cw.sdn.sap.com/cw/docs/DOC-115509
    Will SSL termination work for scenario 2?
    Yes this should work - see http://help.sap.com/saphelp_nw2004s/helpdata/en/36/fd39eacf4cde4a8fe32d7f29b3db16/frameset.htm
    However in case of SSL Termination, the request to your portal from the web dispatcher will be sent as HTTP.
    I would recommend you to take a step by step (backward approach).
    First, enable SSL on your portal and make sure it works - going directly to the server.
    Then, you can introduce the Web Dispatcher - and test if every thing works going through the web dispatcher.
    Finally - you can test the end to end flow - with your Reverse proxy involved.
    - Shanti

  • Web Dispatcher - Reverse Proxy and Load Balancing

    I'm finding limited docs on Web Dispatcher with regard to reverse proxy and load balancing.  Are you aware of some recent presentations or docs in this area?  The info on help.sap.com is not what I'm looking for.
    Thanks.

    Hi,
    best thing is that you look at your scenarios and test the web dispatcher against each of it, like:
    - SSL
    - Portal only
    - Web Dynpro ABAP / Java
    - BSP
    - Different backend systems like SRM, MDM
    - Several backends with 1 Web Dispatcher
    After getting a list of use cases that you can test quite easily (installation of Web Dispatcher is done fast and can be done on a local PC), you can contact SAP Support and ask them about the specific problems and questions you encountered. This way, you'll get the official answer, sometimes they will even inform you about "secret" parameters and options.
    As of the reverse proxy functionality: there are several version of Web Dispatcher available that differ from the functionality offered. The latest version - 7.2 - is the one that offers the most, i.e. allows you to create rewrite rules like Apache.
    SAP Note 908097 - SAP Web Dispatcher: Released releases and applying patches
    br,
    Tobias

  • Single Reverse Proxy and multiple Office Web App Servers

    Hi all,
    I have recently installed a new office web apps server pool in my new location and configured it in my Lync topology as well. 
    I have a single Reverse Proxy (IIS ARR). Inside my Reverse Proxy I have created a new web farm for my new web apps server. The configuration of old web apps server. I have copied the settings from my old web app's web
    farm in IIS including its Inbound rule regular expression.
    Now when I try to upload a powerpoint as an external guest hoping to hit my new web apps server, my reverse proxy tries to hit my old office web apps server and no traffic is sent from reverse proxy to new web apps. 
    my reverse proxy shows the health of the new farm as healthy.
    should the inbound rules be different for these farms in reverse proxy? 
    Any suggestions are welcomed.
    Thanks,

    Hi,
    In addition to Luca's comment in order to determine if the farm is actually working correctly in the first instance, did you disable or remove the old server farm?
    Can you also confirm that there are no static routes in place on the IIS ARR box?
    Kind regards
    Ben
    Note: If you find a post informative, please mark it so using the arrow to the left. If it answers a question you've asked, please mark the thread as answered to aid others when they're looking for solutions to similar problems or queries.

  • Reverse Proxy and OWA

    Hi,
    Setup:
    3 CAS servers - Exchange 2010
    1 IIS ARR reverse proxy
    I followed these two
    1 2 write-ups on how to setup Exchange 2010 OWA to use IIS ARR as a reverse proxy. The problem I'm having is
    when all three servers are online in the server farm OWA doesn't work properly. You can log in fine, but it appears to not load fully and you can't click on anything (eg Calendar, emails, forward, reply, etc). If I were to take all the servers offline except
    for one (doesn't matter which one), OWA functions normally.
    Since some users also access OWA internally I have configured IIS on each CAS server to redirect to HTTPS and the OWA virtual directoy. I don't think this is causing the problem, but I thought I should mention it.
    I followed the articles exactly. I'm not sure what could be causing the problem.
    Thanks

    Hi,
    According to your description, there may be some problem on the configuration of your IIS ARR.
    Thus, let’s troubleshoot ARR using Failed Request Tracing Rules to find the root cause.
    For the detail steps, please refer to the following article:
    http://www.iis.net/learn/troubleshoot/using-failed-request-tracing/using-failed-request-tracing-rules-to-troubleshoot-application-request-routing-arr
    And we can also check if the URL rewrite rules are working as expected:
    For more steps, please refer to the partition named Verifying if the above rules are working as expected in the reference below:
    http://blogs.technet.com/b/exchange/archive/2013/08/05/part-3-reverse-proxy-for-exchange-server-2013-using-iis-arr.aspx
    Thanks,
    Angela
    Angela Shi
    TechNet Community Support

  • Reverse proxy and logs in Proxy Server 3.6SP2

    Hello ALL!
    I am using Cache server as a reverse proxy. I setup it for one internal server. It works great.
    Now I am trying to use Virtual Multihosting. So I made mappings as required:
    host1.domain.com -> int1.domain.com
    host2.domain.com -> int2.domain.com
    It works.
    But server logs requests for all servers into one file. I need to have separate log for each virtual host.
    I've made templates like
    http://host1.domain.com.*
    http://int1.domain.com.*
    http://host2.domain.com.*
    http://int2.domain.com.*
    and setup log for each.
    None is working. Only "entire server" logs.
    Please help me separate logs.

    Yes, it is possible. You have two options:
    1. Use the same virtual server class for both virtual servers and use the <Client> tag to specify urlhost-specific configuration.
    2. Use a separate virtual server class (with a separate obj.conf file) for each virtual server.
    With option 1, part of your obj.conf file might look like the following:<Client urlhost="www.server1.com">
    NameTrans fn="assign-name" from="/app1(|*)" name="passthrough"
    </Client>With option 2, you would configure the Reverse Proxy Plugin in only one of the two obj.conf files.

  • Reverse Proxy and Transparent Caching

    I've seen a couple threads on these particular subjects, and I'm still a little curious. I understand that it is possible to have both of these configured, but what is the proper method of accomplishing this?
    For example, our setup is similar to the configuration in the configuration guide for clients and content engines on different subnets, so the transparent part seems pretty simple where the "ip wccp web-cache redirect out" command will be on the interface connected to the internet.
    However, for the reverse proxy portion, can I also configure reverse proxy on the same internet-connected interface with "ip wccp 99 redirect in"? Or does the transparent caching take precendence even though they are for different conditions? If that is the case, do I then need to use the "ip wccp 99 redirect out" command on the interface that would be pointing back towards the origin servers?
    I'd just like to clarify because we don't have test devices to play around with, so we would be modifying production devices.
    As a completely different question, if only transparent caching is configured, is it still possible to use the CE590 as a proxy server? The reason I am asking is that we recently shut down wccp because we were seeing excessive traffic at odd hours. A stroll through the transaction logs revealed that most of this traffic was destined for foreign subnets. It appeared that the CE590 was acting as a proxy for these foreign IPs because the source IP address as well as the data being retrieved were foreign to our network.
    If anyone can help with my questions, it would be greatly appreciated.
    David

    According to this thread,
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.ee8a89a
    if you are redirecting both the services on the same interface, One service takes precedence over the other and I believe transparent web-cache redirect takes precedence over reverse-proxy.I think you need to use the "ip wccp 99 redirect out" command on the interface that would be pointing back towards the origin servers.
    For details refer:
    http://www.cisco.com/en/US/partner/products/sw/conntsw/ps491/products_configuration_guide_chapter09186a00800af658.html#19607
    I'm not too sure about the CE 590 but i know that the CE 560 can be used as a proxy for transparent caching using WCCP.

  • Simple Two Server Reverse Proxy and Portal Config?

    Hi, I would like to create a very simple two box configuration to access Oracle Portal from the internet.
    Web Cache would run as a reverse proxy for login.mycompany.com and portal.mycompany.com with two IP addresses in the DMZ.
    The second server would run the Portal Mid tier, the Infrastructure tier and the oracle database.
    Is this configuration possible? The enterprise deployment guide uses 6 servers to do this. Can this be done with 2?

    in the Enterprise Deployment Guide in section 9.2.3.4 Updating the httpd.conf file:
    NameVirtualHost idmhost1.mycompany.com:7777
    <VirtualHost idmhost1.mycompany.com:7777>
    ServerName login.mycompany.com
    Port 443
    RewriteEngine On
    RewriteOptions inherit
    SimulateHttps On
    </VirtualHost>
    In Section 9.2.6.1 ensuring Validity of Self-Referential URLs Rendered on OracleAS Portal Pages is updates the portal's http fil
    <VirtualHost apphost1.mycompany.com:7778>
    ServerName apphost1.mycompany.com
    Port 7777
    RewriteEngine On
    RewriteOptions inherit
    </VirtualHost>
    I don't understand how all the ports map to different services when the infrastructure and portal tier are installed on the same server. But is the port 7777 in confllict? Is the Guide in section 9.2.6.1 using Port 7777 to connect to the web cache listening port?

  • What is a reverse proxy and when is it used ?

    Dear SDN Community,
      Can some one throw light on the reverse proxy concept and in which scenarios it is used.
    Thanks!
    Surya.

    Typically Reverse Proxy is used in an Extranet setup.
    It will receive all the request from users (internet) and forward the requests to specific application servers based on rules you define.
    As the name suggests its the opposite of Forward proxy. You use forward proxies for outbound traffic (intranet to internet) and reverse proxies for inbound traffic (internet to extranet).
    You typically use reverse proxies to avoid exposing your application servers on the internet.
    As our colleague as suggested you can get more information on wiki or reverse proxy vendors libe APACHE, IIS, BLUECOAT...
    Hope this helps.
    Thanks and Regards,
    Prasanna Krishnamurthy.

  • Installing reverse proxy and web dispatcher

    I have come across a requirement for configuration of Reverse proxy & web dispatcher... to be installed on separate servers.
    Can you help me know if SAP Web Dispatcher can run as a standalone component or will I have to install NW and then, install the SAR file. If we need NW, should I go for AS ABAP / JAVA... I believe it would be ABAP as we are using SAR file and not an SCA. Although, I wonder if my Web Dispatcher needs a database as I dont see any functional use of the database ?
    How about reverse proxy.. Would it be good to go with IIS or with Apache.. Any other alternatives that you know of ?
    I have been using Windows 2008 server & DB2 UDB.
    Thanks,

    Hi,
    Please see the link below about the reverse proxy..
    https://cw.sdn.sap.com/cw/docs/DOC-115672
    For 'Dispatcher run as a standalone component' see the link below..
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/bc/0e774258449041e10000000a1550b0/content.htm
    http://tleterme.developpez.com/bw/how/HowToWebDispatcher.pdf
    Regards
    Bhuban

Maybe you are looking for

  • Trying to install Wind XP using bootcamp....HHHHHHEEEELLP!

    SO I have to have windows in order to run my business (sadly). So I got Windows XP Pro. I used bootcamp, created the partition and ran the install from Bootcamp. I watched it copy all the files and then it sayd it's done and must restart. Instead of

  • JNDI LookUp does not work in WSAD5.0

    Hi, I have an independent java class which creates Data Source in WASD 5.0, and this works fine to get data source when the server is 4.0, but does not work for server 5.0, here is the code: public static void main(String[] args) throws NamingExcepti

  • What exactly is token validation?

    Hi All, We're using jdev 10.1.2, adf bc's and jsps. A user keeps using the back button and so sporadically gets the error 'row currency has changed since user interface was rendered'. Having researched it on this site, I've found that this is due to

  • Condition Type for commissions across sales orders

    Hi, I have a requirement for which I need inputs: We have sales employee who will get commissions based on the total sales they make. The relevant sales employee will be brought into SAP as a business partner (specific account group and hence partner

  • Monitor access point

    Hi Experts, I have one simple requet to monitor  some business critial access point. All of them are thin AP then obviously I can not poll SNMP directly. What I need is email notification of AP up/down status. I have mutiple wireless lan controller (