You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sadananda B Rai <sr...@zeomega.com> on 2003/03/25 07:58:02 UTC
[users@httpd] VirtualHost
Hello All,
As I am new to apache I need some help from this list. I have 5
different folders in Linux server which has to map to 5 different sites. I
tried doing with VH but it's not working yet.
Folders sites
abc abc.com
xyz xyz.com
mno mno.com
4
5
This is how I have folders and has to map to each separate sites. Right
now my VH looks like this. It will be gr8 if some one help me to do this and
let me know is I am in right way.....? Is there any other way I can host
these sites?. Thax in Advance
<VirtualHost abc.com>
DocumentRoot /var/www/abc
servername abc.com
<Directory "/var/www/abc/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<VirtualHost xyz.com>
DocumentRoot /var/www/xyz
servername xyz.com
<Directory "/var/www/xyz/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Thanking You
Sadananda
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org