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
Oracle Database 10g Release 2 10.2.0.1.0 Win32Bit On my computer the Universal Installer that comes with the 10201_database_win32.zip Download fails at startup. I try the the setup.exe and the oui.exe in the "install" subdirectory, but i get the [More]
Hello I have an InDesign file that has been saved as an interactive pdf.  There are several .psd files in the document.  (selected objects with the surrounding area made transparent).  I have been opening the file in Adobe Reader (on a PC), and didn' [More]
When I am speaking on my Curve it will start to Buzz in the back ground and then shortly it will completely shutdown and then it goes thru a reboot. Does anyone have any ideas? Solved! Go to Solution.Hi and welcome to the forums! I would check two th [More]
I was working on something in After Effects, basically just audio and video clips. Editting really. I decided one part would be faster in Premiere so I exported a Premiere project of it.  When I try to load it in premiere I get an error "The project [More]
Hi all, When using the package (using /CPMB/CLEAR) to delete data and comments (TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,ENABLETASK,1)), there seems to be a problem to delete comments when using a multiple member selection. When selecting <all> or a sing [More]
After the latest Firefox upgrade to 22.0, I can no longer print shipping labels from ebay or PayPal. For ebay, I can print the invoice and for PayPal I can print the total charge paper. However, no pop-up shows when I go to print the actual shipping [More]
Hi, Can anybody provide the complete documentation link or documents related to ALV? thanks in advance kpYou will lot of sample reports using the following transactions: - SE83 (reuse library) - DWDM (development workbench demos) The sample reports ( [More]
Hello friends, i m facing a problem. FBCJ accepts GL having post automatically field is active means manual posting is restricted for such GL then FBCJ it gets posted. What should be the reasong for it? How can i restrict it that in FBCJ GL with post [More]
I mostly use my Macbook running on the power adapter and was told that this would kill the battery if left in the laptop. Is this true?welcome to macbook forum. the answer is no, if you use the battery occasionally to keep the juice flow, and or cali [More]
It would be nice to lock the screen during a call preventing unnecessary muting and disconnecting of calls. At least redesign the keypad to have the MUTE button on the right side so the chin doesn't touch the mute button during a call.roaminggnome wr [More]