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!!! Quote 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. Quote 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... Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.