Change location of htdocs in XAMPP
September 16, 2015 11:10 pmLeave your thoughts
I like to keep all programs and data on separate physical drives, however XAMPP creates the default root folder (htdocs) on the C: alongside all the other program files. Over time it’s easy to accumulate a lot of data in this folder so it makes sense to keep it with the rest of your data files. Here’s a quick tip for changing it’s location. First navigate to:
c: > xampp > apache > conf > httpd.conf
![locate-httpd](https://www.absolutewillynilly.com/wp-content/uploads/useless-knowledge/locate-httpd.jpg)
![seaarch-htdocs-text](https://www.absolutewillynilly.com/wp-content/uploads/useless-knowledge/seaarch-htdocs-text.jpg)
![update-htdocs-paths](https://www.absolutewillynilly.com/wp-content/uploads/useless-knowledge/update-htdocs-paths.jpg)
![restart-xampp](https://www.absolutewillynilly.com/wp-content/uploads/useless-knowledge/restart-xampp.jpg)
Categorised in: Web Development
This post was written by WillyNilly