I downloaded the latest XAMPP deb file and installed it.
But apparently, there is no /var/www folder.
Can anyone tell me the default location of the Apache's DocumentRoot directory within XAMPP installation?
I downloaded the latest XAMPP deb file and installed it.
But apparently, there is no /var/www folder.
Can anyone tell me the default location of the Apache's DocumentRoot directory within XAMPP installation?
The default DocumentRoot directory within the XAMPP installation is /opt/lampp/htdocs/. But if you have installed so called Apps or Add-ons (WordPress, MediaWiki, etc.) their DocumentRoot directories will be placed into /opt/lampp/apps/<app>/htdocs (/opt/lampp/apps/wordpress/htdocs, /opt/lampp/apps/mediawiki/htdocs, etc.).
The necessary information could be found in the article Configure Virtual Hosts from section HOW-TO Guides from the default page of XAMPP, which can be found at http://localhost.
In my opinion - under Linux - XAMPP makes the things unnecessarily complicated.
Update: Here is a simple relevant article: