Hi,
@ Janeallison
As a teacher, you should know that knowledge is not innate and requires a lot of effort and time to acquire.
I provide you with an Apache, PHP, SQL WEB server that installs in three clicks and integrates most of the tools needed to run the server.
From the moment you have installed wampserver you take the roles of:
- Network administrator
- Web server administrator
- Database Administrator
- Developer
- Analyst
- Programmer.
- etc.
The knowledge necessary for all these roles cannot be part of the package and Wampserver does not have Albus Perceval Wulfric Brian Dumbledore in its installation that could, with a magic wand, automatically and effortlessly put this knowledge in your brain in three clicks.
On the other hand, all links on the documentation related to Apache, PHP, MySQL and MariaDB are an integral part of the Wampserver package and, here too, it only takes three clicks to access them.
Let's go back to our business, or rather the VirtualHost.
You have seen that by launching 'http://my-folder/', it doesn't work.
The "http" protocol does not know what to do with the folder, it lacks a lot of information and that is why, in short, there is an error.
It is the role of VirtualHost to provide the necessary information.
In a way, a VirtualHost is a box, virtual of course, but a box that will contain information like :
- Site name (ServerName)
- Where is the site (DocumentRoot) and on which storage device?
- Site folder (<Directory) parameters such as access permissions, possible url rewriting, and others.
This simply allows the 'http' protocol to display the page in a browser.
Apache Documentation : [
httpd.apache.org]
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons