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

Re: Apache Virtual Server



Dennis Kaptain wrote:


----- Mensaje original ----
De: Uwe Kiewel <ml kiewel-online ch>
Para: "Community assistance, encouragement, and advice for using Fedora." <fedora-list redhat com>
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 tmr com>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


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