Changing the Apache root htdocs directory in XAMPP - AMPPS

Published on  by Gearloose ‐ In  ‐ Reading time: less than a minute
Changing the Apache root htdocs directory in XAMPP - AMPPS

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

<Directory "{$path}/www">

and change it to

<Directory "path/to/xampp/htdocs">

loading

Related Posts

How to Set Up Multiple Blogs Using a Single CMS
Ethereum mining for Windows 7/10 - How To
How to connect your ps4 controller to your android mobile
How to build a Raspberry Pi Entertainment System in NES case
Top