L'outil de gestion de stock de composants électroniques du Tetalab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

stock.tetalab.org.conf 1.1KB

12345678910111213141516171819202122232425262728
  1. Define IP_ADDR 192.168.122.69
  2. Define TCP_PORT 80
  3. Define SRV_NAME stock.tetalab.org
  4. Define ROOT_DIR /var/www/stock.tetalab.org
  5. Define WSGI_ALIAS /var/www/stock.tetalab.org/stock.tetalab.org.wsgi
  6. Define DAEMON_PROCESS tetastock
  7. Define APACHE_USER apache
  8. Define APACHE_GROUP apache
  9. Define THREAD_NUMBER 5
  10. <VirtualHost ${IP_ADDR}:${TCP_PORT}>
  11. ServerName stock.tetalab.org
  12. ServerAdmin bofh@tetalab.org
  13. DocumentRoot ${ROOT_DIR}
  14. RemoteIPHeader X-Forwarded-For
  15. RemoteIPInternalProxy 192.168.122.0/24
  16. WSGIDaemonProcess ${DAEMON_PROCESS} user=${APACHE_USER} group=${APACHE_GROUP} threads=${THREAD_NUMBER}
  17. WSGIScriptAlias / ${WSGI_ALIAS}
  18. <Directory ${ROOT_DIR}>
  19. WSGIProcessGroup ${DAEMON_PROCESS}
  20. WSGIApplicationGroup %{GLOBAL}
  21. Order deny,allow
  22. Allow from all
  23. AllowOverride All
  24. Require all granted
  25. </Directory>
  26. ErrorLog /var/log/httpd/${SRV_NAME}.error.log
  27. CustomLog /var/log/httpd/${SRV_NAME}.access.log combined
  28. </VirtualHost>