httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joyce LAMBERT <joyce.lamb...@tg.refer.org>
Subject RE: [users@httpd] 2 Virtualhost on a same directory
Date Fri, 07 Mar 2003 18:05:50 GMT
Thank you for this

Le ven 07/03/2003 à 13:35, Jeff Cohen a écrit :
> Hi Joyce,
> 
> You have to make them like that:
> <VirtualHost *>
>       DocumentRoot "/www/html"
> 	ServerName site1
> 	DirectoryIndex index.html
> .....
> </VirtualHost>
> 
> <VirtualHost *>
>       DocumentRoot "/www/html"
> 	ServerName site2
> 	DirectoryIndex indexsite2.html
> .....
> </VirtualHost>
> 
> All the best,
> Jeff Cohen
> 
> 
> > -----Original Message-----
> > From: Joyce LAMBERT [mailto:joyce.lambert@tg.refer.org]
> > Sent: Friday, March 07, 2003 6:54 AM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] 2 Virtualhost on a same directory
> > 
> > Hello
> > 
> > I have to create 2 virtualhost on the same directory but with default
> > page different.
> > site1 -> index.html
> > site2 -> indexsite2.html
> > 
> > if i create the virtualhost for site2 like Documentroot =
> > /html/indexsite2.html i can the the page but all the link are broken
> > 
> > Is there a configuration for default page in virtualhost?
> > 
> > Thank
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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
> 
> 
> ---------------------------------------------------------------------
> 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



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