AW: [users@httpd] Reverse Proxy Again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
 
Hi Franky,
with a SAP Portal in the background you have to send back more 
[i used hier only "irj" because the next contexta in the uri 
which the portal wants are "portal" / "portalapps" /"go" and "servlet"
.<snip>
ProxyRequests Off
ProxyPass        /irj http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPassReverse /irj http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPass        /logon http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPassReverse /logon http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPass        /webdynpro http://www.domain.com:50000/webdynpro <http://www.domain.com:50000/webdynpro> 
ProxyPassReverse /webdynpro http://www.domain.com:50000/webdynpro <http://www.domain.com:50000/webdynpro> 

# and because the portal sends sometimes some garbled headers
# than put this directive in your config, too
ProxyBadHeader         Ignore
<snip>...


With your "dev" inthe path than it should be

ProxyPass        /dev/irj http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPassReverse /dev/irj http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPass        /dev/logon http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPassReverse /dev/logon http://www.domain.com:50000/irj <http://www.domain.com:50000/irj> 
ProxyPass        /dev/webdynpro http://www.domain.com:50000/webdynpro <http://www.domain.com:50000/webdynpro> 
ProxyPassReverse /dev/webdynpro http://www.domain.com:50000/webdynpro <http://www.domain.com:50000/webdynpro> 

You can easily find out what the portal sends to you if you use "tamper Data" inside Firefox or with a little bit more work "iehtttpheaders"

bye

Oliver 
________________________________

Von: Franky Ronaldy [mailto:franky.ronaldy@xxxxxxxxx]
Gesendet: Do 12.01.2006 09:32
An: users@xxxxxxxxxxxxxxxx
Betreff: [users@httpd] Reverse Proxy Again



Hi,

I am quite new for reverse proxy. I need some advice from expertise
here. I have to configure apache as a reverse proxy with SAP portal at
the backend. My apache run in linux ES 3 with apache version 2.0.46.

I have configured httpd.conf to act as a reverse proxy as following:

.<snip>
ProxyRequests Off
ProxyPass /dev http://www.domain.com:50000/irj/portal
ProxyPassReverse /dev http://www.domain.com:50000/irj/portal
<snip>...

I can see the login page from http://www.domain.com:5000/irj/portal
but without image, css, etc.... so I add two more lines inside
httpd.conf as following

.<snip>
ProxyRequests Off
ProxyPass /dev http://www.domain.com:50000/irj/portal
ProxyPassReverse /dev http://www.domain.com:50000/irj/portal
ProxyPass / http://www.domain.com:50000/irj/portal
ProxyPassReverse / http://www.domain.com:50000/irj/portal
LogLevel debug
<snip>...

After restart apache, I can see everything included all images,  css
so on and so forth. But I can't login to the SAP portal.

My confusion whether is there anyway I can traceroute the requests
coming into apache until it comes back to apache from the backend?

Eventhough I check the error log I did not find any clues why I can't
login into the SAP portal at the backend.

Thanks in advanced for any advice.

--
Regards,
Franky

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



<<winmail.dat>>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux