https://bz.apache.org/bugzilla/show_bug.cgi?id=65279
Bug ID: 65279
Summary: IP blocking rules to access to website are not
respected
Product: Apache httpd-2
Version: 2.4.2
Hardware: PC
Status: NEW
Severity: critical
Priority: P2
Component: All
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hello,
I have the following problem.
I have a website Wordpress hosted on an Apache server managed with cPanel
(Apache version is v2.4 I think but I don't know the exact version 2.4.x used
by my host).
To authorize the access to the website only to a single one IP address, I have
defined the following rule which I have put in the .htaccess file located on
the root folder of the website :
Order Deny,Allow
Deny from All
Allow from 1.2.3.4
After uploading the .htaccess file on the server, effectively, the other IP
addresses than the authorized one are well blocked.
Unfortunately, after going once on the website with the allowed IP address, the
website is now accessible to all IP address, event the not authorized ones. The
rules in .htaccess is not respected.
If I do not go to the website with the authorized IP address, the
non-authorized IP addresses are well blocked and have no access to the website
... until I come back to the website with the allowed IP adress.
I have tried a lot of other variants of this code finds on forums and helps,
but they do not work.
Would you have the solution to this problem ?
Thank you very much
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]