Modifying httpd.conf to serve over the internet in EasyPHP Modifying httpd.conf to serve over the internet in EasyPHP apache apache

Modifying httpd.conf to serve over the internet in EasyPHP


Use this code in your httpd.conf

ServerName localdomain# envSetEnv TMP "/tmp"ServerAdmin admin@devserverDocumentRoot "/var/www"#NameVirtualHost *:80#Listen 80################################################################### default<VirtualHost *:80>  DocumentRoot "/var/www"  ServerName localhost</VirtualHost><VirtualHost *:80>  DocumentRoot "/var/www"  ServerName www.localdomain.com</VirtualHost>

** I just realize EasyPHP is for windows. You might use c:/path/to/www instead of /var/www


I just need to add this line

Listen <your machine IP>:<your port>

e.g.

Listen 192.168.1.3:8080

and restart Apache