Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a client running a WebLogic 11g install on a Windows Server machine who wishes to implement Apache-style mod_rewrite-like functionality to translate requests for easyurl.com to super.complicated.com/with/this/junk?here=and_more. I have scoured the Internet for advice, but all I can find are other people who are asking the same question and not getting any answer. Assuming that installing 3rd-party apps is not an option, how do I implement this in WebLogic?

To clarify, WebLogic is not running with Apache (or else I'd just use mod_rewrite).

share|improve this question
add comment

2 Answers 2

  • If you are using Apache HTTPD with the Apache HTTP Server Plug-In in front of WebLogic, then it should be possible to use mod_rewrite before to send request to WebLogic.

  • If not, then you could use Tuckey's Url Rewrite Filter (a Java Filter) that allows to rewrite URLs in a mod_rewrite like manner at the application server level.

share|improve this answer
    
I saw the filter, but I was trying to avoid third-party solutions (even though it's just a filter add-on to the WebLogic engine, it still needs to be managed and tracked by my client, and the less of that that needs to be done, the better). My problem ended up being simple enough that I used an http redirect, but unfortunately the question itself remains unresolved. –  A. Wilson Sep 7 '10 at 13:33
    
@wilsona The filter is not an addon to WebLogic, the Servlet Filter is part of the application, it's managed by the people developing/packaging/providing the application. –  Pascal Thivent Sep 7 '10 at 17:43
    
Agreed, you should always reverse proxy your Java app-servers with a real web server. –  HampusLi Sep 6 '11 at 7:53
add comment

I had to look into the exact same thing for WebLogic to no avail. There is no URL Rewrite feature in weblogic (or some sort of workaround). The only way to do it is to add code e.g. a java filter to do it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.