OCS Reverse Proxy via Apache 2.0

I'm trying to configure an OCS 10.1.2 (OCS 10g R2) one-box install behind an Apache2 reverse proxy. Has anyone been able to do this?
I've configured a virtual host with ProxyPass and ProxyPassReverse directives, however, I'm not sure which component to reverse proxy, whether it is the SSO server, or the portal server.
If anyone can point me in the right direction. That would be much appreciated.
Regards,
Alex

Hello Alex,
I did the same as you are trying to do and finally (after some help from oracle support) it works fine.
Take a look at metalink Note:339761.1 "SETUP OCS 10g with SSL on a Single Box Install" - it helps you to set up your infra and apps tier correctly.
The apache configuration is quite simple - beside the logfile and ssl stuff i've just created a virtual host with a ProxyPass and ProxyPassReverse directive pointing to the internal host:
ProxyPass / https://host.internal-domain:4444/
ProxyPassReverse / https://host.internal-domain:4444/
I'm using OCS 10.1.2 and a self-compiled Apache 2.2.2.
Regards,
Christoph

Similar Messages

  • Reverse Proxy Configuration - Apache as an SSL reverse-proxy

    Hi,
    We have EP 6.0 SP 14 installed with SSL configured.
    We are in need to open the application to internet.
    For the same we have set up a reverse proxy server (Apache as SSL
    Reverse Proxy).
    Our requirement is to open the application to the internet with
    web address https://abc.domain.com.
    The issue is we are able to access the application from internet only when
    https://abc.domain.com/irj/potal is typed.
    (ie.) Mapping is working fine for
    https://abc.domain.com/irj/portal to
    our EP Portal address https://abc2.domain.com:50001/irj/portal
    And not working for mapping https://abc.domain.com to our EP Portal
    address https://abc2.domain.com:50001/irj/portal
    We have been working on to resolve this issue for days together but have been really unsuccessful
    Kindly help us in resolving the same asap.
    Note : The references we used are:
    1. SAP's document:
    "Apache Reverse Proxy Configuration for J2ee 6.20 and 6.40 Web Applications"
    2. Weblogs:
    The Reverse Proxy Series -- Part 1: Introduction
    The Reverse Proxy Series -- Part 3: Apache as a reverse-proxy
    The Reverse Proxy Series -- Part 3.1: Apache as an SSL reverse-proxy
    Regards,
    venkat.

    Thanks much for the feedback. We're using the default settings on the HTTP rule we have set up for the portal on the ISA server. We'll be looking into the details of what the default rule settings are, however we did find a note in the Microsoft Knowledge base detailing with the ISA server screening high bits in URL strings for Outlook Web Access (OWA). This generates a similar error message. Here is the link to the detailed note on the Microsoft web site:
    http://support.microsoft.com/?scid=kb;en-us;837865
    Also,we are going to be applying the SP1 upgrade to the ISA server (released in March) to see if this might be some type of issue that may have been identified and corrected by the service pack. We'll see what happens with that.
    One area where we can recreate the problem at will is when we set up the system landscape configuration. We can navigate to a system configuration object, however when we attempt to right click to edit the object we get the error. There are other circumstances where we get errors but that is one that occurs for sure. Anyone have any idea as to what might be special about that type of transaction??
    Thanks again.
    Rich

  • Reverse Proxy from Apache to portal to 2 different ITS Systems

    We're using Apache 2 webserver and we've enabled reverse proxy from our proxy server to our Enterprise Portal 7.0.  We have transaction iviews for different systems, an ECC 6.0 and CRM 5.0.  We are using the integrated ITS for these systems provided with basis version 7.0.  We have all the necessary ports open in the firewall.  I know how to configure the proxy when there's only one ITS server, but how would I do it for two (the ECC and CRM system)?

    We have integrated ITS.  I am not sure I understand where you are going with globalr.srvc file.  We have two systems that we want to hit from the portal via reverse proxy.  One is the ECC system and the other CRM 5.0.  In our portal we use the integrated ITS for each system:
    ECC sytem:
    http://ecc.system.com:8001/sap/bc/gui/its/sap/webgui
    CRM sytem:
    http://crm.system.com:8001/sap/bc/gui/its/sap/webgui
    The issue is how would I map to both ITS from the Apache reverse proxy

  • Enterprise portal access using reverse proxy using Apache and webdispatcher

    Hi Guys,
    As requirement, we need to give solution to customer about Reverse proxy scenario. I am new to this part.
    What we have think of to use Apache and Web dispatcher.
    I tried to search documents and found some sdn links also but still i am not comfortable to go about.
    Need suggestion and document if anyone has used so far.reverse proxy.
    As basis person, we need to do all ( Apache installation, Apache configuration, Web dispatcher installation and configuration, integration with EP.)
    It will helpful to me if i can get Apache installation, Apache configuration part and integration with EP, or web dispatcher, configuration etc.
    Thanks,
    Deepak

    We used Netscaler for Reverse Proxy implementation and can assure you that network team performed most of the set ups. This was on EP 7.01.
    From BASIS stand point it would be primarily Web Dispatcher Configuration.
    Also refer the links I specified in another thread. There are several scenarios discussed there -
    Re: Post values for userid and passowrd fields in logon page
    http://wiki.sdn.sap.com/wiki/display/BSP/Using+Proxies
    ~ Dhanz

  • BO4+Reverse Proxy+Tomcat+Apache 1.x

    Hi,
    We are trying to set up reverse proxy to route requests to our internal BO server.
    The reverse proxy routes the request to our internal BO server correctly but cannot login.
    Get http status 500.
    Anybody got reverse proxy working with folloiwng set up.
    BO4  with bundled Tomcat 6 web application server + apache web server.
    Many Thanks

    In the articles section of this site look for Windows Pattern book. There should be 2 , one for Windows and one for Xi3.1.
    Reverse Proxy section should apply to BI4.0 as well.

  • Configure reverse proxy using Apache 2.2.15

    Dear Experts,
    I am in the process of configuring reverse proxy for my portal so that ppl outside the network can access my servers.
    We are on SUSE Linux 10 SP2, installed Apache 2.2.15 and started apache successfully.
    When i run command ps -ef | grep httpd, i get list of processes that are running.
    But when i open mozilla on the server where i installed apache and type http://myhost.domian.com:8080 it doesnt display any screen.
    I still assume that my apache is running. Please correct me on the above.
    Now i have configured my httpd.conf based on help.sap.com and various threads on sdn and it looks something like below
    ====================================================================================================
    ProxyPass /irj http://myhost.mydomian.com:50100/irj/
    ProxyPassReverse /irj http://myhost.mydomian.com:50100/irj/
    ProxyPreserveHost On
    #####################################r Reverse Proxy
    ProxyRequests off
    ProxyPreserveHost On
    <VirtualHost 172.XXX.XX.XX:80>
    #DocumentRoot Webserver doc root, eg "C:/.../htdocs"
    #ServerName <http:// Domain Name eg www.domainA.com >
    #ErrorLog logs/Domain.com-error_log
    #CustomLog logs/Domain.com-access_log common
    (Commented the above lines as i did not understand what i need them for.. please help on the above)
    RewriteEngine On
    RewriteLog logs/myhost_unsecured_rewrite.log
    RewriteLogLevel 9
    <Directory />
    Options None
    AllowOverride None
    </Directory>
    RewriteRule ^/(.*)$ http://myhost.mydomian.com:50100/$irj1/ NC,P
    ProxyPassReverse /irj http://myhost.mydomian.com:50100/
    </VirtualHost>
    With the above configuration will i be able to acheive my goal of using this server as my reverse proxy and also for redirecting the host name.
    Please help me on the above
    Thanks and regards
    Hunky

    If you search for "reverse proxy apache" you'll find quite lots of resources (blogs, articles) here on the SDN.
    You may start with
    FEATURED EVENTS
    Markus

  • 404 error while accessing sicf services via apache reverse proxy

    Hi,
    I set up an reverse proxy with apache 2.2 and try to access SICF Services via this proxy. I got the following error message from the sap system:
    Service cannot be reached
    The termination occurred in system SMP with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:NE-SSMP01_SMP_00-v:0-s:404-r:Notfound
    When I access J2EE services via the proxy it works.
    Is there any configuration which have to be done in the ABAP Stack for accessing Services via the proxy server?
    For tests I tried to access the simple ping service ( /default_host/sap/public/ )
    Thanks and best regards,
    Tim

    Hi Oliver,
    I allready checked the SDN posts for the reverse proxy. Maybe I missed something.
    The ProxyPreserveHost is on.
    I redirect to the ICM. I only redirected to the J2EE for tests. This worked by the way withe the same conifiguration.
    Here is my apache config:
    VirtualHost *:5443>
            ServerName      domain.com
            ServerAdmin     test.de
         ProxyPreserveHost On
         #ProxyVia On
         #AllowEncodedSlashes On
    Rewrite Rules
    - forward sap/public/ping?sap-client=001 -> Test Ping
    - Passthrough /sap/public/ping/*
    - Redirect any other URL -> Test Ping
            RewriteEngine On
            RewriteRule     ^/sap/public/ping?sap-client=001$     /sap/public/ping?sap-client=001          [R,L]
         RewriteRule     ^/sap/public/(.*)                     /sap/public/$1                    [PT,L]
         RewriteRule (.*)                               /sap/public/ping?sap-client=001          [R,L]
         RewriteLog logs/rewrite_SMP.log
         RewriteLogLevel 3
    Reverse Proxy to
    - Disable Forward Proxy
    - Allow Connections from All
    - Reverse Mapping for 302 Response
    - Forward / Requests to domain.com:8000
            ProxyRequests Off
            <Proxy *>
                    AddDefaultCharset off
                    Order Allow,Deny
                    Allow from all
            </Proxy>
    Forward Rules
         ProxyPass             /sap/public/ping          http://domain.com:8000/sap/public/ping?sap-client=001
         ProxyPassReverse      /                    http://domain.com:8000/
    </VirtualHost>
    Best regards,
    Tim

  • Reverse Proxy - Apache vs SAP Web Dispatcher

    Hi,
    my config consists in a portal (EP7.0 - DB/CI + AS) and an ECC system (ECC 6.0 - DB/CI + AS).
    Web developments are based on Abap Web Dynpro and are also located on ECC.
    To ensure load balancing there are 2 web dispatchers : one on EP DB/CI, one on ECC DB/CI.
    Those 2 systems are located in intranet. Intranet access are realized via http.
    Moreover I need to open this solution to internet. I need a component to filter access in DMZ and ensure reverse proxy + https functions.
    Technical target chain links are depicted below.
    internet access : browser (https) -
    >  (https) reverse proxy in DMZ (http) -
    > IS (Portal/ECC)
    intranet access : browser (http) -
    > IS (portal/ECC)
    At the moment two application gateway solutions have been identified :
    Apache (MOD_PROXY + MOD_HTTPS) - My configuration is based on Linux
    SAP Web Dispatcher ("cascading" implementation as described in OSS note 740234)
    I'm looking for PROs and CONs of those 2 solutions and I'm also seeking for the impact of ensuring https encryption/decryption at the application gateway level ("a priori" this usage is not transparent in term of server sizing - CPU/memory, do I require to implement an SSL accelerator ?).
    Regards.
    Frederic.

    Hi,
    PRO Webdispatcher:
    - Supports SAP Java + ABAP
    - Loadbalancing of SAP applications (stateful)
    - Supports load balancing (saplb_* cookie)
    - Free of costs
    - easy to set up (up & running in 2 minutes)
    - Supports HA solutions out-of-the-box (process HA)
    - Filter + Rules to modify the requests
    CONS Webdispatcher
    - not a full reverse proxy
    - Limited functionality
    - one more server/solution (normaly, a company already does have a reverse proxy solution in place)
    - limited user base (only SAP customers)
    PRO Apache
    - free
    - widly in use
    - full reverse proxy
    - allows more complex filtering / rewriting
    - can be used for more web solutions, reuse of existing apache reverse proxy
    CONS Apache
    - does not support SAP load balancing (connection to the message server port for load distribution)
    - can be more complex to set up
    - SAP specific technology / problems are more harder to fix (ABAP, Stateful connections, sap_lb*)
    Short: both will server well as a reverse proxy.
    Rule of thumb: If you go for Apache or Web Dispatcher should mainly depend on you current IT landscape. If you already do have an apache in use, use Apache. You already have the people / knowledge, try to foster it .
    If you start from scratch and have SAP Logon Groups or many WebDynpro ABAP applications, go for the Web Dispatcher.
    br,
    Tobias

  • Apache Reverse Proxy to 2 ITS Hosts

    We have two systems that we want to hit from the internet via reverse proxy. One is an ECC 6.0 system and the other CRM 5.0. The ITS for these systems is the Integrated ITS:
    ECC sytem:
    http://ecc.system.com:8001/sap/bc/gui/its/sap/webgui
    CRM sytem:
    http://crm.system.com:8001/sap/bc/gui/its/sap/webgui
    The issue is how would I reverse proxy to both ITS from the Apache proxy server

    I am trying to configure Reverse proxy using Apache. My scenario is: EP is the from=ntend where users will login and then will call the ITS from ECC on portal iView. I am able to reach to portal and access it however, when I am trying to call ITS through Apache I am getting 404. This is because the URL(hostname as well) for ecc system is different. I have tried using ReWrite rules but bot able to resolve the issue. I ahave gone through SDN and tried most the configurations and scenarios. I guess I lack the understanding on url ReWriting rule. Kindly find the httpd file content pasted below and send in your comments.
    httpd content
    ServerName <IP of my Apache server:80>
    CanonicalName
    UseCanonicalName off
    ProxyVia on
    ProxyTimeout 600
    ProxyRequests off
    ProxyPreserveHost on
    NameVirtualHost <IP of my Apache server:80>
    <VirtualHost <IP of my Apache server:80>>
    ServerName portal.mycompany.com:80
    RewriteEngine On
    #RewriteRule ^sap(.)/bc/gui/sap/its/webgui(.) http://eccserver.mycompany.com/sap$0 [L]
    #ReWriteRule ^/(/public/.*)$ http://eccserver.mycompany.com/sap$1 [L]
    ##ReWriteRule ^/(sap/public.*)$ http://eccserver.mycompany.com/sap$1 [P]
    ReWriteRule ^/sap(.*)$ http://eccserver.mycompany.com/sap$1 [P]
    RewriteLog logs/rewrite.log
    RewriteLogLevel 3
    ProxyPass /irj http://portal.mycompany.com/irj
    ProxyPassReverse /irj http://mydomain.mycompany.com/irj
    ProxyPass /sap http://eccserver.mycompany.com:80/sap
    ProxyPassReverse /sap http://mydomain.mycompany.com:80/sap
    </VirtualHost>
    Note: mydomain.mycompany.com is the url whcich hits Apache from external as well as internal network. Apache is in DMZ and my EP and ECC is in LAN.
    Regards
    Rahat

  • Can the 4710 reverse proxy like the Apache rerwite rule

    We currently have web servers configured with Apache that act as reverse proxies using an Apache rewrite rule. The end user connects to the Apache web server and it proxies that connection to the backend app server. Is the 4710 capable of acting as a reverse proxy like Apache which would eliminate the need for a web server?
    Thanks

    Hi,
    Although this is not the most common scenario it is doable. What you will need is to NAT the client source IP to the ACE VIP and send the request to the web server. If there is a web farm then you can use another context of ACE to loadbalance the request to the web farm.Actually i have setup ACE as a reverse proxy in replacement of an ISA server by using the one-arm mode for the implementation. Beware though that you will need to use Policy Based Routing or NAT so as for the return traffic to go though ACE. Also you will need to insert the client IP in the x-forwarded-for HTTP header for proper analysis (as you would do with Apache).
    See below link for routed mode (it is for the c6500 / ACE module but same applies for the ACE 4710 appliance
    http://supportwiki.cisco.com/ViewWiki/index.php/Configure_ACE_with_Source_NAT_and_Client_IP_Header_Insert
    Hope it helps,
    ./G

  • Change the redirect URL sent to reverse proxy

    Hi all,
    My system is composed of a reverse proxy(Apache 2.046) and a backend webserver (Oracle HTTP Server).
    To connect to a web application on the back end web server, the Internet user connect to reverse proxy via HTTPS and the reverse proxy forward the request to backend webserver via HTTP.
    Example :
    Internet user type :
    https://myreverseproxy/myWebApp
    The reverse proxy translate this to :
    http://mybackendserver/myWebApp
    The problem is myWebApp do a redirect like this:
    http://myreverseproxy/myWebApp/login.jsp
    How can I config the reverse proxy to change the redirect URL to :
    https://myreverseproxy/myWebApp/login.jsp
    Thank you in advance

    Hi Ove
        That is working fine.. Only thing i did is mapping node to /author . But is it possible to hit the author instance only wen i type http://localhost:4502/author . Ie: if I type http://localhost:4502 it should not resolve to my login page
    Thanks
    veena

  • SMP 3.0 (using Agentry): Requirements for Reverse Proxy

    All.
    We are in the process of designing our landscape for SMP 3.0, where we will expose Agentry functionality, and are currently looking at the Reverse Proxy technology to use.
    From the document
    Common Requirements for Reverse Proxies - Landscape Planning and Design - SAP Library
    it is stated that any reverse proxy used:
    Does not remove any HTTP headers.
    Sets a timeout period, if used, that is greater than the timeout used by the clients.
    Is this all the requirements that must be fulfilled for a reverse proxy ?
    We are looking into installing a common Reverse Proxy technology, that can handle reverse proxy requirements for multiple platforms.
    Hence I need to specify the requirements, in relation to SMP, for this technology.
    I hope someone can help.
    Thanks.
    Søren Hansen.

    Thanks Bill and Steve.
    I got it now - for Agentry support we need WebSockets.
    What about everything else on SMP 3.0 ?
    From this document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/200d7500-2605-3210-9d91-a24cfb6523ba?QuickLink=index&…
    it is stated on page 4 that different technologies needs different platforms.
    Application          Reverse Proxy
    Native                 Apache
    Hybrid                 Apache
    Agentry               Nginx
    MBO                   RelayServer
    Is there no one Reverse Proxy platform that can act for all application types in front of SMP 3.0 ?
    And what should the entire list of demands be ?
    Søren Hansen

  • Reverse Proxy issue for domain name

    Hi All,
    We are in process of implementing reverse proxy to the SAP Portal and web dispatcher.
    We given all rewrite rules accordingly, The public IP also resolves the domain name also.
    Our domain is etender-aai.aero.
    When we given rewrite rule with the public IP reverse proxy is working fine.
    But when we given etender-aai.aero in rewrite rule its not working.
    Please help me in this.
    Thanks & Regards,
    Sreekanth

    Hi,
    If you want help, you'll have to explain clearly what is your configuration and what you want to achieve.
    I'm sorry to tell you that I absolutely did not nderstand anything about your problem....
    Do you try to publish your SAP Portal externally on the internet ?
    Do you use the web dispatcher as a reverse proxy ? or do you add an other reverse proxy (like Apache) in front of the web dispatcher ?
    Regards,
    Olivier

  • WebDynpro applications not working through Reverse Proxy

    Hi All,
    I have configured a Reverse Proxy using apache 2.2.4 and when i access my Portal (NW04s EP 7.0 SPS08) through reverse proxy i'm not able to display any webdynpro application (e.g. Identity Management). I'm getting Page can not be displayed. I think reverse proxy is not able to convert the request into absolute URLs.
    If someone had the same problem,please let me know.
    Regards
    Vaib

    I resolved the problem on my own by adding webdynpro directive to the httpd.conf.
    Thanx
    Vaib

  • Retain Orginal URL after Reverse Proxying

    I am trying to do a reverse proxy using Apache config file (Apache 2.2)
    I am able to successfully reverse proxy a user from https://www4.dev.sonet.se/chatview/ to http://pkma-usis.kaddi.sonet.fe/chatview
    But when i try to retain the host domain name after reverse proxy using "Header edit Location" directive, it fails.
    i.e, After redirection to http://pkma-usis.kaddi.sonet.fe:80/chatview the user must see the URL as https://www4.dev.sonet.se/chatview.
    I wanted to know if what I am trying to do is feasible in the first place and if this is a good practice. Following is my config file.
    Can anyone please help me in this? - if I am using a correct approach? any alternate options available? debugging options to find out where my config goes wrong ?
    <Macro SingleNode %h1 %lp %rp>
    <Location /%lp/>
    Header add Set-Cookie "%Chat_SID=h.%{BALANCER_WORKER_ROUTE}e;\
    path=/%lp/;" env=BALANCER_ROUTE_CHANGED
    Header edit Location "^(.*pkma-usis.kaddi.sonet.fe.*/%lp/)(.*)$" "/%lp/$2"
    </Location>
    <Proxy balancer://%lpCluster>
    BalancerMember http://%h1 min=1 smax=3 max=10 ttl=10 route=%h1
    </Proxy>
    ProxyPassReverse /%lp/ http://%h1/%rp/
    RewriteRule ^/%lp/(.*) balancer://%lpCluster/%rp/$1 [proxy]
    ProxySet balancer://%lpCluster stickysession=%Chat_SID
    </Macro>
    <IfDefine DEV>
    Use SingleNode jemma-uusi.stadi.sonera.fi:80 chatview chatview
    </IfDefine>
    <LocationMatch "/chatview/">
    AuthType Basic
    Require valid-user
    AuthName CT
    </LocationMatch>
    ###################################

    Hi,
    I am not sure I 100% understand you setup but it is possible to retain the URL after a proxy :-)
    Here is a edited example from one of our customers:
    1. httpd.conf
    <VirtualHost 172.30.123.10:80>
      ServerName theheat.dk
      RewriteEngine On
      RewriteCond %{HTTPS} off
      RewriteRule ^(.*)$ https://theheat.dk$1
    </VirtualHost>2. ssl.conf
    <VirtualHost 172.30.123.10:443>
    ServerName theheat.dk
    RewriteEngine On
    RewriteRule ^/$ /example/faces/Home [R=301]
    RequestHeader set WL-Proxy-SSL true
    ProxyPass        /example/ http://wintermute:8001/example/
    ProxyPassReverse /example/ http://wintermute:8001/example/3. Admin Console
    In the Admin Console navigate to the Managed Server running on port 8001 and find Configuration => General => Advanced.
    Put a check mark in "WebLogic Plug-In Enabled" even though your are not using the mod_wl plug-in.
    Now select the Protocols tab and then HTTP. Set "Frontend Host" to theheat.dk and for "Frontend HTTPS Port" input 443.
    Hope it helps.
    Regards Peter

Maybe you are looking for

  • Problem with GlassFish and Sun Java System Message Queue

    Hi, I used application server PE.8 and I upgraded to Sun Java System Application Server Platform Edition 9.0 Update 1 Patch 1, and I changed all my CLASSPATH and everything. My system is working fine, but the Sun Java System Message Queue that I used

  • Remote FTP site GMT offset issue

    When I have a DW remote FTP site, and look at the remote site the timestamps are ahead of mine. I can PUT a file right now and the remote timestamp will appear +4 hrs, which is correct GMT time. I look at the FTP log and see that the LIST (ls) comman

  • How to call sshr page in custom oaf page

    hey everyone, i would like to access the leave of absence page by creating a link on the custom oaf page. So that whenever i click on this link it will open the below page. Below is the function details for the jsp page that i want the link to open i

  • Alv report  filter a filed

    hi, please give help on filtering on particular field in alv gird display.     i want to filter on MARA-MRTAR ( Matrial type) .give me code for that. plz i need urgently.

  • Best alternative for rowversion

    We're currently evaluating SQL Server 2014's In-Memory OLTP for our application and saw in the documentation that rowversion is not a supported datatype: http://msdn.microsoft.com/en-us/library/dn133179(v=sql.120).aspx What's regarded as best practic