Re: Apache Virtual Server

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

 



> 

> 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

-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux