0 Replies Latest reply on Oct 4, 2013 11:01 AM by Ashok Kumar Chava-Oracle

    ErrorDocument config is not working

    Ashok Kumar Chava-Oracle

      We are trying to setup ErrorDocument setup in OHS config file. Following is the config details


      RewriteEngine On

      RewriteCond %{REQUEST_URI} ^/us/*

      RewriteRule ^/(.*) /cs/Sites?lookuppage=$1&lookuphost=http://www.abc.com [QSA,PT]

      ErrorDocument 404 http://anc.abc.com/us/products12/cycle/two/404Page.html



      With the above configuration if a user tries to access a URL http://anc.abc.com/us/simple/test.html a non-existing page then we are not seeing a error page. But if a user tried something like  http://anc.abc.com/texasdsga.html then the 404 error page show. Its clear that the error page not working because of the Rewrite rule we got, is there anyway to fix this and make the error page work for the URLs like http://anc.abc.com/us/simple/test.html.

      Please let me know if you need more details.