Skip to content

Instantly share code, notes, and snippets.

@tru
Created February 8, 2013 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tru/4739254 to your computer and use it in GitHub Desktop.
Save tru/4739254 to your computer and use it in GitHub Desktop.
# vim: syntax=apache
<VirtualHost *:80>
ServerName reports.crashdev.plexapp.com
ServerAlias reports.crashdev.plexapp.com
DocumentRoot /data/socorro/application
ErrorLog /var/log/apache2/reports.crashdev.plexapp.com/error.log
LogLevel debug
SetEnv DEFAULT_SOCORRO_CONFIG_PATH /etc/socorro
Options FollowSymLinks
TimeOut 300
WSGIDaemonProcess collector user=socorro threads=10 python-path=/data/socorro/application/application:/data/socorro/application/thirdparty home=/data/socorro
WSGIScriptAlias / /data/socorro/application/application/wsgi/collector.wsgi
WSGIProcessGroup collector
WSGIApplicationGroup %{GLOBAL}
<Location /submit>
LimitRequestBody 20971520
</Location>
# Send anything else to crash-stats
ReWriteEngine on
RewriteCond %{REQUEST_METHOD} GET
RewriteRule .* http://stats.crashdev.plexapp.com
AddDefaultCharset UTF-8
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment