Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modsecurity不能使用waf_block_page配置的拦截返回页面 #114

Open
gongwenbin opened this issue Oct 31, 2022 · 1 comment
Open
Labels
stale No activity over 7 days

Comments

@gongwenbin
Copy link

gongwenbin commented Oct 31, 2022

ngx_waf版本:current
nginx -V:--with-http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-stream --with-pcre --add-dynamic-module=/usr/local/src/ngx_waf --with-compat --with-cc-opt=-std=gnu99

modsecurity不能使用waf_block_page配置的拦截返回页面,默认使用nginx的403页面。

请问这个是否有方法可以使用自定义页面?

waf_action blacklist=403 cc_deny=403 modsecurity=403 verify_bot=403;
将modsecurity配置为403,而不使用fllow时,可以使用自定义返回页面, 但不知道这个有什么后果

@stale
Copy link

stale bot commented Nov 7, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
此 issue 因为最近没有任何活动已经被标记,如果在此之后的一段时间内仍没有任何活动则会被关闭。感谢您对项目的支持。

@stale stale bot added the stale No activity over 7 days label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No activity over 7 days
Projects
None yet
Development

No branches or pull requests

1 participant