blueman378 Posted June 24, 2008 Share Posted June 24, 2008 hi guys, we are installing a web server at school, it is working fine however currently the htdocs folder is one folder that all students can put work into, but this means they can see each others work, we want to change the document root to something like 'hcfp02\studentshome$\year13\USERNAME\My Websites' where username gets replaced by the users username, this is something like john.doe how would we go about doing this? would 'hcfp02\studentshome$\year13\%username%\My Websites' work? cheers Quote Link to comment https://forums.phpfreaks.com/topic/111583-dynamic-htdocs-path/ Share on other sites More sharing options...
trq Posted June 24, 2008 Share Posted June 24, 2008 Assuming your using Apache, you'll want to take a look at the documentation for mod_vhost_alias. Quote Link to comment https://forums.phpfreaks.com/topic/111583-dynamic-htdocs-path/#findComment-573117 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.