AussieDave
24 years & still going!
- Joined
- Nov 28, 2013
- Messages
- 5,103
- Reaction score
- 3,607
These days instead of developing a site locally using xampp on my PC, I instead setup the domain, point it to my server, and deny access from everyone, other than my static ip. I also use this method when sites are live, to keep everyone out (other than myself) from certain directories. EG - wp-admin.
However, just discovered that with the update to Apache 2.4, the old method:
order deny,allow
deny from all
allow from xxx.xxx.xxx.xxx
Has been updated to a new syntax, and the aforementioned is not working anymore. Hence, some of my security sheilds are down.
The Apache help pages have examples, but can't seem to get my head around converting the above (old) syntax to the new, and require Apache 2.4 syntax.
Does anyone know how the above should be formated for Apache 2.4?
Thanks
However, just discovered that with the update to Apache 2.4, the old method:
order deny,allow
deny from all
allow from xxx.xxx.xxx.xxx
Has been updated to a new syntax, and the aforementioned is not working anymore. Hence, some of my security sheilds are down.
The Apache help pages have examples, but can't seem to get my head around converting the above (old) syntax to the new, and require Apache 2.4 syntax.
Does anyone know how the above should be formated for Apache 2.4?
Thanks
Last edited: