Skip to content

APE Server Configuration Apache

Louis Charette edited this page Apr 19, 2014 · 1 revision

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.

Adding Server Alias in Apache Configuration

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

Now what?

You can proceed to the next step: Configuration DNS

Clone this wiki locally