New server configuration test 2

This commit is contained in:
2024-04-28 23:54:33 +01:00
parent 35804fb276
commit 5a961e49db
2 changed files with 7 additions and 1 deletions

4
app.py
View File

@@ -707,6 +707,10 @@ def test_mysql():
return "<html>MySQL test</html>"
"""
@app.route('/public_html/403.shtml', methods=['GET'])
def error_403():
return "<html>Error 403</html>"
# Onload
if __name__ == '__main__':