НОВОЕ: OS/2 GURU - Вопросы и ответы

Reviews / articles about OS/2

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

Latest  
 
 

Unsorted

 

 

Upgrade ArcaOS to NeoWPS level

  • Install original PNG icons drawed by designer, specialized at OS/2 adornation.
  • Install eSchemes 2018 to change colors and buttons on desktop.

IBM WEB Traffic Express as a caching proxy


TITLE: IBM WEB Traffic Express as a caching proxy

DATE: 2001-09-21 02:39:17

AUTHOR: Alex Slyotov
Please use online translator
go to http://translate.google.com
and request the translation of http://ru.ecomstation./projects/reviews/index.php?id=24
to your language

IBM WEB Traffic Express . .... ........... ......


...........

........ ... ....... ..-.. ...., ... ... .. .......... SQUID. ...... .... .......... ............ ... ..... ..... - ... .... ... ...... ......... ........ ...... ..... . .................. ..... ... .. ........... ........ ...... SQUID'a, .. ... .............. ........ .. ... "........" ... OS/2 ........

......... (. .. .............:), ....... .., .. .... .. .........., .. .. ..... ....... . ... ...., .. ........ ....., ...... ............ ......... SQUID'. . ........ ........... ...... ..., ... ... .. .....-....... .......... ........... SQUID'... . OS/2 .., . ......., ........ .. ..... ............ . ....... .... ........ ...... .......... ......! ...... .. ... . ........ ...... ......

... .... ...

..... .. .... ......., ... IBM WEB Traffic Express (. .......... - WTE) .. ............ ........ .......... ....... .... ... IBM Internet Connection Server, IBM Internet Connection Secure Server, . ... .. Lotus GO WEB Server. .... ......... ........ ........... 100% .............. ........ WTE, .. ... ...... - ... ........ ....... ........., .... .... ...... ................ WTE ........ . .... .... ... .. ....... ........ .. ...... ICS(S)'.., .. ...... Lotus GO WEB Server'a. ...., ... . ... ....... ....., IBM WTE - ............. ........... .......... Lotus GO WEB Server'.. ... ..... WTE ... ..... ...... .......... ...... ............. .............. . .... ...... .... . ............ OS/2 ........-......, .. ....... . ........ ........... ...... ........ WTE v1.1.2. ....... ....... ...... ....., ... . SQUID ... .... ....... :). .... . ... .........., ....... ........ ...... . .... ...... ..... SQUID. :)

... .. .... ............ IBM WEB Traffic Express ?

... ...... ..... ................... WEB-...... . .......... CGI, JSP, ............ ............. . .... ..., .... ......... ... ... ..........., . .......... ........ ............ ...... . ...... . .............. ...... .. ..... ........ ..... .. ............ WTE - ...... ........ ... .......... ...... ....... ...... .. ..... ........ . ....... ...... ......-......... ... WTE ...... ... . ......... .... ....... .......... ...... (. ..........) . ... WTE ....... . .... ..... ..... ....., ... ........... ......... ......, T-Shell, detach, . ..... ..., ... ..... ..... ......... ........ .. ........ .........., ........ . ...... ..., ... ...... ..... ........ ....... ..... ....... .......... ..... ..... ...... .. ...... ... ... ...... "......"! . WTE PM .........! (. .... ...... ......, .......... . ........ .......). .., ... ., ......... "..... ......" - ......... .........

... ..., ... ......., . ......... .... .............. ...., . WTE ........... ..........

... ... ....... ...:

.. ....... ............ ......... ...... ....., ... ............. ..... ......... . ........ ....... .......... ........ .........., ..... ........ ......, ...... ......... . .......... ........, . ...... ...-........ ..... ....... ... . ... ...... . ......... ....... .. ..... .... .... WTE ....... ............, .. .. .. ...... ........ ........... ...... .......... .......... .. ...-.......... ..... ...., ... . .... ...... .. ..... ..... ...... ......... ... ... ... ....... ...... ........ .. ....... ... ... .......... .. ....... ........ .. ...-....... ...-..... ......... .. ............... ........... .. .........., . ..... ...... ..... ............

........... . ......... .......... WTE

......... ... ........ . .... ......... ............. .......... 3 ...... WTE: 1.0, 1.1.1 . 1.1.2. .. ..... .... .., ....... .., ....... .... ......., ... WTE ........ ......... ...... IBM WEB Sphere ........, . ... .......... .. ...... ... OS/2 ........., .. ....... ........... .. ......... "........." ...... WTE - 1.1.2.

....... ........... .. ...... ....... . ... ........... ... ... ..... ...... . ........ ............, ... . .... ....... . ..... ........ WTE ".. ......" ........... ...... (. .. HTTP-.......) - ........ ..... ......... .. ............ 80 ..... ... HTTP ......... ... ............... ....... ............. . ...., . ......., WTE "....." .. 8080 ..... (3128-. .... ..... .......). . ........, ... ... ......... ..... ........ ...... . ..... ..........., ... ... .. ........... .... "........ ......".
.... .. .. ...... ....., ............ ............., WTE ........... . ....... \WWW .. ..... ...... ........... ..... ..... . \WWW\BIN, ...-..... - . \WWW\LOGS . .... ........ .. .............., ... .......... ...... ...... ..... ........ . ......, . ..... ....... ...... . ........ ....... . ............ ............ .. ... ............. WTE .. HPFS ....... ... .......... .................. ..... .......... HPFS386 ........ ........ ... - .. .........!

...., ........... ......... . ... ............ .............. ... .......... ....... . ........... ..... . .......... . CONFIG.SYS. ...............

..... ............ ..... .......... . ................ WTE. ..., ......., ..... ....... .... .... ...... . .. ......... .. ... ........ . ......... ...., ... .. ........ ................ .... .. .... .. ............ ........... .......... ................ .... WTE .......... httpd.cnf . ............. ..., .... ......... ......... .......... %ETC% - ...... ... \MPTN\ETC ........ HTTPD.CNF ........ ....... ......... ...... . ....... ... ....... ......... ............ ..... .... ............ (...... .. ..........). ... .. ...... ............. .... .... .. ...... .......... ........., . ..... WTE ......... ......... .......... ... .............. .., ... ... ...... . .......... .......... SQUID'a, ...... ...... .... .. ......, ...... . WTE .... ..... ....... ........... ......... . .......... ........... ..., .. ........, .... ..... . .., .. ... .... .. ....... ". ...". ....... ...... ............ :)

.... ........., ... WTE ........ . ...... ....... ........... WWW-........ . ............., ... IBM ............. ........... .............. .......... . HTTPD.CNF .. ...... WWW-........, . ..... ...... . ..... ........... ...... ...... ............ ....... ... . ...... ............... ........ ................ ..... . ......... ........., .. ....... ..... ............ . ...... (........ ... .......... ...............). .... ... .............. ............ .......... ......... .......... WTE, .. WWW-......... ... ........ ........ "Restart" ..... ....... .. WTE .......... ....... . ............ ........ ........ - . .... ...... ...... WTE .. ...........! ...... ...... ............... . ........ ...... .... ....... ........ ............ . ... PM .......

... .. .. .......... . ........... PM ...... . ......... WWW .......... .... .. ....... ... PM ...... ......... .. ... ......, . ....... .............. ........... WTE . ... ......... ........ ........... ........... ... ...... .. ........... .......... ...... ........ ......... ............ . .... .............. ...... .... ...... ... ......... .. .... ..........., . ... ....... ....... :) . ..... .......... ......: "Server Activity Monitor" = http://WTE_host_address:..../Usage/Initial

.. ......... ........... 4 ......: "Basic status", "Network status", "Access log" . "Proxy log", . ..... ...... "Refresh now" ... .......... .......

............ ... ......... .......... WTE ..... WWW-......... ..... ..... ..... . ....., .. ... ... ... ... ....... .... .. ........... ...... . .......... ..... ....... ....... ...., ....... .............

......... .......... .. ...... WTE . ........ ........... ......

... ........ WTE . ..... ........... ...... ....... .......... .......... ........ ......... "Port" . ........ .. 80. ........:
#        Port directive:
#
#        Port used by the server.
#        NOTE: If you are not root, you have to use a port above 1024;
#              good defaults are 8000, 8001, 8080.
#
#        Default:  80
#        Syntax:   Port .num.
Port  8080
......... .... .......... ........ .. .......... ...-......, ....... ..... ....... ........:
#        If you want logging, specify locations for your logs:
#
#           AccessLog      - used for logging local document requests
#           AgentLog       - used for logging browser requests
#           RefererLog     - used for logging requests which are refered
#           ErrorLog       - used for logging any errors
#           CgiErrorLog    - used for logging any CGI errors
#           ProxyAccessLog - used for logging proxy requests
#           CacheAccessLog - used for logging hits on proxy cache
#                            (only valid if server running as proxy)
#
#        NOTE: To enable logging of requests to the proxy cache, the
#              following must be defined:
#
#              Caching MUST be turned ON (default is OFF)
#              CacheRoot MUST be defined (by default, no CacheRoot is defined)
#              CacheAccessLog MUST be defined
#
#        Defaults:  AccessLog     d:\www\logs\httpd-log
#                   AgentLog      d:\www\logs\agent-log
#                   RefererLog    d:\www\logs\referer-log
#                   ErrorLog      d:\www\logs\httpd-errors
#                   CgiErrorLog   d:\www\logs\cgi-error
#        Syntax:    .directive. .fullpath-filename.
# Example:
ProxyAccessLog   C:\WWW\LOGS\proxy-access
CacheAccessLog   C:\WWW\LOGS\cache
ErrorLog         C:\WWW\LOGS\error
AccessLog        C:\WWW\LOGS\access
AgentLog         C:\WWW\LOGS\agent
RefererLog       C:\WWW\LOGS\referer
CgiErrorLog      C:\WWW\LOGS\cgi-error
.... ........ .... ........, ... . ........ extension ... ...... ...... WTE ...... .... .. ......... ... ...... ..... ...-...... ....., ........, ......:
proxy-access.Aug312001
cache.Aug312001
error.Aug312001
access.Aug312001
agent.Aug312001
referer.Aug312001
cgi-error.Aug312001
... ..... ...... ... .............. . ..... ........... ....... .. ............ .......

... ....... ...-...... . ........... ........ ....... . ............ .......... ............ .......... ..... ........ WEB Trends. . ......... ... Win32 .......... . ... .. .........., .. ...... ....... . ..... ... ........ ...... .. ...... .. ........ . ............ ......... ............ . ......... .... ..... ...... .. "WEB Trends Log Analizer". ..., .... .. .... .........., . .... .......... ... ....... ... ............. .... :)

..... .... ......... ...... .......... ..... ........... ...-...... (...... ....., ......, ..... . PM-.... WTE . ....). ..... .. .... ........... ..... ......... .. ... ......... ...... .... .......... ....... ............ ..............

......... .... .......... (Mapping rules) ........, ......., ..... ........... .. ........ .. ...............(............) ....... ............ .. ............ ...... .... ...... ...... . ..... ......... ... ...... ... .......... - ... ... ..... ...... ........, ....... . ..........., ....... ..... ........ ... .., ......... .. ........., .............. ......, ....... . ......... ..... ......... ..... ......... ... ........... ....... ........ .......... ..... .... ........: Pass . Fail. . ........ ....... ....... ..... ...... ....... ........:

Pass       http://ad*.*.*/*  C:\WWW\ICONS\empty.gif
Fail       http://ad*.*.*/*
Pass       http://az.yandex.ru/*  C:\WWW\ICONS\empty.gif
Fail       http://az.yandex.ru/*
Pass	   http://banne*.*.*/*  C:\WWW\ICONS\empty.gif
Fail	   http://banne*.*.*/*
Pass       http://www.penilesecrets.com/*  C:\WWW\ICONS\empty.gif
Fail       http://www.penilesecrets.com/*
Pass       http://ww*.yandex.ru/cgi-bin/*  C:\WWW\ICONS\empty.gif
Fail       http://ww*.yandex.ru/cgi-bin/*
Pass       http://*.linkexchange.*/*  C:\WWW\ICONS\empty.gif
Fail       http://*.linkexchange.*/*
Pass       http://ww*.reklama.ru/*  C:\WWW\ICONS\empty.gif
Fail       http://ww*.reklama.ru/*
Pass       http://affiliate.km.ru/img/*  C:\WWW\ICONS\empty.gif
Fail       http://affiliate.km.ru/img/*
... .. ...... ...... ....... ............ ..... ......... ...... ......... - Pass ......... ...... ....... . ...... ....... .. ...... .......... ... .......... ....... ............ . ........ ......... . ........ ......... .... ........., . ...... - Fail .......... . ........ ......... ... ......... ......... . ....... .......... . ........ .. .......... .......... ........ WTE .. ..... ....... ........ ......... .... ....... ............ .......... .......... . ......., . ......., http://ads.firma.com/banner.gif, .. ......... 2 .........:

Pass . .......... "http://ad*.*.*/* C:\WWW\ICONS\empty.gif"

.

Fail . .......... "http://ad*.*.*/*"

...... ......... ............ ...... ...... .. ........ ............. (... WTE) ........ empty.gif, . ...... - ........ ......... . ..... ........ ..... http://ads.firma.com/

. ........ ... ........... ....... .......... ..... ......... Fail, .. ..... .. ... ...... ........., .. ....... ...... "..........." .......-......... ......., .. .. ......... "....." . ......... "403 Forbidden by rule.", ..., ..........., . ..... ............ ........ .. ..... ............... .......... ......... ......... Pass, ........... ........... ........ .. ..... empty.gif, .. ..... .... ...... ........... ........

... ............ .. .... ... ........? .. ... ......! ......... ... empty.gif ............ .. .... .......... ........... ........ 1.1. ... ... ...... ......... ......... ..... ....... . .... ........ ....... .. ...... ............... (. ....... Fail), .. . .......... .......... (. ....... Pass).

. ......... WTE .. ..... ...... ........ . ..... ...... ... ......... JavaScript ........... ........ ..... .... ........ (...... ........-.......... ..........), .. ... .. ..... .......... .... . .. ............. ..., .. .... .. ......... ........ .......... .. .... ........ ... ..... .......... ......... Fail . ...... ...... .......... . .... ... ..... ...:

Fail       http://*porn*/*
Fail       http://*sex*/*
Fail       http://*xxx*/*
Fail       http://*erot*/*
Fail       http://*fuck*/*
Fail       http://*hardcore*/*
.... .... . ..... .............. URL ........... ...... ........ ........... . ........ - . ........... ..... .... ........ .. ....... ..... .... ....... "403 Forbidden by rule."
.......... ...... .......... ........ ............ .. ...... ......... .......... ......... ........, .. . ......... ..... ............. .... ........ ..., ........, ..... ......... ....... .. ...... ........... ........ .......... ......-.. .......-"... ..........." . ........... (... ... ......) ... .......... ............ .. ........ ........
..-..... ...... ... ..... ..... ....... ....... ........ .. ... ...... . .......... ....... ... .... ..........., . . .......... ..... ... ........ ...... ....... ............

......... ..... .......... (Performance directives) ........ .. ......... .................. ...... ........ ... . . ..... ...... ....... ............ .................. .... .... ..... ............ ...... . ...... ............... ....... . .... ........ ...... ....... .......... ..... .......... .......... .. .................. ...... ....... WTE. ....:

#        MaxActiveThreads directive:
#
#        Defines the maximum number of threads in system thread pool.
#
#        Default:  40
#        Syntax:   MaxActiveThreads  .num.
MaxActiveThreads  32
.... ........ ......... ........... .......... .......... ............ ........ ..... (......). . .......... ......... ... ........... .. ....... ..... ............ ........... . WTE ................ ......... ....... ............, . ......., .......... .. 2 ...... .., ....... .., ...... ..... ....... .... 200 ... ..... ......, .. .... . ..., ... ... ...... ...... ..............., ... ...... ...... ..... ........ WTE . ... ......... ..... .. ......... ...... ......, .. . ...? . .... ... ...... 1000.. . ......... PXXXXX-10000000. .., ... ., ....... ..... ....... ...... ......, . ... ... . .... ... . ....... ...... ...... . ... ... ......., ... "... ...... .... . ...."(.). .... ........... ..-..., .. ..... ..... ........ . 486-. ........... . 32.. ....... . .... ...... PII-400, .. . ...... 256.., .. ... .. ..... ... ............ .............. ... ....... ..... 32-. ....... . ......... ... ..... ................. .......... ....... ... .. 100.

. ... ... . .... ..... ..... . 2 .... ........... ........ ..-..........

#        MaxPersistRequest directive:
#
#        Maximum number of request to receive on a persistent connection.
#
#        Default:  100
#        Syntax:   MaxPersistRequest .num.
MaxPersistRequest 200
.... . ..., ... . ... ..... ..... ...... ..... ....... FlashGet'... . GetRight'..., ....... . .... ....... ..... ..... ......... ..c...... download-...... . .......... .........., ... ......... ........ .... ........ ......... .......... .. .... . ... .. URL. ........ ... ..... 200 ........ ....... .......... (. ...... ... ... ....... .. ......... . ..... ......... ............ ........).
#        ServerPriority directive:
#
#        Default:  1
#        Syntax:   ServerPriority  .0 | 1 | 2.
#
#        Note:    This is the priority on your system you want your server to run.
#                 0 -  background process (no priority)
#                 1 -  maximum priority as a background process
#                 2 -  maximum priority as a foreground process.
ServerPriority 1
..... - ... .. .......... ......... = 1. ... ...... ....... ... ...... ... ......... .. ... . ...., . . ... ... ..... ......... ............. ........ .... .......... ........... .. .......... ...... ....... ... ... ....... - .......... ......... ...... .. ..... .......... .........

....-... ......... (Timeout directives) .... ..... ....... . .......... ......... . ....................

#
#        Use these directives to:
#           * limit the time to wait for the client to send a request
#             after connecting to the server before cancelling the connection.
#           * limit the time to allow for sending output to the client.
#           * limit the time to allow for server scripts to finish.
#             (If the program does not finish within allotted time, the server
#              will send a TERM signal and then a KILL signal 5 seconds later
#              to stop the program.)
#           * limit the time to wait for the client to send a request
#             after establishing a persistent connection to the server
#             before cancelling the connection.
#
#        Default:  InputTimeout    2 minutes
#        Default:  OutputTimeout  20 minutes
#        Default:  ScriptTimeout   5 minutes
#        Default:  PersistTimeout  10 secs
#        Syntax:   .directive. .time-spec.
InputTimeout   30 secs
OutputTimeout  20 minutes
ScriptTimeout   5 minutes
PersistTimeout 10 secs
. ..., . ......., ........ ...... ..... . ........ . ..... 2 ...... .. "InputTimeout" ...... ... ....... .... URL .. .......... . ....... 30 .... ... ......, ... ...... ...... "....." . .......... ... ... ... ............. "....." ..... ..... :)

...... .......... ......... ...... .......... ........... ......-........ . ....... ...... .......

#
#        Specify the protocols that this proxy server will forward:
#
Proxy   http:*
Proxy   ftp:*
#Proxy   gopher:*
..... ....... ......... ....... ..... ................ ..... WTE .. ......... ...... ...... . ........ ...... ...... ... ....... .. .......... ........... .. ........ . .......... "gopher" ...... . ... ...... ................

. . .... ..... .......... .. .......... ..... .......... ...... ......., ...... .... ........ .... ........, ... ... ...... .......... ..... ....... ...... ...... .......!

#
#        Proxy-to-Proxy directives:
#
#        Pass requests for a particular protocol to another (proxy) Web Server
#        instead of contacting the the system named in the URL.
#
#        Default:  .none.
#        Syntax:   .request_proxy. .URL.
#
# Example:
http_proxy    http://192.168.1.15:3128/
ftp_proxy     http://192.168.1.15:3128/
# gopher_proxy  gopher://other.proxy.name/
... . .... ...... ...... "ftp_proxy http://192.168.1.15:3128/" .. ......! .. ..... ......... ...... . ....... ........ FTP ......... .............. ...... HTTP ........

......... .... .......... ........ .. "........ ........". ... ..... ....... WTE, ... ....... ............ ....... .. .... .............

#
#        no_proxy directive:
#
#        Specify the domains to which the server should directly connect.
#        Specify the value as a string of domain names or domain name
#        templates. Separate each entry in the string with a comma.
#
#        Do NOT put any spaces in the string.
#        You CANNOT use the wildcard character (*).
#        You CAN specify a template by including only the last part of a domain name.
#
#        Default:  .none.
#        Syntax:   no_proxy .non-proxy domain specification.
#
# Example:
no_proxy   .ourdomain.ru,.ourdomain.net,192.168,10.10

...... ....... .......... ..... ......... . WTE ........ .. ........... ...........
.., ... ......, .... .. ....... ........ .... ........... ...........:

#
#        Turn on proxy caching here.
#
#        NOTE: You MUST also specify the CacheRoot directive.
#
#        Default:  off
#        Syntax:   Caching .on | off.
Caching on

..... .... ....... ..., .........., .. ........... ....... ...:

#
#        CacheRoot directive:
#
#        Specify the directory that the server will use for caching files.
#        If this directory is not specified, the proxy server will not attempt
#        to cache documents.
#
#        NOTE: If this directive is specified using the Configuration and
#              Administration forms, the directory will be created automatically.
#              If you define the directory by manually editing the configuration
#              file, you need to create the directory with the appropriate
#              permissions to enable the server to cache documents in it.
#
#        NOTE: You MUST also turn "on" the Caching directive.
#
#        Default:  .none.
#        Syntax:   CacheRoot .directory.
#
# Example:
CacheRoot       c:\www\cache
.... ......... ... ..., ... . ..... .......... ............ HPFS386 ......., ... ... ...... WTE . ....., ........ ... ....... .......... ................ ........, ....... ..... ....... ...... .. ........ .......... ........... HPFS386 ...... ... .......... ........ .. ........ .......... ... ... ..... ............ ....... ......... .... ...... "..........." 2 ...

......... .... .......... ........ .. ......... ..... ........ .......... . .....

#
#        CacheDefaultExpiry directive:
#
#        Specify the expiry date for files which do not include an explicit
#        expiry date and do not have a last-modified date that would allow us
#        to compute an expiry based on the CacheLastModifiedFactor. This is
#        most useful for protocols that do not have any way to transmit this
#        information, such as FTP or Gopher.
#
#        NOTE: The default expiration for HTTP is 0. HTTP should be kept at 0
#              because many script programs don't give an expiration date, yet
#              their output expires immediately. A value other than zero may
#              cause problems.
#
#        Defaults:  http:*    0 days
#                   ftp:*     1 day
#                   gopher:*  2 days
#        Syntax:    CacheDefaultExpiry .URL pattern. .time period.
#
# Example:
# CacheDefaultExpiry ftp:*   1 hour

CacheDefaultExpiry     http:*         0 days
CacheDefaultExpiry     ftp:*          1 day
# CacheDefaultExpiry     gopher:*       2 days
... HTTP ........ .......... ....... ...... ........., ..-.. ....... .. .......... ........ ........... ............ ......., . .... .. .......... .... ........ ........ .. ...., .. ...... ........ ........ . ............ .......... . ......... .......

. ... .... .... ........ .. ......... .......... .......... ........ ................ ...... . .... WTE. ....... ....... ...... ....., ... ....... ............... ........ .............. ...... .. .... .......... Garbage Collection.

#
#        CacheUnused directive:
#
#        Specify how long the proxy cache should keep files which have not
#        been used (requested by a client). Unused files which have been in
#        the cache longer than this will be removed during garbage collection.
#
#        Default:  .none.
#        Syntax:   CacheUnused .URL pattern. .time period.
#
# Example:

CacheUnused   ftp:*    1 day
CacheUnused   http:*   2 days
# CacheUnused   gopher:* 1 day

......... .... .......... ........ .. ......... ........ . ....... ....... .. ...... .......... ......:

#
#        CacheLimit_1 and CacheLimit_2 directives:
#
#        The caching system has two limits for filesizes. The upper limit
#        (CacheLimit_2) specifies the maximum size for any file that will be
#        cached. The lower limit (CacheLimit_1) is used by the garbage-collection
#        algorithm to decide what pages to remove from the cache. Any files smaller
#        than the lower limit will not have their size considered when the server
#        decides what files to remove from the cache; files larger than the
#        lower limit are progressively more likely to be removed from the cache.
#        The value for CacheLimit_1 and CacheLimit_2 can be specified in
#        bytes (B), kilobytes (K), megabytes (M), or gigabytes (G).
#
#        Default:  CacheLimit_1  20 K
#                  CacheLimit_2  400 K
#        Syntax:   CacheLimit_1  .bytes. .B|K|M|G.
#                  CacheLimit_2  .bytes. .B|K|M|G.
#
# Example:
# CacheLimit_1 4 K
# CacheLimit_2 64 K

CacheLimit_1       20 K
CacheLimit_2       400 K
... .......... ......... ....... .... (Garbage Collection) ..... ........ ...... ....... ...... (CacheLimit_1) .. ......... . ...... ........... ......... ..... ......... . .... ..... ......... ..... ...... ....... ..... ..... CacheLimit_1 . CacheLimit_2 ........... ....... ..... (CacheLimit_2) ..... ...... ... ........ WTE ........... ........... ....... ........... ...... ... . ...... ...... ..... ........ ..... 400.. .. ..... .......... . ....

. ... .... .... .......... ........ .. ......... ....... . ....... ........ ............ .... ..... ............ ... .........:

#
#        CacheLockTimeOut directives:
#
#        Specify how long a file being cached can remain locked.
#
#        NOTE: Set CacheLockTimeOut to a value equal to
#              or greater than OutputTimeOut.
#
#        Default:  20 Mins
#        Syntax:   CacheLockTimeout .num. Mins
#

CacheLockTimeOut  20 Mins
... .... .... .. ....., . ........ .. ......... .... ...., ......... ... ......(.. .. ...), ... ..... ......... ........ ....... .... .... . ....... 20 ..... .. ...... ........ ... .. . ....., . .. .... WTE. . ..... ....... ..... ........, . ..... .. ..... ...... ..... .... ........ ........? .. .... ........ ......., .. ..... ......, ... ... ....... . ..... .......... .................. ....... ... ... ........... ...... ......... .. ......... ........... ..... ... .......... ... ..... ....... ...., ... ........... ....... ..... .. ..... ...... ............. WTE.

...... .... .......... ........ .. ........ URL . ....... ...... .... .... .........., .... ...... .. .... ........... .... ..... .... .... .......... ..............., ... ... ..... .... ..... ........ ........., .. ... .. .. .... . .... .... ...... ......... WTE ................:

#
#        CacheOnly and NoCaching directives:
#
#        The server allows control over the files to be cached in two ways.
#
#        CacheOnly - specifies a set of URLs which will be considered for
#                    caching (URLs not in that list will never be cached)
#        NoCaching - specifies a set of URLs which must never be cached,
#                    (all other URLs are candidates for caching)
#
#        Default:  .none. (for both CacheOnly and NoCaching)
#        Syntax:   CacheOnly .URL pattern.
#                  NoCaching .URL pattern.
#
# Example:
# CacheOnly   http://www.ibm.com/*
# NoCaching   http://www.ourdomain.ru/*

......... .... ........ .. ......... ....... .... (. ..........) .. ..... ........... ... ...... ...... . ........ ........ . ..., ... . ......... ........., .... ............. .......... ........... ... ........ . ............. .. . ..... ..................:

#
#        CacheSize directive:
#
#        Specify the size of the proxy server's cache (in megabytes).
#
#        Default: 5 M (5 megabytes)
#        Syntax:  CacheSize .size. M
#
# Example:
# CacheSize 20 M
CacheSize       500 M

.., ... .. . ......... .. ... ..... .......... "........ .........", ....... ........ ....... ... .. "........" ....... ...., ........ ........... ........ - ... .......... ... .......... ..... ........ . ........:

#
#        Gc (Garbage Collection) directive:
#
#        In order for a caching proxy server to function efficiently, it needs to
#        sweep through the cache and remove out-of-date files on a regular basis.
#        This is called 'garbage collection'. It should only be turned "off" in
#        special circumstances, such as during an extended network outage.
#
#        Default:  on
#        Syntax:   Gc .on | off.
Gc on
. ...... ...... GC .......... . . .... ........ .............. ..... ........... ...... .. ....... ......... WTE ..... .. ...... ......... .... ........ ..............., ... GC ...... ........... ..........
#
#        GcDailyGc directive:
#
#        Because garbage collection can take a significant amount of CPU resources,
#        it should be scheduled to take place when the load on the proxy server is
#        low. Use this directive to specify the time for garbage collection, using
#        a 24-hour clock; this will be assumed to be local time (not GMT).
#
#        Default:  03:00
#        Syntax:   GcDailyGc .hh:mm.
#
# Example:

GcDailyGc 03:00
. ...... ...... . .......... .. ......... .. ......... . ......... ..... ....... . 3 .... .....

... . ...... ........ GC ..... ........... ...... ... .. ........... ......... .... .......... ... ... ........ .. ...:

#
#        GcMemUsage directive:
#
#        Used to restrict the amount of memory used by the garbage collection
#        process. Memory usage is specified in Kbytes (only). Setting this to
#        a small value will cause garbage collection to be extremely inefficient.
#        The minimum value is 20.
#
#        Default:  1000
#        Syntax:   GcMemUsage .Kbytes.
#
# Example:

GcMemUsage 32000
... . ... ....... .... .. ......, .. ....... .......... ... WTE, ..... 256.. ......, ....... . ........ .... ........ 32.. .. .......... ......... ....... .....

.. .... ... ..... WTE, ... ........... ...... ......., ......... . ......., ... .... ......... . . ...... .... .......... ... ............ .... ....... . ...... ........ . . ....... ..... ...... .. ....... ......... WTE ... ....... ..... ...... .. .... ..... ... ... .. ...-.. ......... ... .. .. ........, ... ......... ....... ............ ..... ........ . .... ......, .. . ............ .......... ... ...... ... .......... . ........... . ...... ... . ......... ........... - ......... ............. ... . WTE ..... ...... . ... ... ..... ........ ......... ..... ... ....... ..... ...... .. .... ....... . ...... ....... ...... ....

..... .... .......: .. ....... .................. . ...........! (........... .. ......, . ...........) ...... ....... .. ......... ........ ... ..... .... - ...... ................. ......, .., . ...... ......., .... ... ....... ... ......... ... .... ......, .. ........ .. . ... .. ......... ............ ...., ....... ....... ... .. . .......... .......

......:

. ......... . .... ...... .... ...... .. .... . ............. WTE ...... 1.1.2 . DLL ......... ...... WTE .. ..........., .. . ........ ... ............. ......... . . ...... ....... WTE, . ..... Lotus Go WEB Server (....... ...... freeware). ... ... .... ... .. ....... ....... ...... WTE 1.1.2 - . ... . ...... .... ... ......... .......... :)

PS: .... ......... ........ . ......... ....... ftp://ftp.kot.spb.ru .. .., ... ... ... .......... ........... ...... .. ... ......., .. ... ... ... .... ........ ......... ......... ....... (..... www.filesearch.ru) . ....., ... ... .... .. ..... .. .......

Test the program:

How to listen mp3, flac, ogg, monkey audio files? PM123 - universal audio player.

Commenti:

Timur Kazimirov
2001-09-21 05:26:34

....... .. ..... ..... .......... . ..... ........ .. ........ . WTE ...... ... . Web-.......? . ..... .. ... ............ . ... . ... ............ .. ..... ......?

Andrei Porodko
2001-09-21 14:44:33

... ..... ...... ... ......... ... WTE ;-)
. ..... ....... .. ........ . .... ........ ... ... ...... 5-.. ....
........ ... ........ ........... ......... ........ . .....
.. ... .... .. ....... .......... ....... . ........ .. ......, ....... . ........ . Web-............
..... ........ .......... .. ... ...... ....... IBM-...

Alexander Lapshin
2001-09-24 23:45:39

2:Andrei Porodko
... .. ....... ".. ......, ....... . .......".
..... .. ......... ......?

Vad Rodnev
2001-09-25 11:46:19

2 Andrey Porodko:
... ....... .. .......... ........... . ........ ....... ..... ...............

Andrei Porodko
2001-09-25 17:50:39

2 ...www.os2.spb.ru ...... rproxy

Popov Roman
2001-09-30 11:25:50

.. ...... Timur Kazimirov

........ . ... ... . ... ...... .. 80-.. ...... . ......... .... ....... .... ...... - 80 (.... ....... ........
Port 80
..........
)

Mike
2001-10-01 18:49:24

.., . ..... ......., .... ...... .. ......... ........ .......... ...... . .... ....... ........ .....-...., ... ........... ........ .................. ............, ...... ...... ...... .... ........... .......... ......... ... .. .... . ......... .... .. .. ....., . ..... .. ...... ., .... . ......... ....., ... ... .. ... . ..... ...... ....... .. ..... ......... .... .......... ......... .. ......... ....... . .......... . ..... .... .. ......... . .....
. ..... .. ................ - "....... ........".

Do you have an article or review of eCS application / technology? eComStation.RU site can publish it in 1 day! Contact the editor

 


 

(C) OS2.GURU 2001-2021