This sould be easy to correct but since I am not handy with the Apache httpd-vhosts.conf commands I would be super happy about some quick help.
My original httpd-vhosts.conf file from a previous development environment looks like this.
<VirtualHost *:80> DocumentRoot "D:/WEB PROJECTS/WWW" ServerName work.webdev ServerAlias www.work.webdev <Directory "D:/WEB PROJECTS/WWW"> AllowOverride all Options Indexes FollowSymLinks <IfDefine APACHE24> Require local Require ip 192.168.188 </IfDefine> <IfDefine !APACHE24> Order Deny,Allow Deny from all Allow from 127.0.0.0/8 localhost ::1 192.168.188 </IfDefine> </Directory> </VirtualHost>
When I, instead of using
<IfDefine APACHE24> Require local Require ip 192.168.188 </IfDefine> <IfDefine !APACHE24> Order Deny,Allow Deny from all Allow from 127.0.0.0/8 localhost ::1 192.168.188 </IfDefine>
simply use
AllowOverride all Options Indexes FollowSymLinks Require all granted
I can access the root and all my projects fine.
However I would like to restrict access to these projects to IP localhost "127.0.0.1" as well as to IPs on the local network starting with "192.168.188....".
How would I have to write this for Uniform Server ZeroXI to accept this please?
I assume this line is the culprit.
<IfDefine APACHE24>
Any help with this is much appreciated.
Thank you.