Sambar Server Environment Variables

Client HTTP Services FTP Time CRON CGI Mail Proxy Dialup Logging DNS Security
Environment Variable NamePresent ValueDescription
Client variables top
RCEremote_addrIP address of the client.
RCEresolvednsPerform DNS lookup on clients. (affects RCEhostname)
RCEhostnameHost name of the client.
RCErequestmethodRequest method (GET | POST).
RCErequestURI requested by client (less query_string).
RCEquery_stringClient query_string variables names/values requested via GET method (URL encoded). (example)
RCEcontent_lengthPOSTed content length.
RCEcontent_typeContent type.
RCEhttp_cookieCookie string.
RCErefererReferer associated with client.
RCEhttp_refererRefering page (same as RCEreferer).
RCEagentClient browser type.
RCEhttp_useragentUser agent (same as RCEagent).
RCEusernameUser name.
RCEloggedinIs the user logged in?
RCEauth_typeAuthorization Type
RCEhttp_accept_charsetUser characterset/language.
RCEhttp_accept_encodingUser preferred character encoding.
RCEhttp_accept_languageUser preferred language.
RCEhttp_pragmaPage cacheing duration.
Server (HTTP) variables top
RCEmaxusersMaximum number of users allowed to be logged in simultaniously.
RCEvhostHost name the client is communicating with.
RCErequestURL request value.
RCEdocument_uriDocument path.
RCEdocument_nameDocument name.
RCElast_modifiedDocument modification time.
RCElast_moddateDocument modification date.
RCEpath_infoPath info.
RCEpath_translatedPath translated.
RCEscript_nameScript name.
RCEuridirURI path.
RCEcontent_lengthContent_length.
RCEcontent_typeContent Type.
RCEstarttimeSambar Server starttime.
RCEsysadminName assocaited with System administrator.
RCEsysadminipThe IP address(es), the administrator can login from.
RCEserveripServer IP address.
RCEportPort on which the server is running.
RCEversionServer version.
RCEservernameServer name.
RCEwatcherRun the server watcher.
RCEwatchertoThe watcher time-out - i.e. the watcher will check the server-state every x seconds and will restart, if the server has crashed.
RCEhomepageServer home page.
RCEdefpageServer default directory page(s).
RCEdocsdirThe document root for the server.
RCErootdirThe path to the installation directory, also know as the server root
RCEmaxconnsThe maximum number of network connections for the server.
RCEcachesizeThe maximum size for the server file cache (in bytes).
RCEnettimeout sec.Network read timeout.
RCEpausedServer paused?
RCEserver_softwareServer software.
RCEserver_nameServer name.
RCEserver_protocolServer protocol.
Services variables top
RCEmailserverAct as Mail server.
RCErunsmtpAct as SMTP server.
RCEdnsserverAct as DNS server.
RCEhttpsserverAct as HTTP SSL server.
RCEtelnetdAct as Telnet daemon.
RCEjavaengJava engine enabled.
RCEusedbmsODBC interface enabled.
FTP Services variables top
RCEftpserverAct as FTP Server.
RCEftpportFTP Port for Server.
RCEftpusersMaximum simultaniously connected FTP users.
RCEftpuploadMaximum amount (in bytes) for a single file-size.
Time variables top
RCEdatetimeCurrent date/time string.
RCEdate_localSame as datetime.
RCEdate_gmtCurrent date/time string in GMT.
RCEhourCurrent hour value (0-23).
RCEminuteCurrent minute value (0-23).
RCEsecondCurrent second value (0-59).
RCEweekdayWeekday value (1-7).
RCEdayDay of the week (1-31).
RCEmonthMonth of the year (1-12).
RCEyearYear value (i.e. 1997).
RCEtimetime() (Seconds since 1/1/1970)
CRON scheduler variables top
RCEcrontimeoutMaximum duration (in seconds) for a CRON scheduled task to complete (unless run in parallel).
CGI variables top
RCEcgiextThe extension(s) configured for cgi processing, outside the regular cgi-bin.
RCEcgitimeout sec.Maximum CGI executaion duration.
RCEcgistderrShow CGI standard error.
RCEcgidirThe path to the cgi-bin directory. If not preceded by a drive letter, this path is relative to the Sambar installation directory.
RCEgateway_interfaceGateway interface.
RCEwincgidirThe path to the wincgi directory. If not preceded by a drive letter, this path is relative to the Sambar installation directory.
RCEwincgiextThe extension(s) configured for wincgi processing, outside the regular win cgi directory.
RCEisapiextThe extension(s) associated with ISAPI plug-ins.
RCEisapidbgISAPI debug level.
RCEssiThe extension(s) configured for Server Side Includes processing.
Mail variables top
RCEmailnameHostname of the mail-server.
RCEmboxsizeMaximum size of a mail-box.
RCEmsgrelayMail relay spool time (ondemand | hourly | daily)
RCEmaildomainsSpace-seperated list of domainnames (-patterns) which are considered local by the SMTP server.
RCEmtaAct as remote MTA.
RCEmaxmsgsizeMaximum message size in bytes.
RCEnomboxMailbox where mail will be transfered to when the mailbox cannot be resolved to a local user.
RCErestrictrelayEnforce relay restrictions (anti-spam)
RCErestrictrelayipSpace seperated list of ip-adresses (-patterns), which are allowed to relay mail.
RCErelayuserUsername to use, when sending mail via the ISP
RCEnumusersCurrent amount of logged in users (admin included).
RCEhasmboxDoes this user have a mailbox?
Proxy variables top
RCErproxyportRemote proxy port.
RCEhttpproxyActing as HTTP proxy.
RCEproxyfilterHTTP Proxy word filter enabled.
RCElogproxyLog HTTP proxy activity to proxy.log
RCEfilteripSpace seperated list of IP(s) to inhibit
RCEftpproxyActing as FTP proxy.
RCEftpportActing as FTP proxy.
RCEnntpproxyActing as NNTP (news) proxy.
RCEnntpserverHostname of the NNTP (news) server.
RCEnntpportNNTP (news) server port.
RCEsmtpproxyActing as SMTP proxy.
RCEsmtpserverSMTP Server for proxy.
RCEsmtpportSMTP Port for proxy.
RCEpop3proxyActing as POP3 proxy.
RCEpop3serverPOP3 Server for proxy.
RCEpop3portPOP3 Port for proxy.
RCEpop3enhPOP3 enhanced proxy functionality enabled.
RCEimap4proxyActing as IMAP4 proxy.
RCEimap4serverIMAP4 Server for proxy.
RCEimap4portIMAP4 Port for proxy.
RCEsocksdActing as SOCKS proxy.
RCEsocksportPort for the SOCKS proxy.
RCErealproxyActing as Real Media (c) Proxy.
RCEbridgeproxyActing as Bridge proxy.
RCEbridgeserverHostname of the bridge-server.
RCEbridgeportPort for the bridge server.
RCErproxyHostname of the remote (caching) proxy. Blank disables the proxy.
RCErealportPort for the Real Media (c) proxy.
Dialup Services variables top
RCEdialupDial-on-demand enabled.
RCEdialtraceLog detailed dial-up connection information to server.log.
RCEdialentryName of the dial-up connection to dial, as configured in RAS (NT) or DUN (9x).
RCEdialuserUsername for login to the ISP.
RCEdialpassPassword for login to the ISP.
RCEdialtimeoutInactivity timeout in seconds. If no proxy requests are received within this period, the server will hang-up the connection.
Logging Services variables top
RCEnoipThe ip-adress(es) which are not logged.
RCEnoreqThe extension(s) which are not logged.
RCElogsizeThe maximum log-size for rotated logs (0 equals no limit).
RCEautologLog rotation frequency.
RCElogformatHTTP server log format.
RCEtracesmtpLog SMTP activity to smtp.log.
RCEtracepop3Log POP3 activity to pop3.log.
RCEtraceimap4Log IMAP4 activity to imap4.log.
RCEtracerouterLog MTA activity to router.log.
RCEtracefetcherLog fetcher activity to fetcher.log.
DNS Services variables top
RCEdnshostsLocation and name of the dns hosts file.
RCEforwarddnsForward DNS requests?
RCEdnsprimaryHostname of the primary DNS server to forward requests to.
Security variables top
RCErealmThe name of the security realm.
RCEshowdirsDirectory browsing allowed.
RCEhtaccessEnforce htaccess.
RCEputusersThe user(s) allowed to upload via the PUT method.
RCEsslcipherSSL cipher type being used.
RCEsslversionSSL version version.
RCEnoscriptexecDisallow cgi/wincgi execution in server-side scripts.
RCEvalidcharsCharacters which are considered valid for FTP filenames.

What other environment variables are available to Sambar Scripting and/or CGIs ?