I have more than one project on the go. But they are all in a folder called C:/develop
So I have project1 at
C:/develop/project1/www
And I have project2 at
C:/develop/project2/www
The root of the projects must be in the www folder, C:/develop or C:/develop/project1 won't do.
But I don't have the hosting set correctly.
This is what I have
in httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "c:/develop/project1/www"
ServerName hotcosta
ErrorLog "c:/develop/error.log"
CustomLog "c:/develop/access.log" common
</VirtualHost>
and this in httpd.conf
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# DocumentRoot "C:/Program Files (x86)/EasyPHP-DevServer-14.1VC11/data/localweb"
DocumentRoot "C:/develop"
but a call in the browser to
[project1]
gives me the same page as
[localhost]
Does anyone have any suggestions as to what I have done wrong?
So I have project1 at
C:/develop/project1/www
And I have project2 at
C:/develop/project2/www
The root of the projects must be in the www folder, C:/develop or C:/develop/project1 won't do.
But I don't have the hosting set correctly.
This is what I have
in httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "c:/develop/project1/www"
ServerName hotcosta
ErrorLog "c:/develop/error.log"
CustomLog "c:/develop/access.log" common
</VirtualHost>
and this in httpd.conf
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# DocumentRoot "C:/Program Files (x86)/EasyPHP-DevServer-14.1VC11/data/localweb"
DocumentRoot "C:/develop"
but a call in the browser to
[project1]
gives me the same page as
[localhost]
Does anyone have any suggestions as to what I have done wrong?