Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Clicking virtual host link opens Wampserver page (no replies)

$
0
0
I did search for this and found nothing, if it's here somewhere, my search terms were probably wrong, sorry in advance. No error messages, all else works fine, no problem with PHP, mySQL, etc.

Questions:
8. yes
8a. no
9. yes
10. NA
11. webroot
12. C:\wamp64
13. see below

I have three virtual hosts. When I click on two of them, CustomerSupport.local and CustomerSupport2.local, their windows open. When I click on the third, AJAXForBeginners.local, the Wampserver localhost web page is opened, which is the problem.

As far as I can tell, all are set up correctly in both the Windows hosts file:

127.0.0.1 CustomerSupport.local
127.0.0.1 CustomerSupport2.local
127.0.0.1 AJAXForBeginners.local

::1 CustomerSupport.local
::1 CustomerSupport2.local
::1 AJAXForBeginners.local

and the httpd-vhosts.conf file:

#
<VirtualHost *:80>
ServerName CustomerSupport.local
ServerAlias CustomerSupport
DocumentRoot "c:/wamp64/www/customersupport"
<Directory "c:/wamp64/www/customersupport/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>


#
<VirtualHost *:80>
ServerName CustomerSupport2.local
ServerAlias CustomerSupport2
DocumentRoot "c:/users/jbiss/documents/netbeansprojects/html5application/public_html"
<Directory "c:/users/jbiss/documents/netbeansprojects/html5application/public_html/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

#
<VirtualHost *:80>
ServerName AJAXForBeginners.local
ServerAlias AJAXForBeginners
DocumentRoot "c:/wamp64/www/ajaxforbeginners"
<Directory "c:/wamp64/www/ajaxforbeginners/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>


When I either click on index.html in that directory or select it from the "Open" window, its web page opens, not the Wampserver web page.

Any idea why the AJAXForBeginners.local virtual host displays the Wampserver page and not the index,html in the directory indicated by DocumentRoot setting shown above?

NOTE: I get no error in the access.log file for this problem. I verified that it does indicate a new current error by clicking on a link that fails and the following is generated:

::1 - - [18/May/2020:15:19:13 -0500] "GET /CustomerSupportSS.css HTTP/1.1" 200 523
::1 - - [18/May/2020:15:19:21 -0500] "GET /10Dobsonian/FinderAssy.php HTTP/1.1" 200 726
::1 - - [18/May/2020:15:19:21 -0500] "GET /10Dobsonian/images/expl_finder.gif HTTP/1.1" 200 4030
::1 - - [18/May/2020:15:19:23 -0500] "GET /10Dobsonian/_FinderAssy.html HTTP/1.1" 404 323

NO error is generated when I click on either the localhost or AJAXForBeginners.local virtual hosts the following is generated:

::1 - - [18/May/2020:15:22:35 -0500] "GET / HTTP/1.1" 200 5946 (for localhost virtual host)
::1 - - [18/May/2020:15:22:57 -0500] "GET / HTTP/1.1" 200 5946 (for AJAXForBeginners.local virtual host)

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>