ToonMariner Posted October 16, 2006 Share Posted October 16, 2006 Hi,Installing php 4.4.4 mysql 4 and apache 2.0.59 on my machine so its a developer environment (mimics the set up on the live server) win xp pro with all updates.....NOW I have this set up on my machine at home ands it fine so I'm just annoyed here.I set up the conf file so that I have some virtual hosts like so....<VirtualHost 127.0.0.1> ServerAdmin toonmariner@hotmail.com DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/ngc" ServerName www.ngc.dev #ErrorLog logs/dummy-host.example.com-error_log #CustomLog logs/dummy-host.example.com-access_log common</VirtualHost><VirtualHost 127.0.0.1> ServerAdmin toonmariner@hotmail.com DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/phpmyadmin" ServerName www.phpmyadmin.dev #ErrorLog logs/dummy-host.example.com-error_log #CustomLog logs/dummy-host.example.com-access_log common</VirtualHost>AND I have edited the hosts file in winodows/system32/driver/etc to this...127.0.0.1 localhost127.0.0.1 www.ngc.dev127.0.0.1 www.phpmyadmin.devbut the bloody think aint working AT ALL!!! never finds a page if I put localhost, www.ncg.dev or www.phpmyadmin.devPLease help - what have I forgot? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 16, 2006 Share Posted October 16, 2006 get rid of the www.'s in the hosts file and urls just use the hostname phpmyadmin.div and ngc.devAlso restart your PC when you ahve edited the hosts file too. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.