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

Similar Messages

  • 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

  • Reverse Proxy using S1AS7 with libpassthrough.so

    My second tier is not functionning properly when placed behind a S1AS7 with reverse proxy
    Client ====== SunOne web server with Passthrough ====== .NET app server & web services.
    The web server configuration (reverse proxy � libpassthrough.so) is configured and is working correctly when it comes to requesting normal pages, however a problem arises when the request is made either by:
    1- Invoking a web service on the .Net tier, or
    2- The .Net tier performs a server.transfer call within the same .net server (Page transfer)
    Keep in mind that the .Net tier works fine when not accessed through the reverse proxy.
    We tried to isolate the problem from different angles but came up short, the http server log shows that the request was made
    192.168.2.7 - - [14/Jul/2004:14:10:56 +0300] "POST /wavedms2.0/TestWebService/TestService.asmx HTTP/1.1" 100 0
    Although response 100 indicates that it is waiting for more, while the web service error shows the following:
    The underlying connection was closed: An unexpected error occurred on a receive.
    at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
    at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at TestWebService.oWebService.MyWebSvc.HelloWorld()
    at TestWebService.Form1.button1_Click(Object sender, EventArgs e)
    I appreciate any help you can provide us with a solution on this issue.

    Thanks a million, yes it is exactly the same
    Do you know if this release is available for download / purchase????

  • 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

  • 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

  • Configure Reverse Proxy in Leopard

    Hi people I want to configure my httpd.conf file in my Apache to enable reverse proxying...
    I have looked some instructions in these sites:
    http://www.apachetutor.org/admin/reverseproxies
    http://www.askapache.com/htaccess/reverse-proxy-apache.html
    both ask for the modproxyhtml.so installation which I already did and its currently located in usr/libexec/Apache2 and loading a file called libxml.so in /usr/lib/libxml2.so but so far I have searched in /usr/lib/ and there are only some similar files called "libxml2.2.dylib" "libxml2.dylib" and "libxml.la"
    I have tried adding these lines(as suggested by these sites)to the httpd.conf file but Apache seems to fail/crash after adding them..
    LoadFile /usr/lib/libxml2.so
    LoadModule proxyhtmlmodule libexec/apache2/modproxyhtml.so
    what should I do???
    pleasee help!!!

    I've just hit the same issue. modproxyhtml.so appears to be being loaded, but ProxyHTMLURLMap resolves in a syntax error.
    Hopefully someone has found a solution to this (OS X Leopard 10.5.2).
    Cheers
    Russell

  • Configuring Reverse Proxy Nginx for Messenger

    We have updated to Messenger 3.0 and are looking to use the Mobile apps. We have a reserve proxy Nginx which we use for WebAccess and have tried to configure this for Messenger.
    When I try to connect using a Mobile app (from the Internet) I can see a connection been made in the Messenger Agent logs and then get a failed to connect error:
    10:36:12 B70 SPL Login failed [0xD130]: ::xxx.xxx.xxx.xxx - An invalid tag was discovered
    My question is
    Has anyone used nginx to reverse proxy Messenger successfully and if so how?
    And if not, what configuration have they used?
    Thanks in advance

    johngallagher,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • 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.

  • Can i setup a secure reverse proxy using sun one web proxy server and windows 2000?

    I've tried this on IPlanet Proxy 3.6 and, after reading the documentation, realized that SSL is not supported on the Windows platform. So I'm asking if it is supported using Sun One Web Proxy Server

    Hi,
    Yes, What you say is right.
    "The NT and Windows 2000 versions of iPlanet Web Proxy Server 3.6 do not support SSL".
    Sun One Web Proxy Server is as same as iPlanet webproxy server.
    May be in future relase of proxy server SSL will be supported in Win2000.
    Regards,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Reverse proxy using sun one webserver

    can any body please tell me the steps to how to use
    web server as a proxy server to Applicationserver

    is this what you're looking for?
    http://www.phptr.com/articles/article.asp?p=16953

  • Reverse Proxy using TAM webseal -  EP7.0 - CE7.1

    Our scenario, has two SAP J2EE applications (SAP Portal frontend & CE) with SSO established using SAP Logon Tickets. When we test the SSO by logging into the Portal directly it works fine.
    I had earlier raised the issue for not being able to get on to CE by logging through webseal. This part is working fine now.
    Next we are trying to set the trust using https(secured layer) by exchanging SSL certs.
    If i use https port, and get on to CE from webseal with CE federated on to Portal, on some of the images/gifs i am getting certificate prompt. I tried to implement SAP note 812901/903, but didnt help.
    Please advice.
    Regards,
    Nitin

    We are following up with SAP on this and looks like its a development issue in CE.
    There are certain instances where the css URL is passed as a form value of hidden field variable which webseal is not able to read.
    Regards,
    Nitin

  • 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

  • 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

  • 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

Maybe you are looking for

  • Using time capsule with multiple macs!

    hey guys!! i know time capsule is not out yet as such, but does anyone know or has heard if you can say for e.g a macbook & an imac to back up on the same time capsule please? i hope its not one for one plus i am also thinking of getting a macbook pr

  • In Design CS 5.0 (7.0.4) slow file performance

    I work on a large catalog in a workgroup setting of 5 people. We work with files on our desktop then store them on the server when we are done. All images are linked to a locatoin on the server. We are having issues with our files being slow and unre

  • Novell Client for Linux 2 beta & VMWare - bridged only?

    OpenSUSE 11.1 with Novell Client for Linux 2.0 SP2 beta. OpenSUSE is installed as a VMWare Workstation guest using NAT. When attempting to use contextless login, the Novell Client hangs. If you disable contextless login and then browse to the right c

  • Power mac os 10.3 disks on imac

    Can i use my 10.3 disks I bought for my B&W mac on my imac to upgrade from os 9 or do I need imac 10.3 disks? New mac user so I don't have a clue...

  • HT5192 Can I download iOS 5 via WiFi?

    Can I download iOS 5 via WiFi?