# Apache configuration for Booktype server V1.0.1
# CHANGE THIS
ServerName booki.test.nl
SetEnv HTTP_HOST "booki.test.nl"
SetEnv LC_TIME "nl_NL.UTF-8"
SetEnv LANG "nl_NL.UTF-8"
WSGIScriptAlias / /var/www/mybooki/booki.wsgi
Allow from all
Options FollowSymLinks
Alias /static/ "/var/www/mybooki/static/"
Order allow,deny
Options Indexes
Allow from all
IndexOptions FancyIndexing
Alias /site_static/ "/home/rdv/Booki/lib/booki/site_static/"
Order allow,deny
Options Indexes
Options FollowSymLinks
Allow from all
IndexOptions FancyIndexing
Alias /media/ "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/"
Order allow,deny
Options Indexes
Options FollowSymLinks
Allow from all
IndexOptions FancyIndexing
ErrorLog /var/log/apache2/booktype-error.log
LogLevel warn
CustomLog /var/log/apache2/booktype-access.log combined
#Objavi2
ServerAdmin webmaster@localhost
#XXX set server name
ServerName objavi2.test.nl
# limit MEM to 800 million bytes
RLimitMEM 800000000
#Sometimes it takes a while. Wait.
TimeOut 600
DocumentRoot /home/rdv/objavi2/htdocs
Options FollowSymLinks
AllowOverride None
Options +All +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AddHandler cgi-script .cgi
# Remove output filters in case mod_deflate is being used.
RemoveOutputFilter .cgi
DirectoryIndex index.html objavi.cgi
ErrorLog /var/log/apache2/objavi-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/objavi-access.log combined
#ScriptLog /tmp/objavi-cgi.log
ServerAdmin webmaster@localhost
ServerName publish.test.nl
DocumentRoot /home/rdv/objavi2/htdocs/shared
Options FollowSymLinks
AllowOverride None
Options +All
AllowOverride None
Order allow,deny
Allow from all
Alias /static /home/douglas/objavi2/htdocs/static
CustomLog /var/log/apache2/access.log combined