Hi all
Well, yesterday I downloaded and installed wampserver2.2c-x64 on my new Win7 64bit config.
All works as advertised up to a point. I would like to congratulate and thank the developers for this neat creation which takes a considerable amount of time out of what would be required to install Apache, PHP, MySQL and phpMyAdmin.
I have so far been successful in setting up a couple of sites under C:\wamp\www
My question concerns the use of vhosts. I have setup a site as follows in http-vhosts.conf
<VirtualHost *:80>
DocumentRoot "C:/vhosts/test-site-1"
ServerName test-site-1
</VirtualHost>
This test site includes a single file - index.php which includes the phpinfo(); call on PHP.
I have removed the comment in the line shown below
Include conf/extra/httpd-vhosts.conf
in the httpd.conf file,
Another thing I have done is to edit the index.php file in c:\wamp\www to point to my vhosts directory which is at c:\vhosts Therefore the line 20 now is:
$vhostsDir = '../../vhosts/';
I restarted Apache, then when I attempt to visit the site directly in the browser via [
test-site-1], I get a browser message telling me that the site cant be found.
Not only that, but when I attempt to visit a site at [
localhost] that was working before I edited the httpd.conf file, I get a 403 error message telling me that I dont have permission to access the site on this server.
I have gone over and over everything, but cant figure out the basic blunder I must be making. :-((
Any suggestions would be greatfully received. :-)
TIA