@sergey9999
Check your web server error_log for any errors.
dwinden
This is log at once after error. What this means?
[Fri Apr 15 12:02:59.059234 2016] [core:alert] [pid 9229] [client *my ip*] /home/*mysite*/*mysite*/docs/.htaccess: Unknown Authz provider: ip, referer: http://*mysite*/wp-admin/admin.php?page=toplevel_page_itsec_settings&settings-updated=true
[Fri Apr 15 12:02:59.288386 2016] [core:alert] [pid 9230] [client @my ip@] /home/*mysite*/*mysite*/docs/.htaccess: Unknown Authz provider: ip, referer: http://*mysite*/wp-admin/admin.php?page=toplevel_page_itsec_settings
[Fri Apr 15 12:03:01.940305 2016] [core:alert] [pid 9248] [client @my ip@] /home/*mysite*/*mysite*/docs/.htaccess: Unknown Authz provider: ip, referer: http://*mysite*/wp-admin/admin.php?page=toplevel_page_itsec_settings
[Fri Apr 15 12:03:02.124732 2016] [core:alert] [pid 9250] [client @my ip@] /home/*mysite*/*mysite*/docs/.htaccess: Unknown Authz provider: ip, referer: http://*mysite/wp-admin/admin.php?page=itsec
[Fri Apr 15 12:03:04.190525 2016] [core:alert] [pid 9247] [client @my ip@] /home/*my site*/*my site*/docs/.htaccess: Unknown Authz provider: ip
[Fri Apr 15 12:03:04.817838 2016] [core:alert] [pid 9975] [client @my ip@] /home/*mysite*/*mysite/docs/.htaccess: Unknown Authz provider: ip, referer: http://mysite*.com/wp-admin/admin.php?page=itsec
@sergey9999
Make sure the mod_authz_host module is loaded by the Apache web server.
According to the Apache 2.4.x online docs:
Apache’s Require directive is used during the authorization phase to ensure that a user is allowed or denied access to a resource. mod_authz_host extends the authorization types with ip, host, forward-dns and local.
If the above info helps you solve this issue please mark this topic as ‘resolved’.
dwinden
Look at my settings. Is it right module which place at the top on a first screenshot? These link go to image online:
1) https://yadi.sk/i/bXiZFSAPr2QJn
2) https://yadi.sk/i/N4a2ovbEr2QJs
So, when i delete code (about ban users) from .htacces, site is work normal.
What do you think about other solutions?
@sergey9999
No, that is not the right module. And there is only one solution.
Try this. Create a temporary list_loaded_modules.php file and add these 5 lines of code:
<?php
echo '<pre>';
print_r(apache_get_modules());
echo '</pre>';
?>
Put the list_loaded_modules.php file on your server in the public html folder. Then access the script like this:
http://www.yourdomain.com/list_loaded_modules.php
The result should look similar to this:
Array
(
[0] => core
[1] => http_core
[2] => mod_so
[3] => sapi_apache2
[4] => mod_mime
[5] => mod_rewrite
[6]
…
If mod_authz_host does not exist in the list contact your hosting provider and ask them to load the mod_authz_host module in Apache.
Hopefully they will help you and make the necessary change to the Apache configuration.
Use the list_loaded_modules.php script to doublecheck.
Once the mod_authz_host module is loaded in Apache don’t forget to delete the list_loaded_modules.php script from your server.
dwinden
So unfortunately our top hosting provider reply me that he have not this module and can not download it. Thank you for your help, and i hope this solution helps other people.
Mark as resolved.