Windows – xampp for Windows: How to choose absolute path?

xampp for Windows: How to choose absolute path?… here is a solution to the problem.

xampp for Windows: How to choose absolute path?

My file is in a linux host, and the absolute path is /home/kat/public_html/sites/kats

Now I want to know how to select the absolute path of the web directory in xampp under Windows.

Thanks a lot for any help!

Solution

In an XAMPP installation with default parameters, your root directory should be located at:
“c:\Program Files\xampp\htdocs\”, so your site must be located at:
“c:\Program Files\xampp\htdocs\kats”

The root directory can be changed in the configuration file of “httpd.conf” apache, which by default is:
c:\Program Files\xampp\apache\conf\httpd.conf
There is a variable named “DocumentRoot” with the default value set to:
“C:/Program Files/xampp/htdocs”

Related Problems and Solutions