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 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. Link to comment https://forums.phpfreaks.com/topic/111583-dynamic-htdocs-path/#findComment-573117 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.