xampp

Posted by Shari

Access from network

For security reasons I change all Allow from all's to
Allow from 127.0.0.1 when installing the xampp server.
I believe this keeps all my files accessible only from a local computer.

xampp\apache\conf\httpd.conf
Add the line
Listen 192.168.0.1:80
where the ip is the ip of the xampp machine

xampp\apache\conf\extra\httpd-vhosts.conf
Add the line
NameVirtualHost 192.168.1.1:80
where the ip is the ip of the xampp machine

Change the line Allow from 127.0.0.1 to
Allow from 127.0.0.1 192.168.0.2
where the ip is the ip of the networked computer