41
HFS ~ HTTP File Server / Re: reCAPTCHA for hfs?
« Last post by LeoNeeson on October 27, 2023, 09:52:44 AM »I'm using Latest version: 2.3m, using my own computer as server.You could try this...
Press ALT+F6 inside HFS, and then paste any of this:
(choose only one of the following options, testing one by one)
Option #1
Quote
[+request]
{.if|{.!=|%host%|test.mydomain.com.}|{:{.disconnect.}:}.}
Option #2
Quote
[+request]
{.if not|{.or|{.pos|test.mydomain.com|{.header|host.}.}.}|{:{.disconnect.}:}.}
Option #3
Quote
[+request]
{.disconnection reason|Forbidden|if={.not|{.pos|test.mydomain.com|{.header|host.}.}/not.}.}
Replace the text marked in red (test.mydomain.com) with the "subdomain.domain.com" you are using with HFS (this is only an example). Better code or corrections are welcome. This event script is untested (please report back if it works or not, and which option worked better).