Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:config:recaptcha [2019/03/04 19:55] Kevin Fwu [Customizing the Recaptcha Page] |
litespeed_wiki:config:recaptcha [2019/04/01 16:09] Jackson Zhang [How To Enable at the Vhost Level] |
||
---|---|---|---|
Line 34: | Line 34: | ||
Please note that virtual-host-level sensitivity will override the sensitivity set at the server level. | Please note that virtual-host-level sensitivity will override the sensitivity set at the server level. | ||
- | You can enable virtual-host-level reCAPTCHA through rewrite rules or the WebAdmin console. | + | You can enable virtual-host-level reCAPTCHA through rewrite rules for control panel virtual hosts or through the WebAdmin console for LSWS native virtual hosts. |
==== Rewrite Rule ==== | ==== Rewrite Rule ==== | ||
Line 40: | Line 40: | ||
Use one of the following rewrite rule directives: | Use one of the following rewrite rule directives: | ||
- | ''[E=verifycaptcha]'' or ''[E=verifycaptcha: deny]'' | + | ''[E=verifycaptcha]'' or ''[E=verifycaptcha: ACTION]'' |
- | ''[E=verifycaptcha]'' will always redirect to reCAPTCHA until verified. ''[E=verifycaptcha: deny]'' will redirect to reCAPTCHA until **Max Tries** is reached, after which the client will be denied. | + | ''[E=verifycaptcha]'' will always redirect to reCAPTCHA until verified. ''ACTION'' can be ''deny'' to return a 403 or ''drop'' to drop the connection when **Max Tries** is reached. Until Max Tries is reached, the client will be redirected to recaptcha. |
For example: | For example: |