Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <VirtualHost *:80>
  2. WSGIScriptAlias / /var/www/tbg/django.wsgi
  3.  
  4. ServerName 192.168.1.20
  5. ServerAlias tbg
  6. DocumentRoot /var/www/tbg/
  7.  
  8. Alias /static /usr/local/lib/python2.7/dist-packages/django/contrib/admin/static/
  9. Alias /media /var/www/tbg/media/
  10.  
  11. XSendFile On
  12. XSendFilePath "/var/www/tbg/file/"
  13.  
  14. <Directory /var/www/tbg>
  15. Require all granted
  16. </Directory>
  17. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement