apache.wsgi.example.txt 791B

12345678910111213141516171819
  1. <VirtualHost *:8888>
  2. ServerName pod
  3. WSGIProcessGroup pod
  4. WSGIDaemonProcess pod user=www-data group=www-data threads=4 python-path=/home/daccorsi/sources/protos/pod/tg2env/lib/python3.2/site-packages
  5. WSGIScriptAlias / /home/daccorsi/sources/protos/pod/pod/app.wsgi
  6. #Serve static files directly without TurboGears
  7. Alias /images /home/daccorsi/sources/protos/pod/pod/pod/public/images
  8. Alias /favicon.ico /home/daccorsi/sources/protos/pod/pod/pod/public/favicon.ico
  9. Alias /css /home/daccorsi/sources/protos/pod/pod/pod/public/css
  10. Alias /javascript /home/daccorsi/sources/protos/pod/pod/pod/public/javascript
  11. CustomLog /var/log/apache2/pod-access.log combined
  12. ErrorLog /var/log/apache2/pod-error.log
  13. LogLevel info
  14. </VirtualHost>