Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:config:recaptcha [2020/01/23 19:42] George Wang [End-user can define reCAPTCHA Actions Through Rewrite Rules in .htaccess] |
litespeed_wiki:config:recaptcha [2020/05/20 20:25] (current) Shivam Saluja Remove space from RewriteRule |
||
---|---|---|---|
Line 75: | Line 75: | ||
(''SOME-CONDITIONAL-CHECK'' would be a suspicious UA, IP address, etc.) | (''SOME-CONDITIONAL-CHECK'' would be a suspicious UA, IP address, etc.) | ||
- | The end user can even further define the reCAPTCHA action as ''deny'' or ''drop'' in .htaccess through ''[E=verifycaptcha: ACTION]'' | + | The end user can even further define the reCAPTCHA action as ''deny'' or ''drop'' in .htaccess through ''[E=verifycaptcha:ACTION]'' |
For example: | For example: | ||
Line 81: | Line 81: | ||
<IfModule LiteSpeed> | <IfModule LiteSpeed> | ||
RewriteCond SOME-CONDITIONAL-CHECK | RewriteCond SOME-CONDITIONAL-CHECK | ||
- | RewriteRule .* - [E=verifycaptcha: deny] | + | RewriteRule .* - [E=verifycaptcha:deny] |
</IfModule> | </IfModule> | ||
</code> | </code> | ||
Line 90: | Line 90: | ||
<IfModule LiteSpeed> | <IfModule LiteSpeed> | ||
RewriteCond SOME-CONDITIONAL-CHECK | RewriteCond SOME-CONDITIONAL-CHECK | ||
- | RewriteRule .* - [E=verifycaptcha: drop] | + | RewriteRule .* - [E=verifycaptcha:drop] |
</IfModule> | </IfModule> | ||
</code> | </code> |