APE Server Configuration Apache - APE-Project/APE_Server GitHub Wiki
At this point, we assume your APE server is now configured. It's time to setup the APE JavaScript Framework and check that your APE server is working.
Add to your apache2 virtualhost the following line :
ServerAlias local.ape-project.org
ServerAlias *.local.ape-project.org
or
ServerAlias ape.yourdomain.com
ServerAlias *.ape.yourdomain.com
By default on debian, default virtualhost file is located in /etc/apache2/sites-available/default
Or create a new VirtalHost :
<VirtualHost *>
Servername local.ape-project.org
ServerAlias ape.local.ape-project.org
ServerAlias *.ape.local.ape-project.org
DocumentRoot "/directory/of/your/choice/"
</VirtualHost>
or
<VirtualHost *>
Servername yourdomain.com
ServerAlias ape.yourdomain.com
ServerAlias *.ape.yourdomain.com
DocumentRoot "/directory/of/your/choice/"
</VirtualHost>
This must new virtual host must be enabled with a2ensite followed by a restart of apache /etc/init.d/apache restart
You can proceed to the next step: Configuration DNS