Oracle WebCenter Sites (MOSC)

MOSC Banner

Vanity Urls with mod_rewrite not working

edited Apr 15, 2016 5:12AM in Oracle WebCenter Sites (MOSC) 1 commentAnswered

Hi all.

I install oracle webcenter sites 12.2.1.0.0 on linux and oracle OHS 12 12.1.3.0.0 on linux.

My oracle webcenter site working on link 192.168.57.104:7003/sites/Sites?lookuphost=/&lookuppage=ca_nhan

I configured ohs using follwing config. This configure follow guide : http://docs.oracle.com/cd/E29542_01/doc.1111/e29636/config_vanity_url.htm#WBCSA7532

RewriteEngine On
RewriteRule ^(.*)$ /sites/Sites?lookuphost=/&lookuppage=$1 [L]
RewriteLog /tmp/rewritelog.txt
<Location /sites>
        SetHandler weblogic-handler
        WebLogicHost 192.168.57.104
        WeblogicPort 7003
</Location>

When i access <ohs-host>:7777/ca_nhan error 404 not found and

i can't access link <ohs-host>:7777/sites/Sites?lookuphost=/&lookuppage=ca_nhan

Thank you!.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center