-----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
NameVirtualHost *:80 # <VirtualHost *:80> ServerName confianza DocumentRoot "/var/www/html"
</VirtualHost> # <VirtualHost *:80> ServerName confianzazend DocumentRoot "/var/www/html/QuickStart/public" </VirtualHost>
I then restart httpd [root@confianza html]# service httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]
I want http://confianza to return the contents of /var/www/html I want http://confianzazend to return the contents of /var/www/html/QuickStart
What is happening is that both http://confianza and http://confianzazend are both returning the contents of /var/www/html
I've looked at several web pages and they all say the same thing, this should just work (TM). It seems simple enough yet my problem persists. What else do I need to do?
Thanks
¡Obtén la mejor experiencia en la web! Descarga gratis el nuevo Internet Explorer 8. http://downloads.yahoo.com/ieak8/?l=mx