Jump to content


Photo

HELP!


  • Please log in to reply
1 reply to this topic

#1 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 16 October 2006 - 01:55 PM

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?
follow me on twitter @PHPsycho

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 16 October 2006 - 06:44 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users