Jump to content

Archived

This topic is now archived and is closed to further replies.

ToonMariner

HELP!

Recommended Posts

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 localhost
127.0.0.1 www.ngc.dev
127.0.0.1 www.phpmyadmin.dev

but the bloody think aint working AT ALL!!! never finds a page if I put localhost, www.ncg.dev or www.phpmyadmin.dev

PLease help - what have I forgot?

Share this post


Link to post
Share on other sites
get rid of the www.'s in the hosts file and urls just use the hostname phpmyadmin.div and ngc.dev

Also restart your PC when you ahve edited the hosts file too.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.