After installing a ezdemo clean site in a non virtualhost setup there are several errors loading js files (check attached image).
1. Changed apache DocumentRoot to ezpublish5 site root
2. Run the installation wizard using http://localhost/web/index.php
3. Install site
4. During the installation process copy .htaccess_root to .htaccess in ezpublish_legacy folder
5. Open ezdemo front end and activate firebug
6. Reload page and check the errors