Sitemap

Amicuk Programming Answers

Sun Web Server Reverse Proxy and Weblogic HTTP to HTTPS redirection

2015-10-11   Views:1

Advertisement

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 W

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

The replay answer
Advertisement
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>

Go to See the other 9 answers

Sun Web Server Reverse Proxy and Weblogic HTTP to HTTPS redirection

Category:DefaultRelease time:2015-10-11Views:130

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 W[More]

How do I use Sun Web Server 7.0u1 reverse proxy to change public URLs?

Category:DefaultRelease time:2015-10-11Views:130

Some of our installations use the Sun Web Server 7.0 (update 1, usually) for hosting some of the public resource and reverse-proxying other parts of the URI namespace from other backend servers (content, application and other types of servers). So fa[More]

How to do auto URL redirect in sun web server ?

Category:DefaultRelease time:2015-10-11Views:130

Hi, i need to do auto url redirect in my sun web server. Currently i'm setup some rules for the reverse proxy in obj.conf file and the syntax looks like: <Object name="reverse-proxy-/test"> <If $internal and $uri =~ "index.html&quo[More]

Deploying an ear file in Sun Web Server

Category:DefaultRelease time:-0001-11-30Views:130

I have an ear file that we use to deploy to weblogic. Is it possible to deploy an ear file to Sun WEb Server 6.0? Instead of deploying the war files one-by-one? If yes, what are the steps? Thanks. BethNo, Sun ONE Web Server does not support ear files[More]

Sun Identity Server 6.1 with Weblogic 8.1 sp2

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I've installed the IS 6.1 with WLS 8.1 sp2 and the agent 2.1.1 and followed the agent configuration guide to configure the xml files (web.xml and weblogic.xml) and agent authenticator. When I login to the restricted resource, the browser is redir[More]

Using Sun Web Server 6.1 from the IDE

Category:DefaultRelease time:2015-10-11Views:130

Using JSE 8 with Sun Web Server 6.1 set as the target container, I have a SUNWS61deployment.xml file created. That didn't exist in JSE 7. Is it WS 6.1 SP4 or SP5 -related ? I also have ws61-sun-web.xml with a simple <sun-web-app/> tag (empty deploym[More]

Need help with URL Redirect in Sun Web Server 7 u5

Category:DefaultRelease time:2015-10-11Views:130

All I am trying to do is redirect to a static URL and for the life of me I can not get it to behave the way I would expect. I am new to Sun Web Server so I am just trying to use the Admin Console to set this up. Here is what I'm trying to do: Redirec[More]

Replace Quotes, Connection Pooling, and Sun Web Server with MySQL, Oracle

Category:DefaultRelease time:2015-10-11Views:130

This is code I use to insert data into my MySQL and Oracle databases. I takes care of quotes and shows use of context, i.e. when you use Sun Web Server's ConnectionPooling. This code works. Feel free to reply if you have questions on how to set up co[More]

Error message when deploying war file to sun web server 6.1

Category:DefaultRelease time:2015-10-11Views:130

i've been trying to deploy an application developed locally in tomcat to a local install of sun web server 6.1, and can't seem to get it to work. the error message i am getting now is: [05/Dec/2008:12:44:08] config ( 1640): for host xxx.xxx.xxx.xx tr[More]

Annoucing a few complimentary copies of Sun Web Server: Essentials Guide

Category:DefaultRelease time:-0001-11-30Views:130

Dear Sun Web Server user, As you may have heard, found it on amazon.com or stumbled on it in the local book store like Borders or Barnes & Noble, there is a new book on Sun Web Server technology. If you haven't, no worries. Please refer to [t-5406033[More]

Best way to use Sun Web Server connection pooling with Web Application?

Category:DefaultRelease time:-0001-11-30Views:130

I have a number of applications that run Oracle and MySQL queries via Sun Web Server 6.1. I use the Web Server's built-in connection pooling, which works fairly well. As an interface with the connections I receive from the Web Server, I use a class,[More]

Hot
My functional people are getting this error along with CX_SY_IMPORT_MISMATCH_ERROR.  The problem is occurring in CL_HR_PAY_RESULT_US - IMPORT_FROM_TABLE.   The reason for the exception is:                                    When attempting to import [More]
Hi , I have a sql report. I am trying to export the result out of report into excel or csv, I haven't able to do so. I have enabled the csv export and print attribute, but no luck so far. http://apex.oracle.com/pls/otn/f?p=42530:13:1118371086830313:: [More]
We have an Xserve (Xserve 2.1) with two 1TB internal drives. Drive 1 is configured as the root drive and has users' home directories. Drive 2 is configured as a backup. Under Leopard, we used Time Machine to backup drive 1 to drive 2. All worked well [More]
First off, I'm a newbie and am using dvdsp for the first time. I have a 45 min video I created in FCP. When I exported the project to a Quicktime movie DVDSP would not recognize it or import it (msg - incompatible format). I exported using the option [More]
Hi all, Can we display the output as script form by using function module reuse_alv_grid_display_lvc.u can use the PRINT button above in the output...Read other 3 answers [More]
Can anyone tell me why there is such a large difference between the price of an iPod in the US and Australia. The Aust$ is close to parity with the US$ and yet the difference in price is quite substatial, what gives Apple?Because prices are not deter [More]
Hello, In transaction FBZP I have a house bank with three account ID. My client wants to pay with tha same payment method, the same currency and the same house bank ( but sometimes with one accountID and others time with different account ID). In ord [More]
Hi , Once after logging in the database,how is it possible to know the current database and schema which we r using?Is there any system table where we can get the database names and schema names? please help me out.itz urgent. Regards, SravanProbably [More]
Hi All, I am developing an extension using Adobe Flash Builder 4.6, extension builder 2.1. The extension requires creating a zxp bundle. I was able to create a zxp bundle that includes 10 zxp files. The intallation was successfull too. The problem ca [More]
I have many accounts in my MAIL, they all open easely except one, since I upgraped to LION. When I click on a message I just receive on this account, the grey wheel turns for loading and nothing is ever displayed... Exceptionaly, another time, messag [More]