L'application de gestion du staff du THSF: https://participer.thsf.net
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.

participer.redatomik.org.conf 1.0KB

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