Re: Apache Virtual Server

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

 



> Dennis Kaptain wrote:

> > [root@confianza conf]# cat /etc/hosts
> > # Do not remove the following line, or various programs
> > # that require network functionality will fail.
> > 127.0.0.1        localhost.localdomain localhost
> > 127.0.0.1        confianza
> > 127.0.0.1        confianzaZend
> > ::1        localhost6.localdomain6 localhost6
> > 192.168.0.2    amor                    amor.
> > 192.168.0.3    esperanza
> > 192.168.0.4    confianza
> > 192.168.0.5     BRNEE2FCB
> > 192.168.0.6    glitter
> > 192.168.0.8    fe
> > 
> >  
> Here you have "confianza" defined twice in the hosts file. It could make strange 
> errors happening.
> 
> 127.0.0.1      confianza
> 192.168.0.4    confianza
> 
> Othervise the config with * wildcards should work as it's on the example from 
> apache's own documentation. But it could be still that you
> need to have ipaddress instead like you found out in your post.
> 
> -VPK

I commented out the class c reference to # 192.168.0.4 confianza in /etc/hosts
changed my httpd.conf file to have *:80 in place of 127.0.0.1:80
restarted the network and httpd services and it went back to it's
old behavior of always returning /var/www/html/ regardless of what URL is requested.

So although it may be bad practice that wasn't the problem.
I decided that I really don't need that reference to confianza so 
I'll leave it out.

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