From a6aac52ce23fdf2b86e76cdb312f21f1f7e4cccf Mon Sep 17 00:00:00 2001 From: baskayj Date: Tue, 21 Dec 2021 19:01:23 +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 e946c4b..8d1d2e2 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 + 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 - WSGIScriptAlias /your_app /var/www/html/your_app/your_app.wsgi + 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** 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 + ErrorLog ${APACHE_LOG_DIR}/error.log # **Logging** LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined