home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / cgi-bin / status_http.pm < prev    next >
Encoding:
Text File  |  2004-05-20  |  2.1 KB  |  70 lines

  1. # AWSTATS HTTP STATUS DATABASE
  2. #-------------------------------------------------------
  3. # If you want to add a HTTP status code, you must add
  4. # an entry in httpcodelib.
  5. #-------------------------------------------------------
  6. # $Revision: 1.2 $ - $Author: joker $ - $Date: 2004/05/20 20:38:42 $
  7.  
  8.  
  9. #package AWSHTTPCODES;
  10.  
  11.  
  12. # httpcodelib
  13. # This list is used to found description of a HTTP status code
  14. #-----------------------------------------------------------------
  15. %httpcodelib = (
  16. #[Miscellaneous successes]
  17. '2xx'=>'[Miscellaneous successes]',
  18. '200'=>'OK',                                # HTTP request OK
  19. '201'=>'Created',
  20. '202'=>'Request recorded, will be executed later',
  21. '203'=>'Non-authoritative information',
  22. '204'=>'Request executed',
  23. '205'=>'Reset document',
  24. '206'=>'Partial Content',
  25. #[Miscellaneous redirections]
  26. '3xx'=>'[Miscellaneous redirections]',
  27. '300'=>'Multiple documents available',
  28. '301'=>'Moved permanently (redirect)',
  29. '302'=>'Moved temporarily (redirect)',
  30. '303'=>'See other document',
  31. '304'=>'Not Modified since last retrieval',    # HTTP request OK
  32. '305'=>'Use proxy',
  33. '306'=>'Switch proxy',
  34. '307'=>'Moved temporarily',
  35. #[Miscellaneous client/user errors]
  36. '4xx'=>'[Miscellaneous client/user errors]',
  37. '400'=>'Bad Request',
  38. '401'=>'Unauthorized',
  39. '402'=>'Payment required',
  40. '403'=>'Forbidden',
  41. '404'=>'Document Not Found',
  42. '405'=>'Method not allowed',
  43. '406'=>'Document not acceptable to client',
  44. '407'=>'Proxy authentication required',
  45. '408'=>'Request Timeout',
  46. '409'=>'Request conflicts with state of resource',
  47. '410'=>'Document gone permanently',
  48. '411'=>'Length required',
  49. '412'=>'Precondition failed',
  50. '413'=>'Request too long',
  51. '414'=>'Requested filename too long',
  52. '415'=>'Unsupported media type',
  53. '416'=>'Requested range not valid',
  54. '417'=>'Failed',
  55. #[Miscellaneous server errors]
  56. '5xx'=>'[Miscellaneous server errors]',
  57. '500'=>'Internal server Error',
  58. '501'=>'Not implemented',
  59. '502'=>'Received bad response from real server',
  60. '503'=>'Server busy',
  61. '504'=>'Gateway timeout',
  62. '505'=>'HTTP version not supported',
  63. '506'=>'Redirection failed',
  64. #[Unknown]
  65. 'xxx'=>'[Unknown]'
  66. );
  67.  
  68.  
  69. 1;
  70.