Re: Apache Virtual Server

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

 



Dennis Kaptain wrote:


----- Mensaje original ----
De: Uwe Kiewel <ml@xxxxxxxxxxxxxxxx>
Para: "Community assistance, encouragement, and advice for using Fedora." <fedora-list@xxxxxxxxxx>
Enviado: lunes, 27 de abril, 2009 13:42:49
Asunto: Re: Apache Virtual Server

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dennis Kaptain wrote:

----- Mensaje original ----
De: Uwe Kiewel Para: "Community assistance, encouragement, and advice for using Fedora." Enviado: lunes, 27 de abril, 2009 13:15:23
Asunto: Re: Apache Virtual Server

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dennis Kaptain wrote:
 I am playing with the Zend Framework on my laptop. In my reading of

I edited /etc/httpd/conf/httpd.conf as follows:
#
ServerName confianza:80
Do not configure a ServerName in the global section if you are using
virtual hosts.

HTH
    Uwe

Uwe,
Thanks for the quick response

In /etc/httpd/conf/httpd.conf
I commented out #ServerName confianza:80
Saved the file
and restarted the server [root@confianza httpd]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@confianza httpd]#
and http://confianzazend still returns the contents of /var/www/html

I also thought to clear the cache in Firefox 3.0.9. That wasn't it either.

Do you have any other ideas? This seems like it should be very easy?
I'm not sure how apache recognizes which virtual server the client
requests. Maybe you need a real dns setup.


THT,
    Uwe

DK

Uwe,
I don't know either. I don't really want to set up my own DNS server just to use a virtual host. It would be easier for me to rename directories and move files around.
If anyone else sees any errors or has run into this in the past, let me know.

There is something happening in this area, I took a working setup from a server running FC5, and put it on CentOS-5.3 and the virtual name stuff isn't working. Tried on FC10, and that isn't either. Something has changed since the lst time I did this.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

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