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 have windows 7 release candidate on my old desktop and this newish notebook. Windows DVD maker works fine on the desktop but on this Lenovo 3000 N200 it will not recognize the built in dvd drive. I have checked with Device Manager and the software [More]
The logic board on my G5 (was running Tiger) quit working so I am enjoying a new late 2009 21.5" iMac. The documents were transferred from the drive as a part of the one to one program but I'd like to see other stuff on the drive. I put the old G5's [More]
I need to know if it is possible to put a link (hyperlink) on a row in a report via a form or other method. The link will be different for each row. I know you can add a column link but this will be the same link for each row. I also know its possibl [More]
i am sitting in australias and got my mum in NZ to phone my NZ skype number with  09 xxx xxx4 and it just rang off to nuthing, i then rang from my mobile 0064 9 xxx xxx4 and it also rang off to no where can anyone tell my why it doesnt work, or why a [More]
Wondering if anyone can advise on experience with using a tv as a monitor? I don't believe Mac make just a monitor for this purpose do they?it's ok, highly pixelated, meaning you will see pixels. I would say its great to watch videos, but any reading [More]
I am using the library filter in Lightroom 5. I have flagged some photos and want to use the filter to find these photos. The filter is including both the flags and the star rating. I only want to search the flags and don't know how to stop the filte [More]
We are facing an issue in our application where [ Uncommitted Data Warning |http://www.oracle.com/technetwork/testcontent/unsaveddatawarning-096556.html] doesnot seem to work for input fields on which autosubmit is turned to true. Once I unset thye a [More]
Updated my phone last night removing photos and adding new music, all was fine and I had a good 2 or 3 gig spare. Tonight I update my software as per the notice from Applie saying it's available, and now I'm using 3.7 gig on Other? What on earth have [More]
I want  to use iWeb instead of Adobe GoLive for my website. Can I "convert" this website made with GoLive to instead using iWeb? Thanks!No but you might try Flux. It can open existing websites and is a very good alternative to iWeb which has bee [More]
Hi, are there any products or modules for CRM in Oracle E_BUSINESS suite (Oracle APPLICATIONS)? If yes which ones ? Many thanks.Anything is Sales/Marketing/Service is generally considered CRM. The following modules are available in the latest release [More]