noAccess.php 616 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. header('HTTP/1.0 401 Unauthorized');
  3. header('Content-Type: text/html; charset=utf-8');
  4. ?>
  5. <!DOCTYPE html>
  6. <html lang="fr">
  7. <head>
  8. <meta charset="UTF-8">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. <title>401 Accès Interdit</title>
  11. <style>
  12. body {
  13. font-family: Arial, sans-serif;
  14. background-color: #f8d7da;
  15. color: #721c24;
  16. text-align: center;
  17. padding: 50px;
  18. }
  19. h1 {
  20. font-size: 2em;
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <h1>Accès Non Autorisé</h1>
  26. </body>
  27. </html>