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
I Turned my iMessages off and now it won't turn on again without saying that wifi or mobile data must be turned on, however my mobile data works fine. How do I get iMessages to turn on again?I had a similar issue with my phone.....it just shut off an [More]
I am able to flag messages without a problem, but when I try to turn those flags off within a few moments it will sync them back to "flagged."  I basically cannot unflag a flagged message.  Connected to an Exchange 2010 server.  Not having any p [More]
Our company uses iPhones for many of the employees, and our reporting system emails spreadsheet reports as attachments to us daily (every day the attachment has the same file name). The previous day's report spreadsheet attachments are getting cached [More]
hi all, i am facing a problem, it seems that there is no option in my Nokia Asha 303 phone to connect it with the WIFI at my university, the security here is shown as WPA2-PSK I searched on the internet but there are only guides for symbian phones, c [More]
CS6 I have created some .dwt. I understand that on pages I create from the template only editable regions can be edited. However I thought if I needed to make a change to the template itself in a non editable region, I could and it would update all a [More]
Hello, My clients wants to migrate about 2000 queries from 3.5 to 7.0 But before starting to do my client wants to make sure all objects are migrated and if there will be any dependencies or if the query result might change due to something. Therefor [More]
hi i would like to know if it is possible to place a file extention in the filename section when you open the save dialog. So as when the user types a file name in the file extention is added automaticly to only allow the user to save in .png. My cod [More]
tell me plsIf your windowsXP is japanese, files in ja.lproj folder need be changed. If your windowsXP is english, files in en.lproj folder need be changed... replace C:\Program Files\Safari\Safari.resources\ja.lproj files with C:\Program Files\Safari [More]
Hi All, I have data in my report like this. Month Sales rsum 01 100 100 02 200 300 03 400 700 05 500 500 Month 04 doesnt have sales so it is not showing in the report that why the rsum is now 500 as it starts the new row with 05 only. The data should [More]
Hello, We have a root CA and subordinate CA in our domain. Both are Windows 2003 physical servers. We use computer certificates on each client to authenticate them against the wireless ntwk. How do i check if my subordinate CA is issuing certs to all [More]