httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sadananda B Rai" <s...@zeomega.com>
Subject [users@httpd] VirtualHost
Date Tue, 25 Mar 2003 06:58:02 GMT
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


Mime
View raw message