Skip to content
Wayne Graham edited this page May 7, 2013 · 3 revisions

Ubuntu

Apache2

In /etc/apache2/sites-available/neatlines

ServerTokens Prod

<VirtualHost *:80>
    ServerAdmin [admin@email.com]

    ServerName [primary-domain.com]
    ServerAlias *.primary-domain.com
    UseCanonicalName Off
    VirtualDocumentRoot /var/neatlines/%0/current

    <Directory />
        AllowOverride all
        allow from all
        Options FollowSymLinks Indexes MultiViews
    </Directory>

    LogLevel warn
    ErrorLog ${APACHE_LOG_DIR}/neatline_error.log

    CustomLog ${APACHE_LOG_DIR}/neatline_access.log
    
</VirtualHost>

Enable the vhosts:

$ sudo a2ensite neatlines

More Information

Clone this wiki locally