Source code of Windows XP (NT5)
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.

53 lines
1.8 KiB

  1. /*--
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name: HTTPCOMN.H
  4. Author: John Spaith
  5. Abstract: Registry settings and default values used by httpd.dll, the http
  6. admin object, and ASP.
  7. --*/
  8. // Default settings for httpd that are used by admin object and httpd.
  9. #define HTTPD_DEFAULT_PAGES L"default.htm;index.htm"
  10. #define HTTPD_ALLOW_DIR_BROWSE 0 // 1 --> allow directory browsing, 0 --> don't
  11. #define HTTP_DEFAULTP_PERMISSIONS HSE_URL_FLAGS_EXECUTE | HSE_URL_FLAGS_READ | HSE_URL_FLAGS_SCRIPT
  12. //------------- Registry keys -----------------------
  13. // These are used by httpd and by the httpd administration object.
  14. #define RK_HTTPD L"SOFTWARE\\MICROSOFT\\UPnP Device Host\\HTTP Server"
  15. #define RK_HTTPDVROOTS L"SOFTWARE\\MICROSOFT\\UPnP Device Host\\HTTP Server\\VROOTS"
  16. #define RK_ASP L"SOFTWARE\\MICROSOFT\\UPnP Device Host\\HTTP Server\\ASP"
  17. #define RV_PORT L"Port"
  18. #define RV_BASIC L"Basic"
  19. #define RV_NTLM L"NTLM"
  20. #define RV_DIRBROWSE L"DirBrowse"
  21. #define RV_DEFAULTPAGE L"DefaultPage"
  22. #define RV_PERM L"p" // permissions
  23. #define RV_AUTH L"a" // authentication reqd
  24. #define RV_USERLIST L"UserList" // Per vroot Access Control List
  25. #define RV_MAXLOGSIZE L"MaxLogSize" // largest log gets before roll over
  26. #define RV_FILTER L"Filter DLLs"
  27. #define RV_LOGDIR L"LogFileDirectory"
  28. #define RV_ADMINUSERS L"AdminUsers"
  29. #define RV_ADMINGROUPS L"AdminGroups"
  30. #define RV_ISENABLED L"IsEnabled"
  31. #define RV_POSTREADSIZE L"PostReadSize"
  32. #define RV_EXTENSIONMAP L"ExtensionMap"
  33. #define RV_ASP_LANGUAGE L"LANGUAGE"
  34. #define RV_ASP_CODEPAGE L"CODEPAGE"
  35. #define RV_ASP_LCID L"LCID"
  36. #define RV_MAXCONNECTIONS L"MaxConnections"
  37. typedef enum
  38. {
  39. VBSCRIPT,
  40. JSCRIPT
  41. } SCRIPT_LANG;