Hi,
I'm trying to learn PHP/MySQL and have installed Apache on my PC to act as
my server.
All is well until I try to set up virtual directories to hold each of the
websites I create so that I access them by using
http:// sitename, but all I
get when when I type the http address in a Web browser is an error 404 -
page not found.
I've edited the httpd.conf file as follows:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster.RemoveThis@site_name_here.co.uk
DocumentRoot /websites/site_directory_here/
ServerName site_name_here
</VirtualHost>
and the Windows HOSTS file to include:
127.0.0.1 site_name_here
and restarted the Apache server - to no avail.
What am I doing wrong? All help gratefully recived!
Thanks.
Tony.