Apache Reverse rule for BSP applicaiton to run in Portal

Dear Expert,
In my portal lanscape we are using reverse proxy and have written some re-write rule in conf file.
All my application other than BSP's are working fine..i am not able to figure it out as what went wrong in my reverse proxy rule
for BSP applicaiton...can any one help me please..?
My reverse proxy rule is as follows -
<VirtualHost XX.XX.XX.XX:443>
    ServerAdmin webmaster@MDCLINUXHYPERV
    ServerName etenderqua.harmony.co.in
    DocumentRoot /var/www/html/ssl/irj
    ProxyRequests Off
    ProxyPreserveHost On
    ProxyVia on
    ProxyTimeout 900
    RequestHeader set ClientProtocol https
    RewriteEngine On
    RewriteLogLevel 9
Portal Rewrite Rules -
    RewriteRule ^/(irj\(.*) http://mdcqa7.hardev.com:50000/irj/$1 [P,L]
    RewriteRule ^/(webdynpro\(.*) http://mdcqa7.hardev.com:50000/webdynpro/$1 [P,L]
    RewriteRule ^/(logon\(.*) http://mdcqa7.hardev.com:50000/logon/$1 [P,L]
    RewriteRule ^/(rtmfCommunicator\(.*) http://mdcqa7.hardev.com:50000/rtmfCommunicator/$1 [P,L]
SRM Rewrite Rules -
    RewriteRule ^/(cfol1\(.*) http://mdcqa3.hardev.com:8000/cfol1/$1 [P,L]
    RewriteRule ^/(sap\(.*) http://mdcqa3.hardev.com:8000/sap/$1 [P,L]
    RewriteRule ^/(webdynpro\(.*) http://mdcqa3.hardev.com:8000/webdynpro/$1 [P,L]
    RewriteRule ^/(rtmfCommunicator\(.*) http://mdcqa3.hardev.com:8000/rtmfCommunicator/$1 [P,L]
  RewriteRule ^/(srm7\(.*) http://mdcqa3.hardev.com:8000/srm7/$1 [P,L]
  RewriteRule ^/(zbidder\(.*) http://mdcqa3.hardev.com:8000/zbidder/$1 [P,L]
ECC Rewrite Rules -
    RewriteRule ^/(ecc\(.*) http://mdcqa1.hardev.com:8000/ecc/$1 [P,L]
    RewriteRule ^/(sap\(.*) http://mdcqa1.hardev.com:8000/sap/$1 [P,L]
    RewriteRule ^/(webdynpro\(.*) http://mdcqa1.hardev.com:8000/webdynpro/$1 [P,L]
    RewriteRule ^/(rtmfCommunicator\(.*) http://mdcqa1.hardev.com:8000/rtmfCommunicator/$1 [P,L]
BI Rewrite Rules -
    RewriteRule ^/(bi\(.*) http://mdcqa5.hardev.com:8000/bi/$1 [P,L]
    RewriteRule ^/(sap\(.*) http://mdcqa5.hardev.com:8000/sap/$1 [P,L]
    RewriteRule ^/(webdynpro\(.*) http://mdcqa5.hardev.com:8000/webdynpro/$1 [P,L]
    RewriteRule ^/(rtmfCommunicator\(.*) http://mdcqa5.hardev.com:8000/rtmfCommunicator/$1 [P,L]
SSL Configuration -
    SSLEngine on
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4RSA:HIGH:MEDIUM:LOW:SSLv2:EXP:+eNULL
    SSLCertificateFile /etc/pki/tls/certs/etender.crt
    SSLCertificateKeyFile /etc/pki/tls/certs/etender.key
Portal Proxy Pass Rules -
ProxyPass /irj http://mdcqa7.hardev.com:50000/irj
    ProxyPassReverse /irj http://mdcqa7.hardev.com:50000/irj
    ProxyPass /webdynpro http://mdcqa7.hardev.com:50000/webdynpro
    ProxyPassReverse /webdynpro http://mdcqa7.hardev.com:50000/webdynpro
    ProxyPass /logon http://mdcqa7.hardev.com:50000/logon
    ProxyPassReverse /logon http://mdcqa7.hardev.com:50000/logon
    ProxyPass /rtmfCommunicator http://mdcqa7.hardev.com:50000/rtmfCommunicator
    ProxyPassReverse /rtmfCommunicator http://mdcqa7.hardev.com:50000/rtmfCommunicator
SRM Proxy Pass Rules -
    ProxyPass /sap http://mdcqa3.hardev.com:8000/sap
    ProxyPassReverse /sap http://mdcqa3.hardev.com:8000/sap
    ProxyPass /cfol1 http://mdcqa3.hardev.com:8000/cfol1
    ProxyPassReverse /cfol1 http://mdcqa3.hardev.com:8000/cfol1
   ProxyPass /srm7 http://mdcqa3.hardev.com:8000/srm7
   ProxyPassReverse /srm7 http://mdcqa3.hardev.com:8000/srm7
   ProxyPass /zbidder http://mdcqa3.hardev.com:8000/zbidder
   ProxyPassReverse /zbidder http://mdcqa3.hardev.com:8000/zbidder
    ProxyPass /webdynpro http://mdcqa3.hardev.com:8000/webdynpro
    ProxyPassReverse /webdynpro http://mdcqa3.hardev.com:8000/webdynpro
    ProxyPass /rtmfCommunicator http://mdcqa3.hardev.com:8000/rtmfCommunicator
    ProxyPassReverse /rtmfCommunicator http://mdcqa3.hardev.com:8000/rtmfCommunicator
ECC Proxy Pass Rules -
    ProxyPass /ecc http://mdcqa1.hardev.com:8000/ecc
    ProxyPassReverse /ecc http://mdcqa1.hardev.com:8000/ecc
    ProxyPass /sap http://mdcqa1.hardev.com:8000/sap
    ProxyPassReverse /sap http://mdcqa1.hardev.com:8000/sap
    ProxyPass /webdynpro http://mdcqa1.hardev.com:8000/webdynpro
    ProxyPassReverse /webdynpro http://mdcqa1.hardev.com:8000/webdynpro
    ProxyPass /rtmfCommunicator http://mdcqa1.hardev.com:8000/rtmfCommunicator
    ProxyPassReverse /rtmfCommunicator http://mdcqa1.hardev.com:8000/rtmfCommunicator
BI Proxy Pass Rules -
    ProxyPass /bi http://mdcqa5.hardev.com:8000/bi
    ProxyPassReverse /bi http://mdcqa5.hardev.com:8000/bi
    ProxyPass /sap http://mdcqa5.hardev.com:8000/sap
    ProxyPassReverse /sap http://mdcqa5.hardev.com:8000/sap
    ProxyPass /webdynpro http://mdcqa5.hardev.com:8000/webdynpro
    ProxyPassReverse /webdynpro http://mdcqa5.hardev.com:8000/webdynpro
    ProxyPass /rtmfCommunicator http://mdcqa5.hardev.com:8000/rtmfCommunicator
    ProxyPassReverse /rtmfCommunicator http://mdcqa5.hardev.com:8000/rtmfCommunicator
Error Logs -
    ErrorLog logs/qua.portal.domain.com-error_log
    CustomLog logs/qua.portal.domain.com-access_log common
    RewriteLog logs/qua.portal.domain_unsecured_rewrite.log
</VirtualHost>

Dear Keseli,
Now..i am facing one more issue...
My rules are as follows : -
SRM Rewrite rule -
RewriteRule ^/(sap\(.*) http://mdcqa5.hardev.com:8000/sap/$1 P,L
ProxyPass /sap http://mdcqa5.hardev.com:8000/sap
ProxyPassReverse /sap http://mdcqa5.hardev.com:8000/sap
BI Rewrite Rule -
RewriteRule ^/(sap\(.*) http://mdcqa7.hardev.com:8000/sap/$1 P,L
ProxyPass /sap http://mdcqa7.hardev.com:8000/sap
ProxyPassReverse /sap http://mdcqa7.hardev.com:8000/sap
these rules are written under the same Virtual Host, we are using only one virtual host .From our analysis we knew that the reverse proxy read this file from the starting as as soon as it find the pattern at the left side of the rule it simply directs the request to URL right hand side.
My issue is, since we have created BSP services in SRM and BI...it always directs the request to the matching pattern given in the first occrences.
In the above example it always directs the call to the SRM bsp..never reaches to BI.
Can you suggest us any way out..?

Similar Messages

  • Setting apache reverse proxy for EP6SP2

    Hi friends,
    I want to set apache reverse proxy for EP6SP2. But after doing the following changes, it is showing the SAP J2EE Engine documentation page.
    The following changes has been dont to httpd.conf:
    NameVirtualHost 1.1.1.1:80
    <VirtualHost 1.1.1.1:80>
      ProxyRequests Off
      ServerName ep6.xyz.com
      ProxyPreserveHost On
      proxyPass        /  http://ep6.xyz.com:50000/
      proxyPassReverse /  http://ep6.xyz.com:50000/
      ErrorLog logs/base.80.error.log
      CustomLog logs/base.80.custom.log common
    </VirtualHost>
    Help needed.
    Regards,
    Nilz

    Hi,
    I have a problem with my proxy:
    ssl.conf.in like
    ProxyPass /irj http://debmsu06.server.###.de:50300/irj
    ProxyPassReverse /irj http://debmsu06.server.###.de:50300/irj
    RewriteRule ^/$ /irj/portal [R]
    If I use URL:
    https://bebuyer.###.de/ goto https://bebuyer.###.de/irj/portal
    but if I use
    https://bebuyer.###.de/irj/
    I get the info:
    https://bebuyer.###.de/irj/HTTPS:/bebuyer.###.de:443/irj/index.html
    What is happened? How I can redirect to /irj/portal?
    Of course I can use
    http://debmsu06.server.###.de:50300/irj/
    Could you please give me some tips?
    Best Thanks!
    Heren Zhou

  • Apache Rewrite rule for all backend systems?

    Dear all,
    Could anyone, write and give me the extact working rewrite rule in apache 2.0 for backend systems like R/3 and BW, ICH.
    Paths for bakend systems are as follows.
    R/3= http://r3server.compny.domain.com:r3port/sap/bc/gui/sap/its
    BW= http://bwserver.compny.domain.com:bwport/sap/bw/BEx
    (SSL configured in ICH)
    ICH=http://ichserver.compny.domain.com:ichport/sap/bc/bsp
    Kindly provide the above rules
    Rgds
    PRadeep

    Dear all,
    Could anyone, write and give me the extact working rewrite rule in apache 2.0 for backend systems like R/3 and BW, ICH.
    Paths for bakend systems are as follows.
    R/3= http://r3server.compny.domain.com:r3port/sap/bc/gui/sap/its
    BW= http://bwserver.compny.domain.com:bwport/sap/bw/BEx
    (SSL configured in ICH)
    ICH=http://ichserver.compny.domain.com:ichport/sap/bc/bsp
    Kindly provide the above rules
    Rgds
    PRadeep

  • Configuring a Apache Reverse Proxy for OracleAS Portal and OracleAS Single

    I'm trying to implement my Oracle Portal 10g Release 2 with a reverse proxy (Apache 2.2) as described in this link: http://download.oracle.com/docs/cd/B14099_19/core.1012/b13998/variants.htm#BEIFECEH without success. I have Oracle Portal, Oracle SSO,OID in the same domain and Apache Reverse Proxy in another domain. Has anyone had success using OracleAS Portal with a reverse proxy?

    First of all i'm trying to configure a reverse proxy only for Ora SSO (infra tier). Here is what i already do:
    APACHE REVERSE PROXY (Apache 2.2)
    http:/proxy.mycompany.com:80
    ProxyRequests off
    ProxyPassInterpolateEnv On
    ProxyPass / http:/portal.tech.everett.it:7777/
    ProxyPassReverse / http:/portal.tech.everett.it:7777/
    ProxyPreserveHost On
    ORACLE SSO
    http:/portal.mycompany.com:7777
    Here are the steps i already do:
    1- CONFIG OID
    create an ldif file called setdasurl.ldif and insert as follow:
    dn:cn=OperationURLs,cn=DAS,cn=Products,cn=OracleContext
    changetype: modify
    replace: orcldasurlbase
    orcldasurlbase: http:/proxy.mycompany.com/
    then do ldapmodify as follow:
    ldapmodify -x -h portal.mycompany.com -p 3060 -D "cn=orcladmin" -w password1 -v -f setdasurl.ldif
    2- CONFIG ORA SSO (as gentjan user)
    export ORACLE_HOME=/home/gentjan/product/10.1.2/OracleAS/infra/
    2.1-config Apache config of ORA SSO
    vi $ORACLE_HOME/Apache/Apache/conf/httpd.conf
    change from:
    ServerName portal.mycompany.com
    Port 7777
    KeepAlive On
    to:
    ServerName proxy.mycompany.com
    Port 80
    KeepAlive Off
    and add at the end of httpd.conf
    RewriteEngine On
    RewriteOptions inherit
    2.2- update DCM Repository (as root)
    *$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
    2.3- modify SSO Server Home URL to reverse proxy hostname and port (as root)
    *$ORACLE_HOME/sso/bin/ssocfg.sh http proxy.mycompany.com 80*
    2.4- Updating the targets.xml File
    Open the ORACLE_HOME/sysman/emd/targets.xml file and locate the target type oracle_sso_server.
    vi $ORACLE_HOME/sysman/emd/targets.xml
    Update the HTTPMachine and HTTPPort attributes with the proxy server host and port attributes that were passed to ssocfg. For example:
    Property NAME="HTTPMachine" VALUE="proxy.mycompany.com"
    Property NAME="HTTPPort" VALUE="80"
    Property NAME="HTTPProtocol" VALUE="http"
    Save and close the file.
    Reload the Application Server Control Console by issuing this command (as gentjan):
    *$ORACLE_HOME/bin/emctl reload*
    2.5- Re-register mod_osso on SSO Middle-tier with reverse proxy hostname and port
    some needed permissions
    chmod -R 775 /home/gentjan/product/10.1.2/OracleAS/infra/dcm/
    Re-register mod_osso (as gentjan)
    *$ORACLE_HOME/sso/bin/ssoreg.sh -oracle_home_path /home/gentjan/product/10.1.2/OracleAS/infra -site_name infra.proxy.mycompany.com -config_mod_osso TRUE -mod_osso_url http:/proxy.mycompany.com:80 -update_mode MODIFY*
    2.6- update DCM Repository (as root)
    *$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
    2.7- Restart OC4J_Security and Oracle HTTP Server at Infrastructure tier
    *$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=HTTP_Server*
    *$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=OC4J_SECURITY*
    After this modifications my reverse proxy is ok.
    I can access to http:/proxy.mycompany.com:80 and this redirect me to Oracle Application Server Welcome page.
    If i try http:/proxy.mycompany.com/pls/orasso/orasso.home, i can view the SSO Server Home page.
    The problem that i find is when i click to Login page for Oracle SSO.
    I have the following error:
    Forbidden You don't have permission to access /pls/orasso/ORASSO.wwsec_app_priv.login on this server.
    So, in other words i can't do the login/logout under reverse proxy. Anyone can help?
    Gentjan

  • Recommendations for operations team to run a portal.

    hi,
    We have a NW07 portal that we are handing over to the operations area of IT.  They are asking what the skillsets necessary to run, monitor, administer the portal are.  What should the portal's opperation team look like, what trainings/skills/background should they have.  The portal is heavy KM and workflow centric, with some 30 homegrown webdynpro apps pointing to EEC6 backend, some 7000 users.
    Any idea where I can get this sort of info? Interested to hear your experiences.
    iain

    Hi
    Normaly the Operations team will have to perform the BASIS activities.
    So you should ensure that the Team Contains Experienced/Certified
    Netweaver Consultants which will take up the role of Portal Administration,
    (User and System Admin) , Patch applying, Deploying Applications,
    OS Level Support for Portal  etc.
    Regards
    Rajenda

  • 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

  • Apache reverse proxy setting for access to Backend

    Hi experts,
    we have set up apache reverse proxy to make available our NW portal (and SRM functions)over the internet.
    Our settings look something like this:
    ProxyRequests Off
    <VirtualHost *:80>
         ServerName myportal.portalhosto.com
         ProxyPreserveHost On
         ProxyPass /irj/ http://myportal.portalhost.com:53200/irj/
         ProxyPass /webdynpro/ http://myportal.postalhost.com:53200/webdynpro/
         ProxyPassReverse /irj/  http://myportal.portalhost.com:53200/irj/
         ProxyPassReverse /webdynpro/  http://myportal.portalhost.com:53200/webdynpro/
         ErrorLog logs/myportal.portalhost.com-error.log
         CustomLog logs/myportal.portalhost.com-custom.log combined
    RewriteEngine On
         RewriteRule ^/sap/(.*)$ http://mybackend.backendhost.com:8020/sap/$1 [P,NC]
    </VirtualHost>
    Problem:
    when we access the portal from the internal network(either by using the internal URL or external URL) things work fine.
    But we access the portal from internet, we are able to login to the portal and acess all webdynpro Java related applications.But when we try to acess the BSP/WD abap application running on a backend SRM system, we get 'host not found' message with the INTERNAL url of the SRM backend application displayed.
    Do we need to expose the SRM backend to the outside world via reverse proxy as well?If yes,how?Do we need to change the system definitions in portal for that?
    Any help in resolving this would be greatly appreciated.
    regards,
    Kiran

    Hi,
    Do we need to expose the SRM backend to the outside world via reverse proxy as well?If yes,how?Do we need to change the system definitions in portal for that?
    Yes , you have to expose your backend system using reverse proxy ...
    When user access the portal and when he clicks on BSP/WD , the URL get re-directed to backend system.
    But , as your backend system is not expose on internet , you get an error as host not found.
    So, to solve your problem you have to expose your backend system on internet. It is in general pratice to expose on internet.
    Thanks
    Anil

  • Apache as a reverse proxy for E-recruiting

    We are trying to use apache as a reverse procy for e-recruting. The call to the web proxy is being forwareded correctly but whereas if the page is opened directly on the e-recruiting box it opens a page with a bsp generated logon screen, when using the portal it generates a window dialog for logon and i the get the following message :
    BSP Exception: Das Objekt sap/bc/bsp/sap/hrrcf_start_int/sap/bc/bsp/sap/hrrcf_start_int/application.do in der URL /sap/bc/bsp/sap/hrrcf_start_int/sap/bc/bsp/sap/hrrcf_start_int/sap/bc/bsp/sap/hrrcf_start_int/application.do?sap-client=100&sap-language=EN&BspClient=100&BspLanguage=EN&rcfSpId=0003&rcfContext=LMUGEN ist nicht gültig.
    Has anyone done apache as a proxy for e-recruting who can share an example or offer any advice?
    Thanks

    Hi Richard,
    you can take this link as a starting point: /people/sap.user72/blog/2006/04/18/the-reverse-proxy-series--part-32-apache-as-a-complex-reverse-proxy
    In your case it seems to me that "/sap/bc/bsp/sap/hrrcf_start_int" gets concatenated 2 more times in your URL than it should.
    That looks like a loop resp. an apache directive which gets executed too often.
    regards, Norbert

  • 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

  • Auto Run Program not updating Settlement Rules for few WBS elements

    Hi,
    Addition of settlement rules for OPEX WBS.
    In producion system, two jobs are running daily for generating settlement rules of WBS elements but, all WBS elements are not updating with Settlement rules.
    It is becoming a problem in the Period end while doing the settlement. Currently we are updating the settlement rule manually.
    We have investigated and found the following WBS element with Profile name  are not updating Settlement rule.
    H-U0DU0204DE-EX-J0  - HHDC01
    H-N0U00ULD01-P1-D1-W2 - 000090
    H-U0DU0204DE-EX-U0-T1-OB - HHDC01
    H-U0DU0204DE-EX-U1-W1-ON - HHDC01
    H-U0DU0204DE-EX-U2-W1-ON - HHDC01
    H-U0DU0204DE-EX-I0-E1 - HHDC01
    H-U0DU0204DE-EX-I0-B1 -HHDC01
    H-U1DU0204DE-EX-U0-W1-ON - HHDC01
    Job Names :
    ZFPD_UK_SETTLEMENT_RULE_GEN
    ZFPD_NO_SETTLEMENT_RULE_GEN
    Please suggest on this issue
    Regards

    Hi,
    I suppose these are background jobs. Usually there is an issue with background jobs that are run for a custom developed program. Not sure why that happens. Even i faced this issue with a couple of jobs in my system. I have still not found out the reason as to why this happens. There might be a possibility that these projects were being processed in the foreground by some user and hence they were omitted from the run.
    I would suggest you to consult your technical guys on this.
    Regards,
    Gokul

  • Apache as Reverse Proxy for UWC and Webmail

    Hi,
    for several reasons i want to use apache 2 as reverse proxy and ssl accelerator for UWC.
    internet <-> apache/ssl <-> backend port 80
    I configured my apache with mod_proxy and mod_proxy_html.
    Here are the concerning config lines:
    LoadModule headers_module modules/mod_headers.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadFile    /usr/lib/libxml2.so
    LoadModule  proxy_html_module    modules/mod_proxy_html.so
    ProxyPass / http://backend.domain.com/
    ProxyPassReverse / http://backend.domain.com/
    <Location />
            ProxyPassReverse /
            SetOutputFilter proxy-html
            ProxyHTMLURLMap / /
            ProxyHTMLURLMap http://backend.domain.com:80/ http://webplex.domain.com/
            ProxyHTMLExtended On
            RequestHeader unset Accept-Encoding
    </Location>For Webmail this configuration works most of the time. There are some minor problems in ie with the folder view. But the real problem is: I can't get UWC to work. The problem seems to be that mod_proxy_html can't replace all of the occurences of backend.domain.com in the html pages.
    Especially:
    onsubmit="handleSubmit()" action="http://webplex.domain.com/amserver/UI/Login?goto=http://backend.domain.com:80/uwc/&gotoOnFail=http://backend.domain.com:80/uwc/?err=1&module=LDAP" method="POST">in the uwc login page.
    So my question is:
    Is anybody out there who got apache working as reverse proxy for uwc?
    Thanks a lot.
    PS1:Solaris 10 on V20z, JES2005Q4
    PS2: I already configured UWC with the reverse plugin for sun webserver on backend host so that uwc is working through port 80 only. So there should be no problems arise from that.

    Hopefully, you'll hear from somebody. I have zero knowledge or experience with Apache.

  • How To configure Apache As Reverse Proxy for SharePoint Application

    Hi,
    I recently integrated Apache as ReverseProxy for SharePoint 2010. When accessing the SharePoint application via the reverse proxy url  e.g. http://<reverse-proxy-url>/SitePages/Home.aspx the images/css and JavaScript files does not comeup
    fine.
    I had defined the following mapping in the httpd.conf file.
    ProxyPass /SitePages  http://<actual-url>/SitePages
    <Location /SitePages>
    ProxyPassReverse http://<actual-url>/SitePages
    SetEnv force-nokeepalive 1
    </Location>
    Regards,
    Bunty Ray

    Hi Trevor,
    I did not understand your point. Currently i tried the following in the httpd.conf as well, but still did not help
    ######Mapping SharePoint Server#######
     ProxyPass /SitePages http://<actual-url>/SitePages
     ProxyPass /WebResource.axd http://<actual-url>/WebResource.axd
     ProxyPass /ScriptResource.axd http://<actual-url>/ScriptResource.axd
     <Location /SitePages>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse http://<actual-url>/SitePages
      ProxyHTMLURLMap /SitePages http://<actual-url>/SitePages ec
      ProxyHTMLURLMap http://<actual-url>/SitePages /SitePages ec
     SetEnv force-nokeepalive 1
     SetEnv force-proxy-request-1.01
     SetEnv proxy-initial-not-pooled 1
     </Location>
     <Location /ScriptResource.axd>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse  http://<actual-url>/ScriptResource.axd
      ProxyHTMLURLMap /ScriptResource.axd http://<actual-url>/ScriptResource.axd ec
      ProxyHTMLURLMap http://<actual-url>/ScriptResource.axd /ScriptResource.axd ec
      SetEnv force-proxy-request-1.01
      SetEnv force-nokeepalive 1
      SetEnv proxy-initial-not-pooled 1
      </Location>
     <Location /WebResource.axd>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse  http://<actual-url>/WebResource.axd
      ProxyHTMLURLMap /WebResource.axd http://<actual-url>/WebResource.axd ec
      ProxyHTMLURLMap http://<actual-url>/WebResource.axd /WebResource.axd ec
      SetEnv force-proxy-request-1.01
      SetEnv force-nokeepalive 1
      SetEnv proxy-initial-not-pooled 1
      </Location>
     <Location /_layouts>
      SetOutputFilter INFLATE;proxy-html;DEFLATE
      ProxyHTMLMeta On
      ProxyHTMLEnable On
      ProxyHTMLExtended On
      ProxyHTMLLogVerbose On
      ProxyPassReverse  http://<actual-url>/_layouts
      ProxyHTMLURLMap /_layouts/1033/styles/Themable http://<actual-url>/_layouts/1033/styles/Themable ec
      ProxyHTMLURLMap http://<actual-url>/_layouts/1033/styles/Themable /_layouts/1033/styles/Themable ec
      SetEnv force-proxy-request-1.01
      SetEnv force-nokeepalive 1
      SetEnv proxy-initial-not-pooled 1
      </Location>
    Regards,
    Bunty Ray

  • Is it possible IIS reverse Proxy for WAS ( BSP) ?????

    Hi
    I am able to setup IIS reverse proxy for Portal and other some internal website and it works well from outside the firewall. But for WAS (for BSP application), it repeatly prompt login screen even after gave correct user ID and password when call through proxy. But it work inside firewall.
    So really wonder is it possible to use IIS reverse proxy for WAS?
    Thanks
    Raibin

    Hi Raja
    Thanks for your message. But I already read this same and many other BLOGs. Everything talk about manything. And nothing helped me to find the solution. But friday I found the solution myself and happy to share with you and all others.
    The problem was related to the extra string getting added with in url to replace /bsp/   to   /bsp(xxxxxxxxxxxxx)/ and finally when I put the entry as below in my IISProxy.xml file, everything became OK.
    And I saw so many question related to EP 7.0 for outside access. There is one extra entry we have to put for webdynpro to make EP 7.0 working outside specially for admin screens.
    In the below example 'sapep' is Portal and 'sapecc' is ECC 5.0 server.
    <ISAPI-config version="1.6">
         <filter name="IisProxy filter" />
         <extension name="IisProxy extension" />
         <mapping name="PORTAL">
              <source>
                   <protocol>http</protocol>
                   <prefix>/irj</prefix>
                   <new-prefix>/irj/</new-prefix>
              </source>
              <source>
                   <protocol>http</protocol>
                   <prefix>/logon/</prefix>
              </source>
              <source>
                   <protocol>http</protocol>
                   <prefix>/webdynpro/</prefix>
              </source>
              <target>
                   <protocol>http</protocol>
                   <host>sapep.domain.com</host>
                   <port>50000</port>
              </target>
         </mapping>
         <mapping name="BSP">
              <source>
                   <protocol>http</protocol>
                   <prefix>/sap/</prefix>
              </source>
              <source>
                   <protocol>http</protocol>
            <prefix>/sap(bD1lbiZjPTA5NiZkPW1pbg==)/</prefix>
              </source>
              <target>
                   <protocol>http</protocol>
                   <host>sapecc.domain.com</host>
                   <port>1080</port>
              </target>
         <compress-types>text/html, text/plain</compress-types>
         </mapping>
    </ISAPI-config>
    I hope this will many to solve their problems.
    Thanks
    Raibin

  • What are the rules for keeping things running smoothly

    As my iMac is now a month old and has been burdened with a number of trials, shareware demo, open source, video tutorials and general clutter; what are the basic rules for keeping things running smoothly? My 'log in' is certainly a lot slower although I don't have any apps loading and finder has become much slower with less spring in it's tail. Are there any caches etc that need dealing with? I'm afraid to say I was a bit of a pro at hammering my windows setups till they came to a stand still and I can't bare to see the Mac going the same way. Have I got to be ruthless and limit the number of apps I have installed? The quality of what is available just on apple.com makes it hard for a software addict to stop downloading Any help or just a reality check would be much appreciated....rob

    Hello,
    Mac Maintenance Quick Assist: http://support.apple.com/kb/HT1147
    Great advice here from, "Klaus1" regarding a clutter free Desktop: http://discussions.apple.com/thread.jspa?messageID=7668937#7668937
    Mac Tune-up: 34 Software Speedups
    http://www.macworld.com/article/49489/2006/02/software
    Tuning Mac OS X Performance
    http://www.thexlab.com/faqs/performance.html
    The Top 7 Free Utilities To Maintain A Mac.
    http://mac360.com/index.php/mac360/comments/thetop_7_free_utilities_to_maintain_amac/
    Mac OS X: System maintenance
    http://discussions.apple.com/thread.jspa?messageID=607640
    A good disk utility to empty caches: http://www.apple.com/downloads/macosx/systemdiskutilities/onyx.html
    Use Onyx once a week, run the Maintenance and Cleaning scripts and that will help speed your Mac up pronto.
    Run Disk Utility (Applications/Utilities) once a week and Repair Disk Permissions:
    Launch Disk Utility. Select MacintoshHD in the panel on the left, select FirstAid, then click: Repair Disk Permissions. Quit DU when it's finished and reboot.
    *Tip... very important: Run Disk Utility BEFORE and AFTER all software updates. That will save you headaches down the road.
    You do not need to limit the number of apps installed but one thing to bear in mind. A Mac needs a minimum of 10% available disk space just to boot and it's all too easy fill up a drive and before you know it, you can't open apps, or they open and freeze up, or you can't install software. A good way to keep an eye on available space: Right or control click the MacintoshHD icon on your Desktop, then click: Get Info. In the Get Info window, click the black arrow next to: General so it faces down. You will see: Capacity and Available ... Best best is to always have 15% free drive space.
    Back up your important data every day. If you have a system failure and need to either do an Archive and Install or completely wipe the drive and reinstall your system software, you'll be glad you did.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software.
    Retrospect Desktop (Commercial - not yet universal binary) http://www.dantz.com/
    Carbon Copy Cloner (Donationware) http://www.bombich.com/software/ccc.html
    SuperDuper! (Commercial) http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
    I hope I didn't inundate you with too much too soon, but just do maintenance, keep your Desktop clutter free, and back up your files daily. Once you get into the habit of doing this, it only takes a few minutes a day.
    Carolyn
    Message was edited by: Carolyn Samit

  • 401 Unauthorized: Running portal behind an APACHE reverse proxy

    Hello to all,
    we've got following scenario:
    www <-HTTPS-> APACHE (external SSL termination) <-HTTPS-> portal
    If I call the internal URL (https://backend.xy.de:443/irj/portal) of the portal,
    I'll be redirected to the logon servlet and logon to the portal application is possible.
    Now we set up a APACHE reverse proxy in oder to access the portal from internet.
    I've set up a virtual host:
    <VirtualHost test.xy.de:443>
         <Location />
              ProxyPass https://backend.xy.de:443/
            ProxyPassReverse /
         </Location>
    </VirtualHost test.xy.de:443>
    But now if I call the portal application https://test.xy.de/irj/portal I get the following error:
    Unauthorized
    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
    Any idea how to fix this?
    Regards Christian

    Hello Tobias,
    I have adapted your idea, but without success.
    I've checked the cookies. No cookies are delivered by the J2EE-Server.
    HTTP-ResponseHeader contains following entries:
    HTTP/1.1 401 Unauthorized
    Date: Thu, 26 Jan 2012 08:31:55 GMT
    WWW-Authenticate: Negotiate
    Content-Length: 381
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Content-Type: text/html; charset=iso-8859-1
    But its a bit strange.
    If I call url https://xy.de/index.html the start page will be displayed.
    A log on to system information is possible, but if I try to open the nwa, I get the same error.
    So I think this is a problem with the logon servlet. Sites with basic-authentication work.
    Calling the logon servlet direct https://xy.de/logon/logonServlet I get the same error.
    I don't think, there is a problem with the apache configuration.
    If I change the ProxyPass directive to another J2EE server everything works fine.
    There is only one difference between both system.
    System 1 (error system) is a SAP Netweaver 7.01 SP10
    The other system is a SAP Netweaver 7.02 SP 9
    Regards Christian
    Edited by: Christian Kaiser on Jan 26, 2012 9:53 AM

Maybe you are looking for