Replace 403 with 404 error codes

I'm trying to replace all 403 error codes with 404's.

We use weblogic plugi-in and would like to override the default behavior of iplanet so that ALL 403 error codes are overridded with 404's.

The 'deny-existence' always sends back a 404 no matter what so if i put a deny-existence /*, the entire website is locked out.

A send-file sends a user-definded file back to the browser but the header is still a 403.

Any help would be appreciated.

thanks,

http://docs.sun.com/source/817-6248/crobjsaf.html#wp1010251

[556 byte] By [mlizzle2] at [2007-11-26 7:55:10]
# 1
did you try using 'send-error' http://docs.sun.com/source/817-6248/crobjsaf.html#wp1012163
chilideveloper at 2007-7-6 20:18:53 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
Could just use a Client tag and an Output filter:<Client code="403">Output fn="set-variable" error="404" noaction="true"</Client>
JoeMcCabe at 2007-7-6 20:18:53 > top of Java-index,Web & Directory Servers,Web Servers...
# 3
thanks, I tried that but it still doenst work...
mlizzle2 at 2007-7-6 20:18:53 > top of Java-index,Web & Directory Servers,Web Servers...
# 4

Got it working finally with SunSupport:

on with webserver 6.1sp3+

<Client code="403">

Output fn="set-variable" error="404" noaction="true"

</Client>

Error fn="send-error" code="403" path="/apps/SUNWwbsvr/SP6/WebServer/docs/404Message.html"

and if you have weblogic server behind it:

in weblogic/websphere WEB-INF/web.xml:

<web-app>

<error-page>

<error-code>403</error-code>

<location>/404Message.html</location>

</error-page>

</web-app>

mlizzle2 at 2007-7-6 20:18:53 > top of Java-index,Web & Directory Servers,Web Servers...