rossbruniges

Untitled

Apr 19th, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. # HACK: Make the server reload after every hit to refresh django code
  2. #MaxRequestsPerChild 1
  3.  
  4. WSGIPythonHome /var/webapps/make.mozilla.org/virtualenv
  5. WSGISocketPrefix /var/run/wsgi
  6.  
  7. <VirtualHost *:443 *:80>
  8. ServerName make.constituentparts.com
  9.  
  10. DirectoryIndex index.php index.html
  11. Options -Indexes
  12.  
  13. DocumentRoot "/var/www/"
  14.  
  15. Alias /media/ "/var/webapps/make.mozilla.org/current/media/"
  16. Alias /admin-media/ "/var/webapps/make.mozilla.org/current/vendor/src/django
  17. /django/contrib/admin/media/"
  18.  
  19. WSGIDaemonProcess make.constituentparts.com user=make_mozilla group=wsgi pro
  20. cesses=2
  21. WSGIProcessGroup make.constituentparts.com
  22.  
  23. WSGIScriptAlias / "/var/webapps/make.mozilla.org/current/wsgi/playdoh.wsgi"
  24.  
  25. <Proxy *>
  26. AddDefaultCharset off
  27. Order deny,allow
  28. Deny from all
  29. Allow from all
  30. </Proxy>
  31. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment