Muchas gracias me sirvio tu ayuda. funcionó asi
En el httpd-vhosts.conf
Código HTML:
Ver original<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/AppServ/www"
SetEnv APPLICATION_ENV "development"
<Directory "C:/AppServ/www">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName prueba
DocumentRoot "C:/AppServ/www/prueba"
SetEnv APPLICATION_ENV "development"
<Directory "C:/AppServ/www/prueba">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
y en el hosts
Código HTML:
Ver original127.0.0.1 localhost
127.0.0.2 prueba
Gracias, saludos