ImpactShop Posted June 30, 2020 Share Posted June 30, 2020 Hi all, I'm having a problem where all Dutch IP adresses (Netherlands) are getting a 403 forbidden error. Store is a Clothing store so nothing crazy. Geolocation is turned off. Dutch IP's are the only ones I know of for the moment and has been happening for a couple months now. Any ideas where I can look next? PS V1.7.4.2 www.impactshop.fr Thanks in advance Link to comment Share on other sites More sharing options...
Prescol Posted June 30, 2020 Share Posted June 30, 2020 Have you checked if there is some kind of restriction in your hosting provider? Link to comment Share on other sites More sharing options...
ImpactShop Posted July 2, 2020 Author Share Posted July 2, 2020 yep I've checked with hosting, looked through the .htaccess file, checked the geoip folder (/app/Resources/geoip/) just to be sure. Dont have any other modules installed that could impact ip address blocking... I'm out of ideas Link to comment Share on other sites More sharing options...
Prescol Posted July 2, 2020 Share Posted July 2, 2020 The server logs should display the origin of 403. At leas to know if it comes from Apache, Php or other service. Link to comment Share on other sites More sharing options...
ImpactShop Posted July 3, 2020 Author Share Posted July 3, 2020 (edited) Ok, so I used a vpn to get a NL IP address, looked in logs and found these errors. trying to figure them out now. [Fri Jul 03 14:53:46 2020] [access_compat:error] [pid 8728] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ [Fri Jul 03 14:53:47 2020] [access_compat:error] [pid 8759] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/favicon.ico, referer https://www.impactshop.fr/ [Fri Jul 03 14:53:47 2020] [access_compat:error] [pid 8728] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/admin641rjcdt0/ajax.php, referer https://www.impactshop.fr/xxxxxxxx/index.php?controller=AdminWebservice&token=xxxxxxxxxxxxxxxx [Fri Jul 03 14:53:50 2020] [access_compat:error] [pid 8759] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ [Fri Jul 03 14:53:52 2020] [access_compat:error] [pid 8759] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ [Fri Jul 03 14:53:52 2020] [access_compat:error] [pid 8728] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ [Fri Jul 03 14:53:53 2020] [access_compat:error] [pid 8728] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ [Fri Jul 03 14:53:54 2020] [access_compat:error] [pid 8728] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ [Fri Jul 03 14:53:55 2020] [access_compat:error] [pid 8759] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ [Fri Jul 03 14:53:56 2020] [access_compat:error] [pid 8728] [client 178.62.196.204:0] AH01797: client denied by server configuration: /home/www/prestashop/prestashop/ Edited July 3, 2020 by ImpactShop (see edit history) Link to comment Share on other sites More sharing options...
ImpactShop Posted July 3, 2020 Author Share Posted July 3, 2020 Ok so I activated the Webservice in the PS admin panel and seems to be working now. Any idea why? I'm somewhat new to Prestashop so sorry for the noob questions. Link to comment Share on other sites More sharing options...
Prescol Posted July 4, 2020 Share Posted July 4, 2020 As the error logs says: the server was blocking certain ips because its own configuration. If it is an managed hosting is probably that some geoip rules were misconfigured. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now