Forum Moderators: phranque
Im looking for a way to serve documents using the mod_vhost module. Im using the module like so:
VirtualDocumentRoot /home/webuser/%0
Then the user can ftp to his account, create the directory for the domain (e.g testing.com) and place all the docs he wants to serve from it, and voila, an automatic virtual host, but only for [domain.com....] The problem is that I want to serve docs for both domain.com and www.domain.com automatically. Using this method the user has to create two directories (www.domain.com and domain.com) and then upload the files twice. I want to avoid the second step.
I know that for non-vhost setups I can use the ServerAlias directive, but I dont think that will work in this case. Can anyone help?
Thanks!
Jim