I have WAMP 3 64 bit running correctly. It is installed in \wamp64
I downloaded and installed the 32 bit version in \wamp32
I forgot that I needed to enable the WAMP Virtualhost sub-menu before going to the Localhost page and clicking the Add Virtual Host link. The Add Virtual Host page told me to enable the sub-menu. I do so.
Then I went to the Localhost page it showed the following:
"Uncomment or add Include conf/extra/httpd-vhosts.conf in file wamp/bin/apache/apache2.4.17/conf/httpd.conf"
I went and editted the httpd.conf file and uncommented that line. I saved the file, and restarted the services.
I tried to get to the Localhost page (I using the icon and the Localhost menu item to get there) and I got:
"Forbidden
You don't have permission to access / on this server.
Apache/2.4.17 (Win32) PHP/5.6.15 Server at localhost Port 80"
I confirmed it is an HTTP 403 error via Firefox/Firebug - "NetworkError: 403 Forbidden - [localhost]; - in the network console.
If I recomment the httpd.conf line, save the file, and restart the services, I am able to get to the Localhost page.
If I uncomment the line again, save the file and restart the services, I get the 403 on the Localhost page.
I can consistently reproduce the 403 error by uncommenting the line and eliminate by commenting the line.
The Virtualhost sub-menu can show checked or not - it does not matter whether it is enabled or not.
The 403 error appears to be dependent upon the state of the line in httpd.conf:
#Include conf/extra/httpd-vhosts.conf
How do I get around error so that I can create virtual hosts on the 32 bit installation.
FYI -
I will not be running the 32 bit and the 64 bit at the same time, only one at a time.
They will share nothing - separate databases in the MySQL data directory and separate "projects" under the www directory.
I have tried installing WAMP 3 32 bit three times and continue to get the 403 error.
I tried the second install because I wanted to make sure I had not done anything which I had forgotten before trying to make a virtual host and un-installed and installed again because it looked like the symptoms had changed.
After installing the 32 bit version the third time, I am sure that I did nothing except what I describe above and that the problem in repeatable by flipping the line from commented to uncommented and back again.
The file I installed the 32 bit version from was downloaded on June 18, 2016 at 3:57 pm CDT (Central Daylight savings Time zone in the the USA) We are GMT-6 hours. That would have been 0957 GMT.
The file name is wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15.exe
I scanned it for malware before executing it. Nothing was found.
The only difference I made in the installation was to put it in \wamp32 instead of \wamp and to name the Windows Start Menu folder Wampserver32 instead of Wampserver.
I created a directory under the \wamp32\www directory named bobroot and copied a web site into that directory.
Immediately after creating that project directory and copying in a working web site, I began to try to create a virtual host, as I describe above.
As I was trying to pin this problem done, and document it, I uncovered the error I posted about at [forum.wampserver.com] which is about the link on the Localhost for both 32 bit and 64 bit being [bobroot] instead of localhost/bobroot
But - unless these two problems are related, I don't want access projects via the localhost, I want to use virtual hosts.
I'm already doing so on the 64 bit version but I'm having the problem described above in trying to create virtual hosts on the 32 bit version.
What more information would you like to have?
I downloaded and installed the 32 bit version in \wamp32
I forgot that I needed to enable the WAMP Virtualhost sub-menu before going to the Localhost page and clicking the Add Virtual Host link. The Add Virtual Host page told me to enable the sub-menu. I do so.
Then I went to the Localhost page it showed the following:
"Uncomment or add Include conf/extra/httpd-vhosts.conf in file wamp/bin/apache/apache2.4.17/conf/httpd.conf"
I went and editted the httpd.conf file and uncommented that line. I saved the file, and restarted the services.
I tried to get to the Localhost page (I using the icon and the Localhost menu item to get there) and I got:
"Forbidden
You don't have permission to access / on this server.
Apache/2.4.17 (Win32) PHP/5.6.15 Server at localhost Port 80"
I confirmed it is an HTTP 403 error via Firefox/Firebug - "NetworkError: 403 Forbidden - [localhost]; - in the network console.
If I recomment the httpd.conf line, save the file, and restart the services, I am able to get to the Localhost page.
If I uncomment the line again, save the file and restart the services, I get the 403 on the Localhost page.
I can consistently reproduce the 403 error by uncommenting the line and eliminate by commenting the line.
The Virtualhost sub-menu can show checked or not - it does not matter whether it is enabled or not.
The 403 error appears to be dependent upon the state of the line in httpd.conf:
#Include conf/extra/httpd-vhosts.conf
How do I get around error so that I can create virtual hosts on the 32 bit installation.
FYI -
I will not be running the 32 bit and the 64 bit at the same time, only one at a time.
They will share nothing - separate databases in the MySQL data directory and separate "projects" under the www directory.
I have tried installing WAMP 3 32 bit three times and continue to get the 403 error.
I tried the second install because I wanted to make sure I had not done anything which I had forgotten before trying to make a virtual host and un-installed and installed again because it looked like the symptoms had changed.
After installing the 32 bit version the third time, I am sure that I did nothing except what I describe above and that the problem in repeatable by flipping the line from commented to uncommented and back again.
The file I installed the 32 bit version from was downloaded on June 18, 2016 at 3:57 pm CDT (Central Daylight savings Time zone in the the USA) We are GMT-6 hours. That would have been 0957 GMT.
The file name is wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15.exe
I scanned it for malware before executing it. Nothing was found.
The only difference I made in the installation was to put it in \wamp32 instead of \wamp and to name the Windows Start Menu folder Wampserver32 instead of Wampserver.
I created a directory under the \wamp32\www directory named bobroot and copied a web site into that directory.
Immediately after creating that project directory and copying in a working web site, I began to try to create a virtual host, as I describe above.
As I was trying to pin this problem done, and document it, I uncovered the error I posted about at [forum.wampserver.com] which is about the link on the Localhost for both 32 bit and 64 bit being [bobroot] instead of localhost/bobroot
But - unless these two problems are related, I don't want access projects via the localhost, I want to use virtual hosts.
I'm already doing so on the 64 bit version but I'm having the problem described above in trying to create virtual hosts on the 32 bit version.
What more information would you like to have?