 |
Директивы модуля Core ????????? ?????? Core
????? ?????????????? ??????? ??? ???????????? ???????:
SV AllowEncodedSlashes off | on (????????? ????????? ??????? ? URL, ? ?????? ??????? ?????? ?????????????? '/' ??? '\' (%2F ??? %5C); ????????????? ?? ???????????? ? ????? ??????)
SV DocumentRoot ???? (??????????, ??? ????????? ?????? ?????????? ??????? ??? ???????????? ???????; ??????????? ? ????????? ????? URL ??? ? ?????????????? ????? ????? ??? ??????????? ??????????? ????? ?????)
SV ErrorLog ???-????? | syslog:facility (logs/error_log; ???? ???????? ????????? ?? ???????; ???? ??? ????? ?????????? ? ??????? '|', ?? ??? ????????? ?????????)
SVD HostNameLookups off | on | double (?????????? ?? ??? ??????? ?? ??? IP-??????; double - ??????? ???????? ????????, ????? ????? ?????? ? DNS, ????????? ????????????)
SVD IdentityCheck off | on (??????????? identd (RFC 1413) ?? ?????????? ?????????? ??? ????????????? ???????)
SV KeepAlive on | off (??????????? ????????? ????????, ?? ???????? TCP-?????????? ? ????????)
SV KeepAliveTimeout ?????? (15)
SV LimitInternalRecursion ????? [?????] (10; ??????????? ????? ?????????? ??????????????? ? ???????????)
S LimitRequestFields ????? (100; ???????????? ????? ????? ? ????????? ???????)
S LimitRequestFieldsize ???? (8190; ???????????? ?????? ???? ?????????)
S LimitRequestLine ???? (8190; ???????????? ????? ?????? ??????? - ?????, URI, ??????)
SV LogLevel emerg | alert | crit | error | warn | notice | info | debug (warn; ????????? ?????? ?????? ??????????? ?????????? ? ?????? ??????)
S MaxKeepAliveRequests ????????????-?????-????????-???-keep-alive (100)
S NameVirtualHost addr[:port] (??????????? ??????????? ???? ? ??????? ??????/?????: ??????? ?? ???? ????? ????? ?????????????? ?????? ????? ????? ???????????? ???????; ???? NAT ??? ?????? ????????????? ??????? ??????? ?? ?????? IP ?????, ?? ????? ?????????? ??????? ????? ?????)
SV ServerAdmin email-address
V ServerAlias ??????????????-???-????? ... (?????? ?????????????? ????? ??? ???????????? ????? ? ?????????? ? ServerName)
SV ServerName ??????-???????-???[:????] (???????????? ??? redirect; ? ?????? ???????????? ????? ?????????? ???????? ???? "Host:" ??? ????????????? ????????)
V ServerPath ???? (??? ???????, URI ??????? ?????????? ? ???? ????? ????????????? ???? ??????????? ????????; ????? ? ???? ?????? ??????????????? ????; ????????? ??? ?????????? ????????, ?? ??????? ????????? ????????? "Host:")
S ServerRoot ??????-???-?????????? (?????? ?????, ??? ????? ??? ????? ???????; ?????? ????????????? ????????????? ????? ??????)
S ServerTokens Major | Minor | Minimal | ProductOnly | OS | Full (Full; ??? ?????? ???????? ? ???? ? ????????? "Server:", ????????? ?????:
- ProductOnly - Server: Apache
- Major - Server: Apache/2
- Minor - Server: Apache/2.0
- Minimal - Server: Apache/2.0.42
- OS - Server: Apache/2.0.42 (Unix)
- Full - Server: Apache/2.0.42 (Unix) PHP/3.0 MyMod/1.2
S TimeOut ?????? (300)
SVD UseCanonicalName on | off|DNS (??? ?????? ?????????? ???? ???; ???????????? ??? ????????? URL, ??????????? ?? ???? ?? ??????:
- On - ???????????? ???, ???????????? ? ServerName
- Off - ???????????? ????????? ?? ??????? ????????????
- DNS - ??? ?????????? ????????, ?? ?????????????? ????????? Host:
??????????? ?? ??????????? ???????? ? ???????????:
SVDFLA EnableMMAP on | off (???????????? mmap(); ??? ??????, ?????????? ? ???????? ???????? NFS ? SMB ????? ?????????)
SVDFLA EnableSendfile on | off (???????????? sendfile(); ??? ??????, ?????????? ? ???????? ???????? NFS ? SMB ????? ?????????)
SVDFLA LimitRequestBody ???? (0, ?.?. ?????????????)
SVDFLA LimitXMLRequestBody ???? (1000000)
SVDFLA RLimitCPU soft-limit max-resource-limit (?????? ???????????? ????? ?????? CPU ??? ?????? CGI ?????????; ??? ????????? ????? ???? ?????? ??? ?????? max)
SVDFLA RlimitMEM soft-limit max-resource-limit (?????? ???????????? ????? ????, ??????? ????? ???????????? CGI ???????; ??? ????????? ????? ???? ?????? ??? ?????? max)
SVDFLA RlimitNPROC soft-limit max-resource-limit (?????? ???????????? ????? ?????????, ??????? ????? ????????? CGI ???????; ??? ????????? ????? ???? ?????? ??? ?????? max)
???????? ????????? ?????????????? ? ????????? ? ???? ????????? ???????:
SVDFLA AcceptPathInfo Default | On | Off (??? ?????? ? ?????????, URI ??????? ???????? "??????" ??????? ? ?????:
- Off - ?????????? ??? 404
- On - ???????? ????, ??? ???????? ????????? ? ??????? ???? ? URI
- Default - ? ??????????? ?? ???????????: ?????????? ??????? ?????? ?????????? ??? 404, ??????????? ???????? ????????? ??????
SVDFLA AddDefaultCharset Off | On | ???-????????? (??? ??????? ???? text/plain ? text/html ????????? ????????? ? ????????? ?????????; on - iso-8859-1)
SVDFLA AddOutputFilterByType ??????[;...] MIME-??? ... (?????????? ????? ?? ?????? ?? ???? ?????????? ??????? ? ??????????? ?? MIME-????:
AddOutputFilterByType DEFLATE text/html text/plain
SVDFLA ContentDigest Off | On (???????? ? ????? ????????? Content-MD5:)
SVDFLA DefaultType MIME-??? (text/plain)
SVDFLA ErrorDocument ???-?????? ???????? (????? ????????? ???????? ? ?????? ????????? ??????; MSIE ???????? ???????? (????? 512 ????) ????????? ???????????; ??????????? ???:
- default
- "????? ?????????"
- /?????????-URI-???? (? ?.?. ??????)
- http://???-?????...
SVDFLA FileETag ???????-????? ... (????? ???????? ????? ???????????? ??? ????????? ????????? ?????? "ETag:" (???????????? ??? ???????????) - INode, MTime, Size, All, None; ????? ?????? ???????? ????? ?????? ??????????? ??????? '+' ? '-')
DFLA ForceType MIME-??? | None (????????? ???? ??????? ????????? MIME-???)
SVDFLA Options [+ | -]????? ... (All; ????? ????? ??????? ???????? ??? ?????? ??????????:
- None
- All (????? MultiViews)
- ExecCGI - ??????????? ?????????? CGI
- FollowSymLinks - ?????? ?? ?????????? ??????? (???????????? ? ?????? Location; ??? ????????? ???????????? ???????? ???)
- Includes - ???????????? SSI
- IncludesNOEXEC - ???????????? SSI, ????? exec ? include CGI
- Indexes - ???????????? ??????? ??????????, ???? ??????????? ???? index.html
- MultiViews - ?????????? ????????????? ??????? ? ??????????? ?? ???????????? ??????? (??? ????????, ????, ????? ???????? ?????????) (?? ???? ??? ????????)
- SymLinksIfOwnerMatch - ????????? ?? ?????????? ???????, ?????? ???? ???????? ???????? ????? ????????? c ?????????? ?????? (???????????? ? ?????? Location)
SVDFLA ServerSignature Off | On | EMail (????????? ?????????? ?????????? ? ??????? ? ????? ??????????????? ??????????: ????????? ?? ???????, ?????? ???????? ? ?.?.)
SVDFLA SetHandler ???-??????????? | None (?????????? ?????????? ????? ??? ?????????? ?? ???????? ??? MIME-????)
SVDFLA SetInputFilter ??????[;...] (?????? ???????????? ????? ????????? ???????)
SVDFLA SetOutputFilter ??????[;...] (????? ???????????? ????? ????????? ???????)
?????????????? ? ???????????:
DFLA AuthName ?????-??????????? (????? ????? - realm - ??????????? ?????? ?????? ???????????? ??? ??????????????; ???????? ?? ????? ??? ??????? ????? ? ??????)
DFLA AuthType Basic | Digest
DFLA Require ??? ??? [??? ...] (????? ??????????????????? ???????????? ????? ????? ??????:
- user {???-????????????} (?????? ???????????? ? ??????? ???????)
- group {???-??????} (?????? ???????????? ?? ?????? ??????)
- valid-user (????? ??????????????????? ????????????)
DFLA Satisfy All | Any (???? ???????????? ???????????? ?????? ??????????? Allow ? Require, ?? ????????? ??????????? ?? ????? ????????? ??? ?????? ?? ???)
?????? ?????????? ?????????? (MPM)
? ??????? ?? ?????? ?????? Apache 2 ????? ???????????? ????????? ?????? ?????????? ?????????? (MPM). ?????? ????? ???? ?????? ?????? ? ????? MPM. MPM ???????????? ?????? ?????????, ??????? ? ???????? ???????? ???????? ? ???????? ??? ??????. ??????? ???????? ???? ????????, ????? AssignUserID - ??????. ???? MPM:
prefork - MPM ? ?????????? (??? ? Apache 1.3); ??????? ???????, ??????? ??????? ?????????? ????????? ???????, ???????? ??????????? ??????? ? ???????????? ??? ????????? ???????????????? ????????; ?????????:
- MinSpareServers ????? (5; ??????????? ????? ???????? ?????????; ??????????? ???????? ????????? ? ?????? 1 ????? ? ???????)
- MaxSpareServers ????? (10; ???????????? ????? ???????? ?????????; ?????? ???????? ???????????)
worker - ????????? MPM: ??????????? ????????? ?????????, ?????? ?? ??????? ????? ????????? ????????????? ???????; ?????????:
- ThreadsPerChild ????? (25; ????? ??????? ?? ?????? ????????????? ???????; ????????? ??? ??????? ????????, ????? ??????? ??????? ?? ????????)
leader - ????????????????? ??????? MPM worker (--with-mpm=leader ? --enable-nonportable-atomics=yes)
threadpool - ????????????????? ??????? MPM worker
perchild - MPM ? ????????????? ??????????? ?????????, ???????? ??????????? ? ?????????? ???????????? ? ????? ??????????? ????????? ?????????? ???????; ???????? ?????????????? ??? ????????????; ?????????:
- NumServers ?????-?????????
- ChildPerUserID uid gid ?????-?????????
- AssignUserID uid gid (???????????? ??? ???????? ???????????? ???????)
- StartThreads ????? (5 ???? ?? ??????? ??? perchild, ??????? ????????????? ??????? ????????? ? ?????? ??????)
- MaxThreadsPerChild ????? (64)
????? ?????????:
Listen [IP-?????:]???? (????????????? ????? (?? ????????? - ??? ??????????) ? ????; ????? ???????????? ????????? ???)
ServerLimit ????? (256 ??? prefork, 8 ??? perchild, 16 ??? ?????? ????????? MPM; ???????????? ????? ?????????; ?????? ???????? ??? ???????????)
ThreadLimit ????? (64; ???????????? ????? ??????? ?? ?????????; ?????? ???????? ??? ???????????)
MaxClients ????? (256 ??? prefork, ServerLimit*ThreadsPerChild ??? ????????? MPM; ??????????? ????????? ????? ???????????? ????????????? ????????; ????????? ??????? ???????? ? ??????? ?? ListenBacklog ????)
ListenBacklog ????? (511; ?????? ??????? ????????, ????????? ?????????????? ???????? ??? ??????)
MaxRequestsPerChild ????? (10000; ????? ???????????? ?????????? ????? ?????????? ??????? ??????????? - ?? ?????? ??????; 0 ???????? ?????????????)
User uid (-1; ????????????? ???????????? ? ?????? Unix, ? ??????? ???????? ????? ??????????? ????????????? ????????)
Group gid (-1; ????????????? ?????? ? ?????? Unix, ? ??????? ??????? ????? ??????????? ????????????? ????????)
MaxMemFree ?? (0, ?.?. ?????????????; ??????? ?????????????? ?????? ????? ??????????, ?? ??????? free())
AcceptMutex ????? (Default - ???????????? ??? ??????; ????? ??????? ???????? ?? ????????????? ?????????: flock, fcntl, posixsem, pthread, sysvsem)
LockFile ???-????? (logs/accept.lock; ????, ???????????? ? ??????? fcntl ? flock; ?????? ??????????? ?? NFS ???????)
StartServers ????? (5 ??? prefork, 3 ??? ????????? MPM; ??????? ????????????? ????????? ????????? ? ?????? ??????)
MaxSpareThreads ????? (10 ???? ?? ??????? ??? perchild, 250 ???? ?? ???? ?????? ??? worker ? ??? ??????????? (??? ??????? ??????????? ???????? ???????); ??? ????????? MPM ?????????? ???????????? ????? ???????? ????????????? ???????)
MinSpareThreads ????? (5 ???? ?? ??????? ??? perchild, 75 ???? ?? ???? ?????? ??? worker ? ??? ??????????? (??? ?????????? ????????? ????? ????????, ? ?? ??????); ??? ????????? MPM ?????????? ??????????? ????? ???????? ????????????? ???????)
SendBufferSize ???? (0, ?.?. ???????????? ??; ?????? ?????? TCP)
CoreDumpDirectory ???????
PidFile ???-????? (logs/httpd.pid; ?????????? ???????? ???? ???????? SIGHUP ??? ?????????? ?????? ????????????????? ?????)
ScoreBoardFile ???-????? (logs/apache_status; ? ???? ????? ???????? ?????????? ??? ??????????? ?????? ????????? ???????; ???? ??? ?? ???????, ?? ????????????? ???????????? ????? ??????????? ??????, ?.?. ??????????? ???????)
EnableExceptionHook On|Off (Off; ????????? ???? --enable-exception-hook ??? ??????; ????????? ?????????? ?????????? ????????? ?????????? (mod_whatkilledus ??? mod_backtrace) ???????)
|
|