www.pudn.com > acdx.rar > HttpStrings.h


#if !defined(HttpStrings_H) 
#define HttpStrings_H 
 
 
#define	IDS_STATUS_OK           "200 OK" 
#define	IDS_STATUS_CREATED      "201 Created" 
#define	IDS_STATUS_ACCEPTED     "202 Accepted" 
#define	IDS_STATUS_NOCONTENT    "204 No Content" 
#define	IDS_STATUS_MOVEDPERM    "301 Moved Permanently" 
#define	IDS_STATUS_MOVEDTEMP    "302 Redirection" 
#define	IDS_STATUS_NOTMODIFIED  "304 Not Modified" 
#define IDS_STATUS_BADREQUEST   "400 Bad Request" 
#define	IDS_STATUS_UNAUTH       "401 Unauthorized" 
#define	IDS_STATUS_FORBIDDEN    "403 Forbidden" 
#define	IDS_STATUS_NOTFOUND     "404 Not Found" 
#define	IDS_STATUS_SVRERROR     "500 Internal Server Error" 
#define	IDS_STATUS_NOTIMPL      "501 Not Implemented" 
#define	IDS_STATUS_BADGATEWAY   "502 Bad Gateway" 
#define	IDS_STATUS_SVCUNAVAIL   "503 Service Unavailable" 
 
 
 
#define	IDS_LONGTIME            "%a, %d %b %Y %H:%M:%S %z" 
#define	IDS_TIMEFORMAT          "%m/%d/%y %H:%M:%S" 
#define	IDS_OPTIONS             "Server Options" 
#define	IDS_FILETIMEFMT         "%m/%d/%y %H:%M" 
#define	IDS_HTTPTIME            "%a, %d %b %Y %H:%M:%S GMT" 
#define	IDS_SERVER_NAME         "XServer/1.0" 
#define	IDS_LOGFILEFMT          " Log %Y%m%d.hsl" 
#define	IDS_STATUSFMT           " %03d  \t" 
#define	IDS_DOCTITLE            "%s (http://%s:%d)" 
#define	IDS_LOG_HEADER          "Hit Log for %s\n\n" 
#define	IDS_LONG_DATE           "%A, %B %d, %Y" 
#define	IDS_DOCTITLE_NOPORT     "%s (http://%s)" 
#define	ID_INDICATOR_UPTIME     "Uptime: 999d 99h 99m" 
#define	IDS_ERROR_NOTDIR        "The specified root folder is not a directory." 
#define	IDS_ERROR_NOTTHERE      "The specified root folder does not exists." 
#define	IDS_WINSOCK_FAILED      "Failed to load WinSock services!" 
 
#define	IDS_BAD_ROOT            "The specified root directory either does not exists or is not a directory." 
#define	IDS_DEFAULTDOC          "default.html\ndefault.htm\nindex.html\nindex.htm" 
#define	IDS_DIRMASK             "*.*" 
#define	IDS_DEFAULTAPP          "default.exe\ndefault.bat" 
#define	IDS_DEF_ROOT            "WebPages" 
#define	IDS_APP_CGI             "bat\nexe" 
#define	IDS_APP_ISAPI           "dll" 
#define	IDS_CANT_LISTEN         "Can't start server!" 
#define	IDS_INVALID             "%s (Error! Not Listening!)" 
#define	IDS_LISTEN_INUSE        "Port %d is already in use!\n\nMake sure there is no other applications or instances of HttpSvr running that are already bound to that port." 
#define	IDS_LISTEN_ERROR        "Can't listen on port %d!\n\nMake sure the TCP/IP transport is set up correctly and that no other applications are already listening on that port." 
#define	IDS_NOT_LISTENING       "Server not listening" 
#define	IDS_CONTENTS_PRE        "

" #define IDS_CONTENTS_POST "

\n" #define IDS_CONTENTS_HEADING "

 Last Modified       Size %sName\n
\n" #define IDS_CONTENTS_FORMAT " %-15s %s %s%-1s\n" #define IDS_CONTENTS_DESC "The URL specified is a folder that does not contain a default document or application. The following is a listing of what documents and subfolders it does have; please select one:

\n" #define IDS_CONTENTS_PARENT "


%s Parent Folder

\n" #define IDS_CONTENTS_EMPTY "empty\n" #define IDS_CONTENTS_NOTE "
Do your part to beautify the web! Turn off link underlining!\n" #define IDS_CONTENTS_FOOTER "
\n" #define IDS_ICON_BLANK "" #define IDS_ICON_FILE "" #define IDS_ICON_FOLDER "" #define IDS_ICON_PARENT "" #define IDS_UPTIME_START "Uptime: 00h 00m" #define IDS_UPTIME_DAY "Uptime: %Hh %Mm" #define IDS_UPTIME_DAYS "Uptime: %Dd %Hh %Mm" #endif