AllowOverride None Require all denied Require all granted AllowOverride None Require all granted ServerName MY_LOCAL_IP DocumentRoot /usr/local/elixir/ SetEnv LXR_PROJ_DIR /srv/elixir-data/ # restart-interval is 12 hours WSGIDaemonProcess Elixir processes=16 threads=1 \ display-name=%{GROUP} restart-interval=43200 \ home=/usr/local/elixir/ python-home=/usr/local/elixir/venv/ WSGIApplicationGroup %{GLOBAL} WSGIProcessGroup Elixir WSGIScriptAliasMatch "^/(?!static/)" /usr/local/elixir/wsgi.py/$1 AllowEncodedSlashes On RewriteEngine on RewriteRule "^/$" "/linux/latest/source" [R] RewriteRule "^/robots.txt$" "/static/robots.txt" [L] RewriteRule "^/favicon.ico$" "/static/img/favicon.ico" [L]