WSGISocketPrefix ${APACHE_RUN_DIR}

<VirtualHost *:80>
        DocumentRoot /srv/CHANGE_THIS_PATH/www/osqa/
        ServerName CHANGE_THIS
        ServerAlias CHANGE_THIS


        Alias /osqa/m/ "/srv/CHANGE_THIS_PATH/www/osqa/forum/skins/"
        <Directory "/srv/CHANGE_THIS_PATH/www/osqa/forum/skins">
                Order allow,deny
                Allow from all
        </Directory>

        Alias /osqa/upfiles/ "/srv/CHANGE_THIS_PATH/www/osqa/forum/upfiles/"

        <Directory "/srv/CHANGE_THIS_PATH/www/osqa/forum/upfiles">
                Order deny,allow
                Allow from all
        </Directory>

        Alias /admin_media/ /usr/lib/python2.6/dist-packages/django/contrib/admin/media/
        <Directory /usr/lib/python2.6/dist-packages/django/contrib/admin/media>
            Order allow,deny
            Allow from all
        </Directory>
        WSGIScriptAlias / /srv/CHANGE_THIS_PATH/www/osqa/osqa.wsgi

        CustomLog ${APACHE_LOG_DIR}/osqa.access.log common
        ErrorLog ${APACHE_LOG_DIR}/osqa.error.log
</VirtualHost>

# Caching some files
FileETag none
ExpiresActive On

ExpiresByType application/javascript "access plus 3 months"
ExpiresByType image/jpg "access plus 3 months"
ExpiresByType image/jpeg "access plus 3 months"
ExpiresByType image/gif "access plus 3 months"
ExpiresByType image/png "access plus 3 months"
ExpiresByType image/x-icon "access plus 3 months"
ExpiresByType text/css "access plus 3 months"
