From 2212d4a0f71de1b6c5577cfd3a8f4b0a941491d3 Mon Sep 17 00:00:00 2001 From: baskayj Date: Tue, 21 Dec 2021 19:01:56 +0100 Subject: [PATCH] Update 'Quick Guide to publishing websites on hal.elte.hu with Python3 backend' --- ...ing-websites-on-hal.elte.hu-with-Python3-backend.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md b/Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md index 8d1d2e2..bb088ca 100644 --- a/Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md +++ b/Quick-Guide-to-publishing-websites-on-hal.elte.hu-with-Python3-backend.md @@ -30,12 +30,12 @@ This file contains the paths to all the important Files needed for Apache2 to ru ``` ServerAdmin username - DocumentRoot /var/www/html/your_app # **All data for your site “should” be at /var/www/html/** + DocumentRoot /var/www/html/your_app # All data for your site “should” be at /var/www/html/ - WSGIDaemonProcess your_app python-home=/var/www/html/your_app/your_app/venv python-path=/var/www/html/your_app/your_app:/var/www/html/your_app/your_app/venv/local/lib/python3.9/site-packages threads=5 # **Location of your Python3 virtualenv** - WSGIScriptAlias /your_app /var/www/html/your_app/your_app.wsgi # **Your site will be available at hal.elte.hu/your_app** + WSGIDaemonProcess your_app python-home=/var/www/html/your_app/your_app/venv python-path=/var/www/html/your_app/your_app:/var/www/html/your_app/your_app/venv/local/lib/python3.9/site-packages threads=5 # Location of your Python3 virtualenv + WSGIScriptAlias /your_app /var/www/html/your_app/your_app.wsgi # Your site will be available at hal.elte.hu/your_app WSGIApplicationGroup %{GLOBAL} - # **Location of your Python scripts** + # Location of your Python scripts WSGIProcessGroup your_app WSGIApplicationGroup %{GLOBAL} Order deny,allow @@ -46,7 +46,7 @@ This file contains the paths to all the important Files needed for Apache2 to ru Order allow,deny Allow from all - ErrorLog ${APACHE_LOG_DIR}/error.log # **Logging** + ErrorLog ${APACHE_LOG_DIR}/error.log # Logging LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined