We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

block spam bot with oxwall | Forum

Topic location: Forum home » Support » General Questions
ben
ben Aug 26 '14
I try to block spam bot with nginx oxwall rewrite rule that available on docs.

the problem is with oxwall is not working, they still access the site. Im also running wordipreeess on same server and with wordipreeess it is working fine.

you know wordipreeess is

I try to figure t out what is happening with this oxwall nginx rule,

#RewriteCond %{REQUEST_URI} !^/index\.php #RewriteCond %{REQUEST_URI} !/ow_updates/index\.php #RewriteCond %{REQUEST_URI} !/ow_updates/ #RewriteCond %{REQUEST_URI} !/ow_cron/run\.php #RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC] #RewriteRule (.*) index.php if ($uri !~ "^/index.php"){ set $rule 1$rule; } if ($uri !~ "/ow_updates/index.php"){ set $rule 2$rule; } if ($uri !~ "/ow_updates/"){ set $rule 3$rule; } if ($uri !~ "/ow_cron/run.php"){ set $rule 4$rule; } if ($uri ~ "(/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/[^.]*)$"){ set $rule 5$rule; } if ($rule = "54321"){ rewrite /(.*) /index.php last; }
        if ($http_user_agent ~* aBot|bbot|cbot|dbot){
                return 403;
        }

that config are not working, need suggestion:))
The Forum post is edited by ben Aug 26 '14
ross Team
ross Aug 26 '14