How to set up virtual hosts properly on a windows machine using Zend Community CE ?
Posted
by Scott F
on Stack Overflow
See other posts from Stack Overflow
or by Scott F
Published on 2010-03-18T05:36:56Z
Indexed on
2010/03/18
5:41 UTC
Read the original article
Hit count: 293
I have set up Zend Server CE on a windows machine and am having the hardest time setting up virtual hosts. No matter what I do, links on my local machine are showing "localhost" in the path causing all images and links to not work properly.
I have the following in my vhosts file and while the site loads up, most links show "local host in them". Please help.
NameVirtualHost *:80
DocumentRoot D:\zend_server_ce\Apache2\htdocs\domain.dev ServerName www.domain.dev ServerAlias www.domain.dev *.domain.dev domain.dev UseCanonicalName Off #CustomLog D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\access.log # ErrorLog D:\zend_server_ce\Apache2\htdocs\domain.dev\logs\error.log
Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all
© Stack Overflow or respective owner