Skip to content
Snippets Groups Projects
Commit 4580176a authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Link to wsgi

parent ae2cafb7
No related branches found
No related tags found
No related merge requests found
......@@ -107,16 +107,4 @@ It is implemented using `libapache2-mod-fcgid` and `mod_suexec` via an ISG manag
## Python 3 web applications
We allow to host Python 3 web applications using [WSGI](https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface), which is enabled on demand only (please [[contact us|services/contact]]).
- The WSGI app lives at: `/home/wwwshare/public`
- The WSGI entry point is usually at: `/home/wwwshare/public/wwwshare.wsgi`
If you make changes to the source code, you have to tell the webserver to restart the WSGI app by modifying the file time stamp on the WSGI entry point:
```bash
touch /home/wwwshare/public/wwwshare.wsgi
```
Our WSGI uses a [virtual environment](https://compenv.phys.ethz.ch/python/ecosystem_1/30_virtual_environments/) at `.venv/`, which contains any custom python modules.
Some python modules may be installed system wide if they are used on multiple websites (like for example Django).
See [[/web/wsgi]].
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment