xampp disable web acces to others [ 802 views ]
Goal: disable xampp web access to everybody else
Filter by IP address like this in the file httpdxampp.conf
Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var # add this -> Order Deny,Allow Deny from all Allow from 192.168.0.2 # your server ip # like this </Directory>
to disable the dashboard directory:
<Directory "C:/xampp/htdocs/dashboard"> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var Order Deny,Allow Deny from all Allow from 192.168.0.2 </Directory>