Edit \apache\conf\httpd.conf
Listen 8080 Listen 8081
Edit \apache\conf\extra\httpd-vhosts.conf
NameVirtualHost *:8080 NameVirtualHost *:8081ServerName v1 DocumentRoot "C:/xampp/htdocs/" <directory "C:/xampp/htdocs/"> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all </directory> ServerName zendApp DocumentRoot "C:/xampp/htdocs/ZendSkeletonApplication/public/" SetEnv APPLICATION_ENV "development" <directory "C:/xampp/htdocs/ZendSkeletonApplication/public/"> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all </directory>
yang perlu di ingat
- buang tanda komentar "#" (tanda pagar) untuk Include conf/extra/httpd-vhosts.conf pada httpd.conf
- ubah tanda "garis miring" "\" (back slash) menjadi "/"
- port web server harus sama antara yang ada di httpd.conf dengan httpd-vhosts.conf