I'm asking for your help not only because of the errors on the localhost WampServer home page (see below), but also because in the Your Projects section there is a warning notice.
Further, from Your Projects, all project links lead to either the front page for the project concerned or to a directory list, except one - xyz. This returns
Not Found
The requested URL /xyz/xxyz.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.33 (Win64) PHP/7.1.16 Server at localhost Port 80
Firstly, I can go to all pages of the project xyz via [
localserver] with no problems.
Secondly, the root/home page for xyz is /index.htm, not /xyz/xxyz.htm. That is a page in a subsidary folder to the site root.
Please would you advise me as to what I have done wrong and how to correct the various problems?
(Please be aware that the WampServer installation was done by someone knowledgeable Of WAMP who is no longer available. I am relying on trying to understand and follow advice etc from WampServer help pages and elsewhere on the net.)
***
Windows 10 64-bit
Wampserver 3.1.3 64-bit
Apache 2.4.33
PHP 7.1.16
MySQL 5.7.21
MariaDB 10.2.14
HOSTS active lines:
127.0.0.1 localhost
127.0.0.1 localserver
127.0.0.1 frontpage
127.0.0.1 joomla-xy joomla.localhost
::1 localhost
::1 localserver
::1 frontpage
::1 joomla-xy joomla.localhost
WAMP icon is green.
I have access to localhost.
localhost (Homepage WampServer) error message:
[in red, error] Port :8083 used for the VirtualHost is not an Apache define variable
[in blue, warning] It's a bad idea to add localhost in the url of launching
projects. It is best to define VirtualHost in
wamp/bin/apache/apache2.4.33/conf/extra/httpd-vhosts.conf
file and not add localhost in the url.
I can access PHPMyAdmin.
Antivirus: F-Secure SAFE.
Firewall: Windows Defender
Installation full path: c:/wamp64
Virtual Hosts:
Below is the contents of httpd-vhosts.conf.
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:8083>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www/xyz"
<Directory "${INSTALL_DIR}/www/xyz">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 192.168.1
</Directory>
</VirtualHost>
<VirtualHost *:8084>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www/zyx"
<Directory "${INSTALL_DIR}/www/zyx">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 192.168.1
</Directory>
</VirtualHost>
<VirtualHost *:8085>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www/frontpage"
<Directory "${INSTALL_DIR}/www/frontpage">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 192.168.1
</Directory>
</VirtualHost>
<VirtualHost *:8086>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www/joomla-xy"
<Directory "${INSTALL_DIR}/www/joomla-xy">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 192.168.1
</Directory>
</VirtualHost>
also, from the WampServer localhost page:
Your VirtualHost
localhost
localhost:8083 - Not a Listen port
localhost:8084 - Not a Listen port
localhost:8085 - Not a Listen port
localhost:8086 - Not a Listen port
Error(s) See below
Edited 1 time(s). Last edit at 11/07/2018 10:01AM by RiggsFolly.