From 30e5e0279463f67d94b1c0f55f2fda97bcf9b1df Mon Sep 17 00:00:00 2001 From: root Date: Sun, 1 Mar 2020 21:18:29 +0100 Subject: password protection --- web/website/test.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 web/website/test.py (limited to 'web/website/test.py') diff --git a/web/website/test.py b/web/website/test.py new file mode 100644 index 0000000..4da1d58 --- /dev/null +++ b/web/website/test.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- + +import mod_python +import fonctions + +def index(req): + req.content_type="text/html" + req.write(fonctions.baseHTML("Test","This is a test page.")) -- cgit v1.2.3