While playing with php and understanding the difference b/w what the tags I messed up the paths without taking a backup httpd.config file.

I have update the files located at C:\xampp\apache\conf\httpd.config file.

I dont know how can I can revert back to defaults since I want play with phpAdmin and other stuff which i was able use before this change of paths .

all I want is keep my web project on D: drive as virtaully folder. how can i do that ?? please help. stuck.

ServerRoot "C:\xampp\apache"
DocumentRoot "D:\workspace"
<Directory "D:\workspace\AutionWebSite">

Accepted Answer

  • ServerRoot = path to the webserver executable/dir
  • DocumentRoot = path to your files that are delivered by the server
  • The <Directory> directive is used to configure settings for a specific directory. However, the <Directory> command in your question is not complete.
Written by abaumg
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki