/go/bot turns the malicious-bot block on or off in the Apache or Nginx configuration of a GoAdmio domain. It: The same setting can be chosen when an account is created (see create, –bot). Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Enable bot blocking for one domain
/go/bot example.com Enable
# Disable it for all domains
/go/bot all 0
Options
This command has no -- options, only the two positional arguments above.
| Action value | Result |
|---|---|
1 |
Enable bot blocking |
Enable |
Enable bot blocking |
0 |
Disable bot blocking |
| Anything else, or empty | Disable bot blocking |
Examples
# Enable for one domain
/go/bot example.com Enable
# Disable for one domain
/go/bot example.com 0
# Enable for every hosted domain
/go/bot all 1
Output
The command prints nothing. To check the result, read the flag from the database:
sqlite3 /var/lib/sqlite/site.db "select Domain,Bot from Site"
Bot is 1 when blocking is enabled and 0 when it is disabled.
Each run also adds a line to /var/log/go/bot.log, for example:
[Nov 20 00:10:01]# bot example.com Enable
See the full reference at /go/bot and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
