We can changes the access restriction on this files:
- /etc/apache2/apache2.conf
- /etc/apache2/sites-available/default-ssl.conf
We have to add a new entry
<Directory /var/www/html/myTest/>
Order allow,deny
Allow from 192.168.1.10 - It`ll allow the access to pages from 192.168.1.10
Deny from 192.168.1.11 - It`ll deny the access to pages from 192.168.1.11
</Directory>
Validate configuration
sudo apachectl configtest