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

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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJJ9fY7AAoJEEJXG7BUuynnxlsP/iMfVBKO9+cMlwE1DFq/IIQJ
zlG+K1JN9379Gk78dte4kP3v/DkWBuQWySpWiBGw1Ea8Ya4RU7ULPGRyiW3GdKj4
866B1+ZGO7YVD/AafZwpFstUE46/m4pVXH6Uq4C7TvEp2iOaGTSKctqQS635WT79
tP5+YIs01uM/SZyDeln2/A/uqLFixKvUZ97QdyByFqAeYeh5yAXEbn0JrL/h6OB7
eMzqccdYLmsZvaCwd+1/MhzbC7wSA8UGp/8YTqkCPqO2ofu6DM1QOPrPiV/MwZcr
Xhpq3xRNJu/wOSlpzdh9MMMK/NUgnCde73J1/j692+lctHKuBR11MlZXuvv4lmSf
u1hL6zMU3GNM8gOIKSp319cPNxoy7gTx4ZYuOQmPFv33w8IWI1wuNa9QrJM3flXa
cHTXUkVpCdaPsvzMF33VbaiNyvUQvJ73/D+qIGof4UM9UT1e0Y1Birxi4+zOzCr+
3F+YNZqgESCBNt9HRB9v5SGeV8R6WJOELdEVGF3WHy9JWwLlAP1mmrAQjJp7Y4Da
5h106VWhPvo4VmbHhufKpZ4Esr4Yxgvh0TU0+zTfrt1Y9YBv6DN/Nw2AYZiB4b7A
ceF6C/HkIWusz7jb6/3sTR6AyDkW0Px5NprRAq9R58G6rQQVLSYrIEFb5P+c6IIR
cEe4YGXesdw2rN6BxeTG
=NsFC
-----END PGP SIGNATURE-----


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