Forum Moderators: phranque
At the moment I have a folder called Server which is the localhost. This is therefore the root folder which then contains about 15 folders. Each folder contains a website. Online one of these folders would be the root, but offline my localhost folder is the root for all my websites.
So how do I configure apache to make each one of those 15 folders a root folder to itself? Or do I have to approach it from another direction?
Cheers,
R
<VirtualHost *:300000>
ServerName yadayada.com
ServerAdmin bob@yadayada.com
DocumentRoot /home/web/yadayada
</VirtualHost>
Then, you just connect to [localhost:30000...] - it may not be the best way, but it works for me.
btw - I have port 80 mapped to a directory with an index.htm that has links to all the other sites so I don't have to remember which port is which.
- Ryan