httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "asiani@wanadoo.fr" <asi...@wanadoo.fr>
Subject [users@httpd] Virtualhost
Date Fri, 03 Sep 2004 06:02:05 GMT
Hello,

I just want to say it is now ok !!
My problem was the domain and not my configuration

thanks,
Alain

creation of users with right for apache group
creation of subfolders
/home/domainA/www/html
...

httpd.conf

<Directory /home/*/www/html>
 Options Indexes FollowSymLinks
 <IfModule mod_access.c>
  Order allow,deny
  Allow from all
 </IfModule>
</Directory>

 Include conf/vhost.conf

----------------------------------------------------------
vhost.conf

NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin root@free.fr
    DocumentRoot /home/domainA/www/html
    ServerName www.domainA.org
    ServerPath /domainA.org
    ErrorLog logs/domainA.org-error_log
    ServerAlias domainA.org
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin root@free.fr
    DocumentRoot /home/domainB/www/html
    ServerName www.domainB.com
    ServerPath /domainB.com
    ErrorLog logs/domainB.com-error_log
    ServerAlias domainB.com
</VirtualHost>




---------------------------------------------------------------------
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