How to set up virtual host?
http://localhost will access to all the projects in the file,
http://zf11.localhost will access to only one project and also set the document_path upto that's public folder
Please take the backup of files, before alter to avoid any issue further.
Do the Following simple steps,
1) Tell the system, what to do when called http://zf11.localhost
Add the Following, in above file
127.0.0.1 localhost 127.0.0.1 zf11.localhost
2) Tell the apache, to include extra file
Uncomment the following line
3) Tell the apache, what to do when request come from http://zf11.localhost
Add the following line, in the end
Allow from all