scripts/jabber/403.py
Antoine Durand-Gasselin aaf52989f6 [jabber] ajout du cgi pour créer un compte jabber
darcs-hash:20090728100655-bd074-9a4cf910f821f6b2dc69d8e9c74fe496ea6a37d7.gz
2009-07-28 12:06:55 +02:00

16 lines
517 B
Python
Executable file

#!/usr/bin/env python
# -*- coding: utf-8 -*-
print "content-type: text/html"
print
file=open('/var/www/jabber/template')
html=file.read()
print html % "<p><img src='/erreurs/403.jpg' width='215' height='54' border='0' usemap='#Map'>\
<map name='Map'> \
</map>\
</p>\
<p><b><font size='4'>Page interdite</font></b></p>\
<p>Vous n'avez pas l'autorisation d'afficher ce répertoire ou cette page.</p>\
<p><b>Note :</b> l'inscritpion à jabber n'est possible que depuis les ordinateurs de la zone crans.</p>\
<p></p>"