MENU
XAMPP
XAMPP is a free and open-source cross(X)-platform web server solution stack package consisting mainly of the Apache HTTP Server, MariaDB database, PHP and Perl. (MariaDB is an enhanced version of MySQL.)
On Windows, after downloading and installing XAMPP, launch [XAMPP]/xampp_contol.exe to bring out the control panel. Start the Apache server there.
To launch XAMPP from Linux / Ubuntu Terminal:
sudo apt install net-tools
sudo /opt/lampp/lampp start
Likewise, to test out the webserver, enter 'localhost' on the address bar of a browser.
The root directory for the files of the website is located at [XAMPP]/htdocs/ .
XAMPP is perhaps the easiest way to setup a full-fledged web server. Notice it also provides a database server, an FTP server, and an email server.
<VirtualHost *:443>
DocumentRoot "C:/xampp/htdocs/myproject/web"
ServerName www.myurl.com
SSLEngine on
SSLCertificateFile "conf/ssl.crt/myserver.crt"
SSLCertificateKeyFile "conf/ssl.key/myserver.key"
<Directory "C:/xampp/htdocs/myproject/web">
Options All
AllowOverride All
Require all granted
</Directory></VirtualHost>
Note that both files are meant to be 'included' in
D:\xampp\apache\conf\httpd.conf which is accessible on a Windows XAMPP GUI by clicking the 'Config' button of Apache.
Server-side Languages | Websites |
PHP | 79.2% |
ASP.NET | 8.7% |
Ruby | 4.6% |
Java | 3.5% |
Scala | 1.9% |
(static files) | 1.5% |
Python | 1.4% |
JavaScript | 1.3% |
ColdFusion | 0.3% |
Perl | 0.1% |
Erlang | 0.1% |
( |