URL Encoding Problem When Accessing WebCenter Portal/UCM Files Via Reverse Proxy HTTP Server (Doc ID 1064340.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 to 11.1.1.2.0 [Release 11g]
Information in this document applies to any platform.
***Checked for relevance on 02-Jul-2013***


Symptoms

Files with special characters are not accessible from a WebCenter Portal/UCM application via reverse proxy HTTP server (OHS).

http-404 file not found is shown.

The debug trace of mod_weblogic shows the following:

Tue Feb 16 09:58:37 2010 <2762912663107175> got a pooled connection to server 'hostname/8888/8888' from general list for '/webcenter/content/conn/ucm/path/Cartelle di collaborazione/lino-test/prova 1°/File di per test.txt', Local port:54831
Tue Feb 16 09:58:38 2010 <2762912663107175> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
Tue Feb 16 09:58:38 2010 <2762912663107175> URL::parseHeaders: StatusLine set to [404 Not Found]
Tue Feb 16 09:58:38 2010 <2762912663107175> parsed all headers OK
Tue Feb 16 09:58:38 2010 <2762912663107175> sendResponse() : r->status = '404'
Tue Feb 16 09:58:38 2010 <2762912663107175> canRecycle: conn=1 status=404 isKA=1 clen=5998 isCTE=0
Tue Feb 16 09:58:38 2010 <2762912663107175> closeConn: URL.canRecycle() returns false, deleting URL 'hostname/8888'
Tue Feb 16 09:58:38 2010 <2762912663107175> request [/webcenter/content/conn/ucm/path/Cartelle di collaborazione/lino-test/prova 1°/File di per test.txt] processed successfully..................


Steps to reproduce:
===============

1. Front-end WebCenter Portal with HTTP server (OHS) as reverse proxy. For the WebCenter Portal proxy use the following mod_weblogic syntax:

        <Location /webcenter>
                WebLogicHost    <internal fqdn>
                WebLogicPort    8888
                SetHandler      weblogic-handler
        </Location>

2. Upload a new file to UCM that has at least one non-ascii character.

3. Try to acces it through WLS directly (e.g.):
http://hostname:8888/webcenter/content/conn/ucm/path/Cartelle%20di%20collaborazione/lino-test/prova%201%C2%B0/File%20di%20per%20test.txt

Notice the file gets retrieved successfully.

4. Try to access the same file through OHS, a 404 error occurs.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms