Re: Apache Virtual Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Lunes, 27 de Abril de 2009 18:23, Dennis Kaptain escribió:
> > If there is no NameVirtualHost declaration the vhosts will be treated as
> > the default host.
> >
> > Try putting
> >
> >   NameVirtualHost *:80
> >
> > before the VirtualHost declarations.
> >
> > :m)
>
> Mike,
> I already have that directive before the VirtualHosts. I did try to remove
> it just to see what would happen
>
> [root@confianza conf]# service httpd restart
> Stopping httpd:                                            [  OK  ]
> Starting httpd: [Mon Apr 27 16:49:00 2009] [warn] _default_ VirtualHost
> overlap on port 80, the first has precedence [  OK  ] [root@confianza
> conf]#
>
> and there you have it.
>
> Anyway, that wasn't the problem in my case.
>
>
> Thinking about how DNS is working in the picture I added <?php echo
> $_SERVER['SERVER_NAME']."<br>\n"; ?> to my index.php file and it shows a
> difference between
> http://confianza  and  http://confianzazend
> so it does know the difference.
>
> Thanks
>
> DK
>
>
>
>       ¡Obtén la mejor experiencia en la web! Descarga gratis el nuevo
> Internet Explorer 8. http://downloads.yahoo.com/ieak8/?l=mx

try httpd -S, verify if vhost are declared. (sorry my english)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux