You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
518 B

  1. #!/usr/bin/python
  2. # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; -*-
  3. from decorators import WSGISimpleAuth # decoratore ( singleton )
  4. auth = WSGISimpleAuth()
  5. def application( environ, start_response ):
  6. start_response( '200 OK', [('content-type', 'text/html; charset=utf-8')] )
  7. return [
  8. "<center>",
  9. "<h1>FORBIDDEN</h1>",
  10. "<img src='/attack_dog.jpg'>",
  11. "<br><br><br>",
  12. "Maybe you should go back to <a href='/index.html'>index</a>",
  13. "</center>"
  14. ]