ok in 00_default you need somethink like this
<VirtualHost __default__:80> ServerName localhost DocumentRoot /var/www/localhost <Directory /var/www/localhost> Order Allow, Deny Allow from all </Directory> </VirtualHost> and in 01_helpermaster <VirtualHost *:80> ServerName helpermaster.fr ServerAlias *.helpermaster.fr DocumentRoot /var/www/helpermaster.fr <Directory /var/www/helpermaster.fr> Order Allow, Deny Allow from all </Directory> </VirtualHost> It should work ! -----Message d'origine----- De : Elyahou ITTAH [mailto:[EMAIL PROTECTED] Envoyé : dimanche 9 mars 2008 20:15 À : gentoo-user@lists.gentoo.org Objet : Re: [gentoo-user] Fwd: apache vhost issue... 2008/3/9, Mike Williams <[EMAIL PROTECTED]>: > On Sunday 09 March 2008 11:52:16 Elyahou ITTAH wrote: > > in /etc/conf.d/apache2: > > APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D INFO -D LANGUAGE -D PHP5 -D > > USERDIR" > > > > # cat /etc/apache2/vhosts.d/01_vhost1.conf > > <VirtualHost *:80> > > > > But when I type helpermaster.fr on my browser, i receive the > > www/localhost pages and no the www/helpermaster.fr pages... > > > Your vhost isn't specific enough to not be matched by the vhost defined by > DEFAULT_VHOST (which is _default_:80). > > Either turn off DEFAULT_VHOST and add "Listen *:80" somewhere before your > virtualhost, or define it with an IP address. I tried that but i have now Forbidden You don't have permission to access / on this server. when i trie to connect... -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list