Hope someone can help after 3days i give up.
Can virtual hosts point to different drives or do they doc roots have to be inside the main doc folder.
ie what i was after
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1"
ServerName www.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "E:/stuffinhere2"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "F:/stuffinhere3"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
or does it have to be like this to work
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1"
ServerName www.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1/stuffinhere2"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1/stuffinhere3"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
Also in the <Directory> and <DocumentRoot> in httpd.conf do you have to have this pointing to the main folder ie "D:/stuffinhere" as when i comment it out nothing seems to work.
I maybe going about this the wrong way but what i am eventually after is a folder with a website in it running a shared calender that the family can access from anywhere to update and the ability to get at any of my movies/music/software from anywhere i am. For calendar i was going to use webclandar form webcalendar.sourceforge.net.
cheers for any pointers
Can virtual hosts point to different drives or do they doc roots have to be inside the main doc folder.
ie what i was after
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1"
ServerName www.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "E:/stuffinhere2"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "F:/stuffinhere3"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
or does it have to be like this to work
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1"
ServerName www.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1/stuffinhere2"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
<virtualhost *:80>
DocumentRoot "D:/stuffinhere1/stuffinhere3"
ServerName www.wildcard.nickname.dyndnsname.net
</virtualHost>
Also in the <Directory> and <DocumentRoot> in httpd.conf do you have to have this pointing to the main folder ie "D:/stuffinhere" as when i comment it out nothing seems to work.
I maybe going about this the wrong way but what i am eventually after is a folder with a website in it running a shared calender that the family can access from anywhere to update and the ability to get at any of my movies/music/software from anywhere i am. For calendar i was going to use webclandar form webcalendar.sourceforge.net.
cheers for any pointers
Last edited: