Changing the Apache root htdocs directory in XAMPP - AMPPS

Changing the Apache root htdocs directory in XAMPP - AMPPS
Written by Admin

If you want to redirect the Ampps htdocs location, let's say from "C:Amppswww" to "D:Amppshtdocs", here is the easy way to do it.

Go to the Ampps installation dir and open this file:

Amppsapacheconfhttpd.conf

In this file, find the line:

DocumentRoot "{$path}/www"

and change it to

DocumentRoot "path/to/xampp/htdocs"

Also find the line

and change it to

About the author

Admin

Admin

Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece and I have been involved in SEO, Website Migration (transferring content from a site, eg blogger to WordPress), website optimization, and web scraping (extracting content from one or more sites) for years.

At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.

Leave a Comment