Sylmand Posted October 17, 2007 Share Posted October 17, 2007 I've just installed Apache to a fresh machine and wanting the config files to be in the default "...Apachexx/conf"... But want the files served on a seperate drive "G:/WebServer". I've tried changing DocumentRoot, but even aftdr restarting the server, it still looks in "...apachexx/htdocs". HELP!!! Link to comment https://forums.phpfreaks.com/topic/73621-new-install-dif-documentroot-serverroot/ Share on other sites More sharing options...
wildteen88 Posted October 17, 2007 Share Posted October 17, 2007 When you change the DocumentRoot you will also have to change the main <Directory /></Directory> directive too (this should be located a few lines down from where you set DocumentRoot. Link to comment https://forums.phpfreaks.com/topic/73621-new-install-dif-documentroot-serverroot/#findComment-371700 Share on other sites More sharing options...
Sylmand Posted October 23, 2007 Author Share Posted October 23, 2007 Thanks, such a simple change and it works.. haha... me thinks im ight be back in the future. hehe... Link to comment https://forums.phpfreaks.com/topic/73621-new-install-dif-documentroot-serverroot/#findComment-376614 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.