[mod-security-users] SecFilterSelective OUTPUT problem
Brought to you by:
victorhora,
zimmerletw
|
From: Eric <e3...@gm...> - 2006-03-30 16:20:50
|
Hi, I am currently using apache as a proxy for serving content from a backend application server. I am using modsecurity to send requests for non-existent pages to a custom 404 page. The command that I am using is SecFilterSelective OUTPUT "..." "log,status:404" with the 404 as a custom page I define with ErrorDocument 404 /404/error/page. And it seems to be catching the rule fine. The problem that I am having is what Error Page is returned. When the content is comming from apache the Custom error page is returned, but when the content is coming from the app server the default 404 message is displayed. In both cases the SecFilter rule is catching the "..." correctly, but its just not displaying the custom 404 page. Any ideas why the custom page is not being displayed? Thanks. -Eric |