LoadModule deflate_module modules/mod_deflate.so
# If we don't do this ourselves, the askbot wsgi app will do it incorrectly
# it seems that it doesn't evaluate the X-Forwarded-For header appropriately.
#RedirectMatch ^/$ https://ask.stg.fedoraproject.org/questions/
#The below needs to be apache writable
Alias /m/ /var/www/html/askbot/static/
Alias /admin/media/ /usr/lib/python2.6/site-packages/django/contrib/admin/media/
Order deny,allow
Allow from all
WSGIDaemonProcess askbot user=apache group=apache maximum-requests=1000 display-name=askbot processes=6 threads=1 shutdown-timeout=10 python-path=/etc/askbot/sites/ask
WSGISocketPrefix run/wsgi
WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1
WSGIScriptAlias / /usr/sbin/askbot.wsgi
ExpiresActive On
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
SetOutputFilter DEFLATE
WSGIProcessGroup askbot
Order deny,allow
Allow from all
Alias /upfiles/ /srv/askbot-uploaded/
Order deny,allow
Allow from all