This article is also available in our new Knowledge Base: Vhost Error: DocumentRoot must be a directory
Zend Server on Mac
Manually creating a vhost using TextEdit
It appears from our users' experience, that when you create a vhost manually under Apache conf, with TextEdit, the double quotes are inserted with non-standard characters (actually reversed).
Good: DocumentRoot "/Documents/PHPProjects/workspace" Bad: DocumentRoot “/Documents/PHPProjects/workspace”
Option 1: Use a simple text editor to edit vhosts, then test Apache config before restarting (apachectl -t)
Option 2 (Easier): Use Zend Server UI Applications -> Virtual Hosts page to create and edit vhosts under Zend Server.