php IHDR w Q )Bæa pHYs sRGB ®Îé gAMA ±üa ÔIDATxíÜMk\U Çás&uo,ÖmÄD )Xwî+Çe?ºtw.oàWpå§;³°QHZnw¢`gaiJ9ÞÑÒÌçûŸýÍaî=·nl[ Êš GÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î úž·y H¯@E7jÍ 1j+OF¥Rg}Ü«;@EÖa¹±ùáÓ~ ÿj`Ùuû'o> ÙjÝ- $_§q?ŸqžS XzG'åóay
files >> /var/www/html/sub/images/sym/root/opt/lampp/manual/mod/ |
files >> /var/www/html/sub/images/sym/root/opt/lampp/manual/mod/core.html.ja.utf8 |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>core - Apache HTTP ãµãŒã ããŒãžã§ã³ 2.4</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> <script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body> <div id="page-header"> <p class="menu"><a href="../mod/">ã¢ãžã¥ãŒã«</a> | <a href="../mod/directives.html">ãã£ã¬ã¯ãã£ã</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">çšèª</a> | <a href="../sitemap.html">ãµã€ãããã</a></p> <p class="apache">Apache HTTP ãµãŒã ããŒãžã§ã³ 2.4</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP ãµãŒã</a> > <a href="http://httpd.apache.org/docs/">ããã¥ã¡ã³ããŒã·ã§ã³</a> > <a href="../">ããŒãžã§ã³ 2.4</a> > <a href="./">ã¢ãžã¥ãŒã«</a></div> <div id="page-content"> <div id="preamble"><h1>Apache ã³ã¢æ©èœ</h1> <div class="toplang"> <p><span>翻蚳æžã¿èšèª: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../en/mod/core.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Español"> es </a> | <a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/core.html" title="Japanese"> ja </a> | <a href="../tr/mod/core.html" hreflang="tr" rel="alternate" title="TÃŒrkçe"> tr </a></p> </div> <div class="outofdate">ãã®æ¥æ¬èªèš³ã¯ãã§ã«å€ããªã£ãŠãã å¯èœæ§ããããŸãã æè¿æŽæ°ãããå 容ãèŠãã«ã¯è±èªçãã芧äžããã </div> <table class="module"><tr><th><a href="module-dict.html#Description">説æ:</a></th><td>åžžã«äœ¿çšå¯èœãª Apache HTTP ãµãŒãã®ã³ã¢æ©èœ</td></tr> <tr><th><a href="module-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr></table> </div> <div id="quickview"><h3 class="directives">ãã£ã¬ã¯ãã£ã</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#acceptfilter">AcceptFilter</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#acceptpathinfo">AcceptPathInfo</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#accessfilename">AccessFileName</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#adddefaultcharset">AddDefaultCharset</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#allowencodedslashes">AllowEncodedSlashes</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#allowoverride">AllowOverride</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#allowoverridelist">AllowOverrideList</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#cgimapextension">CGIMapExtension</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#cgipassauth">CGIPassAuth</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#contentdigest">ContentDigest</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#defaultruntimedir">DefaultRuntimeDir</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#defaulttype">DefaultType</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#define">Define</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#directory"><Directory></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#directorymatch"><DirectoryMatch></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#documentroot">DocumentRoot</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#else"><Else></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#elseif"><ElseIf></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#enablemmap">EnableMMAP</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#enablesendfile">EnableSendfile</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#error">Error</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#errordocument">ErrorDocument</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#errorlog">ErrorLog</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#errorlogformat">ErrorLogFormat</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#extendedstatus">ExtendedStatus</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#fileetag">FileETag</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#files"><Files></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#filesmatch"><FilesMatch></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#forcetype">ForceType</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#gprofdir">GprofDir</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#hostnamelookups">HostnameLookups</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#if"><If></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#ifdefine"><IfDefine></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#ifmodule"><IfModule></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#include">Include</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#includeoptional">IncludeOptional</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#keepalive">KeepAlive</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#keepalivetimeout">KeepAliveTimeout</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limit"><Limit></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limitexcept"><LimitExcept></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limitinternalrecursion">LimitInternalRecursion</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limitrequestbody">LimitRequestBody</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limitrequestfields">LimitRequestFields</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limitrequestfieldsize">LimitRequestFieldSize</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limitrequestline">LimitRequestLine</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#limitxmlrequestbody">LimitXMLRequestBody</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#location"><Location></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#locationmatch"><LocationMatch></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#loglevel">LogLevel</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#maxkeepaliverequests">MaxKeepAliveRequests</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#maxrangeoverlaps">MaxRangeOverlaps</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#maxrangereversals">MaxRangeReversals</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#maxranges">MaxRanges</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#mergetrailers">MergeTrailers</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#mutex">Mutex</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#namevirtualhost">NameVirtualHost</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#protocol">Protocol</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#protocols">Protocols</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#protocolshonororder">ProtocolsHonorOrder</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#qualifyredirecturl">QualifyRedirectURL</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rlimitcpu">RLimitCPU</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rlimitmem">RLimitMEM</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rlimitnproc">RLimitNPROC</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#scriptinterpretersource">ScriptInterpreterSource</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#seerequesttail">SeeRequestTail</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#serveradmin">ServerAdmin</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#serveralias">ServerAlias</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#servername">ServerName</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#serverpath">ServerPath</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#serverroot">ServerRoot</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#serversignature">ServerSignature</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#servertokens">ServerTokens</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#sethandler">SetHandler</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#setinputfilter">SetInputFilter</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#setoutputfilter">SetOutputFilter</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#timeout">TimeOut</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#traceenable">TraceEnable</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#undefine">UnDefine</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#usecanonicalname">UseCanonicalName</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#usecanonicalphysicalport">UseCanonicalPhysicalPort</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#virtualhost"><VirtualHost></a></li> </ul> <ul class="seealso"><li><a href="#comments_section">ã³ã¡ã³ã</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="AcceptFilter" id="AcceptFilter">AcceptFilter</a> <a name="acceptfilter" id="acceptfilter">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãããã³ã«ã Listen ããŠãããœã±ããã®æé©åãèšå®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>AcceptFilter <var>protocol</var> <var>accept_filter</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>2.1.5 以é</td></tr> </table> <p>Listen ããŠãããœã±ããã«å¯ŸããŠãOS ãåºæã«æã£ãŠãããããã³ã«ã«ã€ããŠã®æé©åã æå¹ã«ãããã£ã¬ã¯ãã£ãã§ãã倧åæãšãªãæ¡ä»¶ã¯ãããŒã¿ãåä¿¡ãããã HTTP ãªã¯ãšã¹ãå šäœããããã¡ãããããããŸã§ãã«ãŒãã«ããµãŒãããã»ã¹ã« ãœã±ãããéããªãããã«ãªã£ãŠããããšããããšã§ããçŸåšãµããŒããããŠããã®ã¯ã <a href="http://www.freebsd.org/cgi/man.cgi?query=accept_filter&sektion=9"> FreeBSD ã® Accept Filter</a> ãš Linux ã®ããªããã£ã㪠<code>TCP_DEFER_ACCEPT</code> ã®ã¿ã§ãã</p> <p>FreeBSD ã®ããã©ã«ãå€ã¯ :</p> <div class="example"><p><code> AcceptFilter http httpready <br /> AcceptFilter https dataready </code></p></div> <p><code>httpready</code> Accept Filter 㯠HTTP ãªã¯ãšã¹ãå šäœãã ã«ãŒãã«ã¬ãã«ã§ãããã¡ãªã³ã°ããŸãããªã¯ãšã¹ãå šäœãåä¿¡ãçµãããšã ãã®åŸãµãŒãããã»ã¹ã«ãããéããŸãã詳现ã«ã€ããŠã¯ <a href="http://www.freebsd.org/cgi/man.cgi?query=accf_http&sektion=9">accf_http(9)</a> ãåç §ããŠãã ãããHTTPS ã®ãªã¯ãšã¹ãã¯æå·åãããŠããã®ã§ <a href="http://www.freebsd.org/cgi/man.cgi?query=accf_data&sektion=9">accf_data(9)</a> ãã£ã«ã¿ã®ã¿ã䜿çšãããŸãã</p> <p>Linux ã§ã®ããã©ã«ãå€ã¯ :</p> <div class="example"><p><code> AcceptFilter http data <br /> AcceptFilter https data </code></p></div> <p>Linux ã® <code>TCP_DEFER_ACCEPT</code> 㯠HTTP ãªã¯ãšã¹ãã®ãããã¡ãªã³ã°ã ãµããŒãããŠããŸããã<code>none</code> 以å€ã®å€ã§ <code>TCP_DEFER_ACCEPT</code> ãæå¹ã«ãªããŸãã詳现ã«ã€ããŠã¯ Linux man ããŒãž <a href="http://homepages.cwi.nl/~aeb/linux/man2html/man7/tcp.7.html">tcp(7)</a> ãåç §ããŠãã ããã</p> <p>åŒæ°ã« <code>none</code> ãæå®ãããšããããã³ã«ã«å¯Ÿããå šãŠã® Accept Filter ãç¡å¹ã«ãªããŸãã<code>nntp</code> ãšãã£ããå ã«ãµãŒãã«ããŒã¿ã éãå¿ èŠã®ãããããã³ã«ã«æå¹ã§ã :</p> <div class="example"><p><code>AcceptFilter nntp none</code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="AcceptPathInfo" id="AcceptPathInfo">AcceptPathInfo</a> <a name="acceptpathinfo" id="acceptpathinfo">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>åŸã«ç¶ããã¹åæ å ±ãåãä»ãããªãœãŒã¹ã®æå®</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>AcceptPathInfo On|Off|Default</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>AcceptPathInfo Default</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Apache 2.0.30 以éã§äœ¿çšå¯èœ</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯å®éã®ãã¡ã€ã«å (ãããã¯ååšãããã£ã¬ã¯ããªã® ååšããªããã¡ã€ã«) ã®åŸã«ç¶ããã¹åæ å ±ããããªã¯ãšã¹ããåãä»ããã æåŠããããå¶åŸ¡ããŸããç¶ãã®ãã¹åæ å ±ã¯ã¹ã¯ãªããã«ã¯ <code>PATH_INFO</code> ç°å¢å€æ°ãšããŠå©çšå¯èœã«ãªããŸãã</p> <p>äŸãã°ã<code>/test/</code> ãã<code>here.html</code> ãšãããã¡ã€ã« äžã€ã®ã¿ããããã£ã¬ã¯ããªãæããŠãããšããŸãããããããšã <code>/test/here.html/more</code> ãš <code>/test/nothere.html/more</code> ãžã®ãªã¯ãšã¹ãã¯äž¡æ¹ãšã <code>/more</code> ã <code>PATH_INFO</code> ãšããŸãã</p> <p><code class="directive">AcceptPathInfo</code> ãã£ã¬ã¯ãã£ãã«æå®å¯èœãª äžã€ã®åŒæ°ã¯:</p> <dl> <dt><code>Off</code></dt><dd>ãªã¯ãšã¹ãã¯ååšãããã¹ã«ãã®ãŸãŸ ããããããå Žåã«ã®ã¿åãä»ããããŸããã§ããããäžã®äŸã® <code>/test/here.html/more</code> ã®ããã«ãæ¬åœã®ãã¡ã€ã«åã® åŸã«ãã¹åæ å ±ãç¶ããªã¯ãšã¹ãã«ã¯ 404 NOT FOUND ãšã©ãŒãè¿ããŸãã</dd> <dt><code>On</code></dt><dd>åã®æ¹ã®ãã¹ãååšãããã¡ã€ã«ã«ãããããå Žå㯠ãªã¯ãšã¹ããåãä»ããããŸããäžã®äŸã® <code>/test/here.html/more</code> 㯠<code>/test/here.html</code> ãæå¹ãªãã¡ã€ã«ã«ãããããã° åãä»ããããŸãã</dd> <dt><code>Default</code></dt><dd>ç¶ãã®ãã¹åæ å ±ã®æ±ãã¯ãªã¯ãšã¹ãã® <a href="../handler.html">ãã³ãã©</a>ã§æ±ºãŸããŸãã æ®éã®ãã¡ã€ã«ã®ããã®ã³ã¢ãã³ãã©ã®ããã©ã«ã㯠<code>PATH_INFO</code> ãæåŠããŸãã <a href="mod_cgi.html">cgi-script</a> ã <a href="mod_isapi.html">isapi-handler</a> ã®ããã«ã¹ã¯ãªãããæ±ããã³ãã©ã¯ äžè¬çã«ããã©ã«ãã§ <code>PATH_INFO</code> ãåãä»ããŸãã</dd> </dl> <p><code>AcceptPathInfo</code> ã®äž»ãªç®çã¯ãã³ãã©ã® <code>PATH_INFO</code> ã åãä»ãããæåŠãããã®éžæãäžæžãã§ããããã«ããããšã§ãã äŸãã°ãããã¯äŸãã° <a href="mod_include.html">INCLUDES</a> ã®ãã㪠<a href="../filter.html">ãã£ã«ã¿</a>ã䜿ã£ãŠ <code>PATH_INFO</code> ã« åºã¥ããŠã³ã³ãã³ããçæããŠãããšãã«å¿ èŠã«ãªããŸãã ã³ã¢ãã³ãã©ã§ã¯éåžžæåŠãããã®ã§ããããã£ãã¹ã¯ãªãããåäœãããã«ã¯ 次ã®ãããªèšå®ã䜿ããŸãã</p> <div class="example"><p><code> <Files "mypaths.shtml"><br /> <span class="indent"> Options +Includes<br /> SetOutputFilter INCLUDES<br /> AcceptPathInfo On<br /> </span> </Files> </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="AccessFileName" id="AccessFileName">AccessFileName</a> <a name="accessfilename" id="accessfilename">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>忣èšå®ãã¡ã€ã«ã®åå</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>AccessFileName <var>filename</var> [<var>filename</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>AccessFileName .htaccess</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãªã¯ãšã¹ããåŠçãããšãããµãŒãã¯ãã£ã¬ã¯ããªã« 察ããŠåæ£èšå®ãã¡ã€ã«ã<a href="#allowoverride">æå¹ã«ãªã£ãŠããã°</a>ã ãã®ããã¥ã¡ã³ããžã® ãã¹äžã«ããå šãŠã®ãã£ã¬ã¯ããªãããããã§æå®ãããååã®äžèЧã®äžã§ æåã«èŠã€ãã£ããã¡ã€ã«ãããããèšå®ãã¡ã€ã«ãšããŠèªã¿èŸŒã¿ãŸããäŸãã°:</p> <div class="example"><p><code> AccessFileName .acl </code></p></div> <p>ãšããèšå®ããããšã以äžã®ããã«ããŠç¡å¹ã«ãããŠããªãéãã ããã¥ã¡ã³ã <code>/usr/local/web/index.html</code> ãè¿ãåã«ããµãŒã㯠<code>/.acl</code>, <code>/usr/.acl</code>, <code>/usr/local/.acl</code>, <code>/usr/local/web/.acl</code> ãã ãã£ã¬ã¯ãã£ããèªã¿èŸŒã¿ãŸãã</p> <div class="example"><p><code> <Directory /><br /> <span class="indent"> AllowOverride None<br /> </span> </Directory> </code></p></div> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#allowoverride">AllowOverride</a></code></li> <li><a href="../configuring.html">èšå®ãã¡ã€ã«</a></li> <li><a href="../howto/htaccess.html">.htaccess ãã¡ã€ã«</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="AddDefaultCharset" id="AddDefaultCharset">AddDefaultCharset</a> <a name="adddefaultcharset" id="adddefaultcharset">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¬ã¹ãã³ã¹ã®ã³ã³ãã³ãã¿ã€ãã <code>text/plain</code> ããã㯠<code>text/html</code> ã®å Žåã«è¿œå ããããã©ã«ãã® charset ãã©ã¡ãŒã¿</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>AddDefaultCharset On|Off|<var>charset</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>AddDefaultCharset Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ã¬ã¹ãã³ã¹ã®ã³ã³ãã³ãã¿ã€ãã <code>text/plain</code> ããã㯠<code>text/html</code> ã®å Žåã«éããŸãããã¬ã¹ãã³ã¹ã«è¿œå ããã¡ãã£ã¢ã¿ã€ãã®æåã»ãããã©ã¡ãŒã¿ (æåãšã³ã³ãŒãã£ã³ã°ã®åå) ã®ããã©ã«ãå€ãããã®ãã£ã¬ã¯ãã£ãã§æå®ããŸãã ããã¯ã¬ã¹ãã³ã¹ <span class="transnote">(<em>蚳泚:</em> ã¬ã¹ãã³ã¹ã® HTML)</span> å ã§ <code>META</code> èŠçŽ ã§æå®ããããã©ã®ãããªæåã»ãããç¡å¹ã«ããŸããã æçµçãªæåã¯ãŠãŒã¶ã®ã¯ã©ã€ã¢ã³ãåŽã®èšå®ã§æ±ºãŸããŸãã ãã®æ©èœã¯ <code>AddDefaultCharset Off</code> ãšããèšå®ã§ç¡å¹ã«ãªããŸãã <code>AddDefaultCharset On</code> ã«ããã°ã Apache å éšã®ããã©ã«ãæåã»ãã <code>iso-8859-1</code> ã«èšå®ãããŸãã ãã®ä» <var>charset</var> ã«æå®ã§ããå€ã§ããã°ãã©ããªå€ã§ã䜿ããŸãã æå®ããå€ã¯ãMIME ã¡ãã£ã¢ã¿ã€ããšããŠäœ¿ããã <a href="http://www.iana.org/assignments/character-sets">IANA ã«ç»é²ãããŠããæåã»ããå</a>ã®ãã¡ã®äžã€ã«ãã¹ãã§ãã äŸãã°:</p> <div class="example"><p><code> AddDefaultCharset utf-8 </code></p></div> <p><code class="directive">AddDefaultCharset</code> ã䜿ããšãã¯ãå šãŠã®ããã¹ããªãœãŒã¹ã æå®ããæåãšã³ã³ãŒãã«ãªã£ãŠãããšåãã£ãŠããŠããã€ã ãªãœãŒã¹ã®åã ã«æåã»ãããæå®ããã®ã倧å€ãªå Žåã®ã¿ã§ãã äŸãæãããšãã¬ã¬ã·ãŒãª CGI ã¹ã¯ãªãããªã©ã®ãåçã«çæããã ã³ã³ãã³ããå«ããªãœãŒã¹ã«æåã»ãããã©ã¡ãŒã¿ã远å ããå Žåã§ã ãŠãŒã¶ã®å ¥åããŒã¿ãåºåã«å ¥ããã¯ãã¹ãµã€ãã¹ã¯ãªããã£ã³ã°ã åŒãèµ·ãããããå Žåã§ããããã©ã«ãæåã»ãããã»ãããããšããŠãã ãã©ãŠã¶ã® "æåãšã³ã³ãŒãã®èªåéžæ" æ©èœãæå¹ã«ãªã£ãŠãããŠãŒã¶ã å®ãããšã«ã¯ãªããªãã®ã§ããã¡ããããè¯ã解決çã¯åã«ã¹ã¯ãªãããä¿®æ£ (ãããã¯åé€) ããããšã§ãã</p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="../mod/mod_mime.html#addcharset">AddCharset</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="AllowEncodedSlashes" id="AllowEncodedSlashes">AllowEncodedSlashes</a> <a name="allowencodedslashes" id="allowencodedslashes">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>URL äžã®ç¬Šå·åããããã¹å颿åãå ã«äŒããããã®ãèš±å¯ãããã©ããã æ±ºå®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>AllowEncodedSlashes On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>AllowEncodedSlashes Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Apache 2.0.46 以éã§äœ¿çšå¯èœ</td></tr> </table> <p><code class="directive">AllowEncodedSlashes</code> ãã£ã¬ã¯ãã£ãã¯ç¬Šå·åããã ãã¹å颿å (<code>/</code> 㯠<code>%2F</code>ãããã«ã·ã¹ãã ã«ãã£ãŠã¯ <code>\</code> ã«å¯Ÿå¿ãã <code>%5C</code>) ãååšãã URL ã®äœ¿çšã èš±å¯ãããã©ãããæ±ºå®ããŸããéåžžã¯ãã®ãã㪠URL 㯠404 (Not found) ãšã©ãŒ ã§æåŠãããŸãã</p> <p><code class="directive">AllowEncodedSlashes</code> <code>On</code> ã«ãã ãã¹å颿åã®äœ¿çšã¯ã<code>PATH_INFO</code> ãšåãã㊠䜿ããšãã«äžçªåœ¹ã«ç«ã¡ãŸãã</p> <div class="note"><h3>泚</h3> <p>笊å·åãããã¹ã©ãã·ã¥ãèš±å¯ããããšã¯ã<em>埩å·</em>ãããããšã æå³<em>ããŸãã</em>ã<code>%2F</code> ã (é¢ä¿ããã·ã¹ãã ã§ã®) <code>%5C</code> ã¯ãä»ã®éšåã埩å·ããã URL ã®äžã§ããã®ãŸãŸã®åœ¢åŒã§ æ®ãããŸãã</p> </div> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#acceptpathinfo">AcceptPathInfo</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="AllowOverride" id="AllowOverride">AllowOverride</a> <a name="allowoverride" id="allowoverride">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td><code>.htaccess</code> ã§èš±å¯ããããã£ã¬ã¯ãã£ãã®çš®é¡</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>AllowOverride All|None|<var>directive-type</var> [<var>directive-type</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>AllowOverride All</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãµãŒãã (<code class="directive"><a href="#accessfilename">AccessFileName</a></code> ã«ãã£ãŠæå®ããã) <code>.htaccess</code> ãã¡ã€ã«ãèŠã€ããæããã®ãã¡ã€ã«ã®äžã§ 宣èšãããã©ã®ãã£ã¬ã¯ãã£ããããåã«å®çŸ©ãããèšå®ãã£ã¬ã¯ãã£ãã äžæžãã§ããããç¥ãå¿ èŠããããŸãã</p> <div class="note"><h3><Directory> ã»ã¯ã·ã§ã³ã§ã®ã¿äœ¿çšå¯èœ</h3> <code class="directive">AllowOverride</code> ã¯æ£èŠè¡šçŸç¡ãã®<code class="directive"><a href="#directory"><Directory></a></code> ã»ã¯ã·ã§ã³ã§ã®ã¿æå¹ã§ã<code class="directive"><a href="#location"><Location></a></code> ã <code class="directive"><a href="#directorymatch"><DirectoryMatch></a></code> ã <code class="directive"><a href="#files"><Files></a></code> ã»ã¯ã·ã§ã³ã§ã¯ç¡å¹ã§ãã </div> <p>ãã®ãã£ã¬ã¯ãã£ãã <code>None</code> ã«èšå®ãããšã<a href="#accessfilename">.htaccess</a> ãã¡ã€ã«ã¯å®å šã« ç¡èŠãããŸãã ãã®å ŽåããµãŒãã¯ãã¡ã€ã«ã·ã¹ãã ã® <code>.htaccess</code> ãã¡ã€ã«ãèªãããšã 詊ã¿ããããŸããã</p> <p>ãã®ãã£ã¬ã¯ãã£ãã <code>All</code> ã«èšå®ãããŠããæã«ã¯ã <code>.htaccess</code> ãšãã <a href="directive-dict.html#Context">ã³ã³ããã¹ã</a> ãæã€ å šãŠã®ãã£ã¬ã¯ãã£ããå©çšã§ããŸãã</p> <p><var>directive-type</var> ã«ã¯ã以äžã®ãã£ã¬ã¯ãã£ã矀㮠ããŒã¯ãŒãã®ã©ãããæå®ããŸãã</p> <dl> <dt>AuthConfig</dt> <dd> èªèšŒã«é¢ãããã£ã¬ã¯ãã£ãã®äœ¿çšãèš±å¯ãã (<code class="directive"><a href="../mod/mod_authn_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></code>, <code class="directive"><a href="../mod/mod_authn_dbm.html#authdbmuserfile">AuthDBMUserFile</a></code>, <code class="directive"><a href="../mod/mod_authz_groupfile.html#authgroupfile">AuthGroupFile</a></code>, <code class="directive"><a href="../mod/mod_authn_core.html#authname">AuthName</a></code>, <code class="directive"><a href="../mod/mod_authn_core.html#authtype">AuthType</a></code>, <code class="directive"><a href="../mod/mod_authn_file.html#authuserfile">AuthUserFile</a></code>, <code class="directive"><a href="../mod/mod_authz_core.html#require">Require</a></code> <em>ãªã©</em>)ã</dd> <dt>FileInfo</dt> <dd> ããã¥ã¡ã³ãã¿ã€ããå¶åŸ¡ããããã®ãã£ã¬ã¯ãã£ãã®äœ¿çšãèš±å¯ãã (<code class="directive"><a href="#defaulttype">DefaultType</a></code>, <code class="directive"><a href="#errordocument">ErrorDocument</a></code>, <code class="directive"><a href="#forcetype">ForceType</a></code>, <code class="directive"><a href="../mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>, <code class="directive"><a href="#sethandler">SetHandler</a></code>, <code class="directive"><a href="#setinputfilter">SetInputFilter</a></code>, <code class="directive"><a href="#setoutputfilter">SetOutputFilter</a></code>, <code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code> ã® Add* ãš Remove* ãã£ã¬ã¯ãã£ã<em>ãªã©</em>), ããã¥ã¡ã³ãã®ã¡ã¿ããŒã¿ (<code class="directive"><a href="../mod/mod_headers.html#header">Header</a></code>, <code class="directive"><a href="../mod/mod_headers.html#requestheader">RequestHeader</a></code>, <code class="directive"><a href="../mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>, <code class="directive"><a href="../mod/mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></code>, <code class="directive"><a href="../mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code>, <code class="directive"><a href="../mod/mod_usertrack.html#cookieexpires">CookieExpires</a></code>, <code class="directive"><a href="../mod/mod_usertrack.html#cookiedomain">CookieDomain</a></code>, <code class="directive"><a href="../mod/mod_usertrack.html#cookiestyle">CookieStyle</a></code>, <code class="directive"><a href="../mod/mod_usertrack.html#cookietracking">CookieTracking</a></code>, <code class="directive"><a href="../mod/mod_usertrack.html#cookiename">CookieName</a></code>), <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> ã®ãã£ã¬ã¯ãã£ã <code class="directive"><a href="../mod/mod_rewrite.html#rewriteengine">RewriteEngine</a></code>, <code class="directive"><a href="../mod/mod_rewrite.html#rewriteoptions">RewriteOptions</a></code>, <code class="directive"><a href="../mod/mod_rewrite.html#rewritebase">RewriteBase</a></code>, <code class="directive"><a href="../mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>, <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>) ãš <code class="module"><a href="../mod/mod_actions.html">mod_actions</a></code> ã® <code class="directive"><a href="../mod/mod_actions.html#action">Action</a></code> ãã£ã¬ã¯ãã£ãã </dd> <dt>Indexes</dt> <dd> ãã£ã¬ã¯ããªã€ã³ããã¯ã¹ãå¶åŸ¡ããããã®ãã£ã¬ã¯ãã£ãã®äœ¿çšãèš±å¯ãã (<code class="directive"><a href="../mod/mod_autoindex.html#adddescription">AddDescription</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#addicon">AddIcon</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#addiconbytype">AddIconByType</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#defaulticon">DefaultIcon</a></code>, <code class="directive"><a href="../mod/mod_dir.html#directoryindex">DirectoryIndex</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#fancyindexing">FancyIndexing</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#headername">HeaderName</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#indexignore">IndexIgnore</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#indexoptions">IndexOptions</a></code>, <code class="directive"><a href="../mod/mod_autoindex.html#readmename">ReadmeName</a></code> <em>ãªã©</em>)ã</dd> <dt>Limit</dt> <dd> ãã¹ããžã®ã¢ã¯ã»ã¹å¶åŸ¡ãè¡ãããã®ãã£ã¬ã¯ãã£ãã®äœ¿çšãèš±å¯ãã (<code class="directive"><a href="../mod/mod_authz_host.html#allow">Allow</a></code>, <code class="directive"><a href="../mod/mod_authz_host.html#deny">Deny</a></code>, <code class="directive"><a href="../mod/mod_authz_host.html#order">Order</a></code>).</dd> <dt>Options[=<var>Option</var>,...]</dt> <dd> ç¹å®ã®ãã£ã¬ã¯ããªã«ãããæ©èœãæå®ããããã®ãã£ã¬ã¯ãã£ãã®äœ¿çšãèš±å¯ãã (<code class="directive"><a href="#options">Options</a></code> ãš <code class="directive"><a href="../mod/mod_include.html#xbithack">XBitHack</a></code>)ã <code class="directive"><a href="#options">Options</a></code> ã§èšå®ãããªãã·ã§ã³ ãã(空çœãå«ããªã) ã³ã³ãåºåãã®ãªã¹ãã«ããŠçå·ã®åŸã«ç¶ããããšã§ èšå®ã§ããŸãã</dd> </dl> <p>äŸ:</p> <div class="example"><p><code> AllowOverride AuthConfig Indexes </code></p></div> <p>äžã®äŸã§ã¯ <code>AuthConfig</code> ãš <code>Indexes</code> ã®ã©ã¡ãã«ã å±ããªããã£ã¬ã¯ãã£ãã¯ãã¹ãŠå éšãµãŒããšã©ãŒãåŒãèµ·ãããŸãã</p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#accessfilename">AccessFileName</a></code></li> <li><a href="../configuring.html">èšå®ãã¡ã€ã«</a></li> <li><a href="../howto/htaccess.html">.htaccess ãã¡ã€ã«</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="AllowOverrideList" id="AllowOverrideList">AllowOverrideList</a> <a name="allowoverridelist" id="allowoverridelist">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Individual directives that are allowed in <code>.htaccess</code> files</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>AllowOverrideList None|<var>directive</var> [<var>directive-type</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>AllowOverrideList None</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><code class="directive"><a href="#accessfilename">AccessFileName</a></code></li> <li><code class="directive"><a href="#allowoverride">AllowOverride</a></code></li> <li><a href="../configuring.html">Configuration Files</a></li> <li><a href="../howto/htaccess.html">.htaccess Files</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="CGIMapExtension" id="CGIMapExtension">CGIMapExtension</a> <a name="cgimapextension" id="cgimapextension">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>CGI ã¹ã¯ãªããã®ã€ã³ã¿ãŒããªã¿ã®äœçœ®ã調ã¹ãããã®ææ³</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>CGIMapExtension <var>cgi-path</var> <var>.extension</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>NetWare ã®ã¿</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ã㯠Apache ã CGI ã¹ã¯ãªãããå®è¡ããããã® ã€ã³ã¿ãŒããªã¿ãæ¢ãæ¹æ³ãå¶åŸ¡ããŸãã äŸãã°ã<code>CGIMapExtension sys:\foo.nlm .foo</code> ãšèšå®ãããš <code>.foo</code> ãšããæ¡åŒµåã®ãã¹ãŠã® CGI ã¹ã¯ãªãã㯠FOO ã€ã³ã¿ãŒããªã¿ã« æž¡ãããŸãã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="CGIPassAuth" id="CGIPassAuth">CGIPassAuth</a> <a name="cgipassauth" id="cgipassauth">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Enables passing HTTP authorization headers to scripts as CGI variables</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>CGIPassAuth On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>CGIPassAuth Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>AuthConfig</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache HTTP Server 2.4.13 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ContentDigest" id="ContentDigest">ContentDigest</a> <a name="contentdigest" id="contentdigest">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td><code>Content-MD5</code> HTTP å¿çãããã®çæãæå¹ã«ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ContentDigest On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ContentDigest Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>Options</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ãRFC1864 åã³ RFC2616 ã«ãããŠå®çŸ©ãããŠãã <code>Content-MD5</code> ããããŒã®çæãæå¹ã«ããŸãã</p> <p>MD5 ã¯ãä»»æé·ã®ããŒã¿ã®ãã¡ãã»ãŒãžãã€ãžã§ã¹ãã(ãæçŽã ãšè¡šçŸãããããšããã) ãèšç®ããã¢ã«ãŽãªãºã ã§ã ããŒã¿ã®å€æŽããã£ãå Žåã«ã¯éåžžã«é«ãä¿¡é ŒåºŠã§ã¡ãã»ãŒãžãã€ãžã§ã¹ãã«å€æŽã åæ ãããŸãã</p> <p><code>Content-MD5</code> ãããã¯ããšã³ãããŒãšã³ãã§ ãšã³ãã£ãã£ããã£ãŒã«å«ãŸããã¡ãã»ãŒãžã®å®å šæ§ãã§ã㯠(Message Integrity Check - MIC)ãæäŸããŸãã ãã®ãããã調ã¹ãããšã§ããããã·ãã¯ã©ã€ã¢ã³ãã¯ã éäžçµè·¯ã«ããããšã³ãã£ãã£ããã£ã®äºæãã¬å€æŽãªã©ã æ€åºããããšãã§ããŸãããããã®äŸ:</p> <div class="example"><p><code> Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== </code></p></div> <p>ãªã¯ãšã¹ãæ¯ã«ã¡ãã»ãŒãžãã€ãžã§ã¹ããèšç®ãã (å€ã¯ãã£ãã·ã¥ãããŸãã) ããšããã ãµãŒãããã©ãŒãã³ã¹ãäœäžããããšã«ã€ããŠæ³šæããŠãã ããã</p> <p><code>Content-MD5</code>ã¯ã<code class="module"><a href="../mod/core.html">core</a></code> æ©èœã«ããåŠçããã ããã¥ã¡ã³ããéããšãã®ã¿æå¹ã§ããã SSI ããã¥ã¡ã³ãã CGI ã¹ã¯ãªããã®åºåããã€ãã¬ã³ãžãæå®ãã å¿çã®å Žåã«ã¯ãã®ãããã¯ä»äžãããŸããã </p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DefaultRuntimeDir" id="DefaultRuntimeDir">DefaultRuntimeDir</a> <a name="defaultruntimedir" id="defaultruntimedir">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Base directory for the server run-time files</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>DefaultRuntimeDir <var>directory-path</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>DefaultRuntimeDir DEFAULT_REL_RUNTIMEDIR (logs/)</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache 2.4.2 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><a href="../misc/security_tips.html#serverroot">the security tips</a> for information on how to properly set permissions on the <code class="directive">ServerRoot</code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DefaultType" id="DefaultType">DefaultType</a> <a name="defaulttype" id="defaulttype">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒããã³ã³ãã³ãã¿ã€ããæ±ºå®ã§ããªããšãã« éããã MIME ã³ã³ãã³ãã¿ã€ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>DefaultType <var>MIME-type|none</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>DefaultType text/plain</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>åŒæ° <code>none</code> 㯠Apache 2.2.7 以éã§å©çšå¯èœ</td></tr> </table> <p>ãµãŒãã¯ã<a class="glossarylink" href="../glossary.html#mime-type" title="çšèªéãåç §">MIME ã¿ã€ã</a> ã®ãããããã¯æ±ºå®ã§ããªãããã¥ã¡ã³ãã®éä¿¡ãèŠæ±ãããããšããããŸãã</p> <p>ãµãŒãã¯ãããã¥ã¡ã³ãã®ã³ã³ãã³ãã¿ã€ããã¯ã©ã€ã¢ã³ãã«éç¥ããã¹ãã§ãã ãµãŒãã§éåžžã®æ¹æ³ã§ã¯ãããå€å®ã§ããªãå Žåã¯ã <code>DefaultType</code> ã§æå®ãããã¿ã€ããå©çšããŸãã äŸ:</p> <div class="example"><p><code> DefaultType image/gif </code></p></div> <p>ãã㯠<code>.gif</code> ãšããæ¡åŒµåããã¡ã€ã«åã«å«ãŸããŠããªã å€ãã® GIF ç»åãå«ãŸããŠãããã£ã¬ã¯ããªã«é©ããŠããã§ãããã</p> <p>ãµãŒãã§ã管çè ã§ãå€å®ããããšãã§ããªã (äŸãã°ããã¯ã·ã®) å Žåã 誀ã£ãæ å ±ãäžãããã㯠MIME ã¿ã€ãã®æå®ããªãç¶æ ãæãŸããããšã ãããŸãããã®å Žåã¯æ¬¡ã®ããã«ããŸã :</p> <div class="example"><p><code> DefaultType None </code></p></div> <p><code>DefaultType None</code> 㯠httpd-2.2.7 以éã§ã®ã¿å©çšã§ããŸãã</p> <p><code class="directive"><a href="#forcetype">ForceType</a></code> ãã£ã¬ã¯ãã£ããš éã£ãŠããã®ãã£ã¬ã¯ãã£ãã¯ããã©ã«ãã® MIME ã¿ã€ããæäŸããã ãã§ ããããšã«æ³šæããŠãã ããããã¡ã€ã«åã®æ¡åŒµåãå«ãã ã¡ãã£ã¢ã¿ã€ããæ±ºå®ã§ããä»ã® MIME ã¿ã€ãã®å®çŸ©ãããã° ãã®ããã©ã«ãã¯äžæžããããŸãã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Define" id="Define">Define</a> <a name="define" id="define">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>倿°ã®ååšã宣èšãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>Define <var>parameter-name</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="program"><a href="../programs/httpd.html">httpd</a></code> ã® <code>-D</code> åŒæ°ãšåããã®ã§ãã</p> <p>ãã®ãã£ã¬ã¯ãã£ãã䜿ããšãã¹ã¿ãŒãã¢ããã¹ã¯ãªããã« èšèŒãããŠãã <code>-D</code> åŒæ°ãæžãæããå¿ èŠãªãã <code class="directive"><a href="#ifdefine"><IfDefine></a></code> ã»ã¯ã·ã§ã³ãåãæ¿ããããšãã§ããŸãã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Directory" id="Directory"><Directory></a> <a name="directory" id="directory">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>æå®ã®ãã¡ã€ã«ã·ã¹ãã ã®ãã£ã¬ã¯ããªãšãµããã£ã¬ã¯ããªãšã®ã¿ã« é©çšããããã£ã¬ã¯ãã£ããå²ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><Directory <var>directory-path</var>> ... </Directory></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>æå®ããããã£ã¬ã¯ããªãšãã®ãµããã£ã¬ã¯ããªã«ã®ã¿ ãã£ã¬ã¯ãã£ããé©çšãããããã«ã¯ã <code class="directive"><Directory></code> ãš <code></Directory></code> ã察ãšããŠããã£ã¬ã¯ãã£ã矀ãå²ããŸãã ãã®äžã«ã¯ããã£ã¬ã¯ããªã³ã³ããã¹ãã§èš±å¯ãããå šãŠã®ãã£ã¬ã¯ãã£ãã å©çšã§ããŸãã <var>directive-path</var> ã¯ããã«ãã¹ããã㯠Unix ã®ã·ã§ã«åœ¢åŒã® ã¯ã€ã«ãã«ãŒããæå®ããŸãã <code>?</code> ã¯ä»»æã® 1 æåã<code>*</code> ã¯ä»»æã®æååã«ãããããŸãã ã·ã§ã«ã«ãããæå®åæ§ãæåã®ç¯å²ã <code>[]</code> ã§æå®ã§ããŸãã ã¯ã€ã«ãã«ãŒã㯠`/' æåã«ã¯ãããããŸããã®ã§ã <code>/home/user/public_html</code> ã«ã¯ <code><Directory /*/public_html></code> ã¯ãããããŸãããã <code><Directory /home/*/public_html></code> ã¯ãããããŸãã äŸ:</p> <div class="example"><p><code> <Directory /usr/local/httpd/htdocs><br /> <span class="indent"> Options Indexes FollowSymLinks<br /> </span> </Directory> </code></p></div> <div class="note"> <p><var>directory-path</var> åŒæ°ã«ã¯æ³šæããŠãã ãã: ãã®åŒæ°ã¯ Apache ããã¡ã€ã«ãã¢ã¯ã»ã¹ããããã«äœ¿ããã¡ã€ã«ã·ã¹ãã ã®ãã¹ã« ãã®ãŸãŸãããããå¿ èŠããããŸãããã <code><Directory></code> ã« é©çšããããã£ã¬ã¯ãã£ãã¯ãå¥ã®ã·ã³ããªãã¯ãªã³ã¯ããã©ã£ããã㊠åããã£ã¬ã¯ããªãéããã¹ã§ã¢ã¯ã»ã¹ããå Žåã«ã¯é©çšãããŸããã</p> </div> <p><code>~</code> ãšããæåã ä»å ããããšã§<a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a>ãå©çšããããšãã§ããŸãã äŸãã°:</p> <div class="example"><p><code> <Directory ~ "^/www/.*/[0-9]{3}"> </code></p></div> <p>ãšãã£ãæå®ã®å Žåã<code>/www/</code> 以äžã«ããæ°å 3 æåã®ãã£ã¬ã¯ããªã«ãããããŸãã</p> <p>ããè€æ°ã® (æ£èŠè¡šçŸä»¥å€ã®) <code class="directive"><Directory></code>ã»ã¯ã·ã§ã³ã ããã¥ã¡ã³ããå«ããã£ã¬ã¯ã㪠(ããã®äžäœãã£ã¬ã¯ããªã®ã©ãã) ãšããããããªãã°ã <a href="#accessfilename">.htaccess</a> ãã¡ã€ã«ã®ãã£ã¬ã¯ãã£ããèªã¿èŸŒã¿ã€ã€ã çããã¹ããé ã«é©çšãããŸãã äŸãã°ã</p> <div class="example"><p><code> <Directory /><br /> <span class="indent"> AllowOverride None<br /> </span> </Directory><br /> <br /> <Directory /home/><br /> <span class="indent"> AllowOverride FileInfo<br /> </span> </Directory> </code></p></div> <p>ãšèšå®ããããã¥ã¡ã³ã <code>/home/web/dir/doc.html</code> ãžã® ã¢ã¯ã»ã¹ããã£ãå Žåã«ã¯ä»¥äžã®ããã«åäœããŸã:</p> <ul> <li><code>AllowOverride None</code> ãé©çšãããã (<code>.htaccess</code> ãã¡ã€ã«ã¯ç¡å¹ã«ãªã)</li> <li><code>AllowOverride FileInfo</code> ãé©çšããã (<code>/home</code> ãã£ã¬ã¯ããªã«å¯ŸããŠ)ã</li> <li><code>/home/.htaccess</code>, <code>/home/web/.htaccess</code>, <code>/home/web/dir/.htaccess</code> ã®é ã«ãããã®ãã¡ã€ã«äžã® FileInfo ãã£ã¬ã¯ãã£ããé©çšãããã</li> </ul> <p>æ£èŠè¡šçŸã¯ãéåžžã®ã»ã¯ã·ã§ã³ããã¹ãŠé©çšããããŸã§ èæ ®ãããŸããã ãã®åŸãå šãŠã®æ£èŠè¡šçŸãèšå®ãã¡ã€ã«ã«çŸããé ã§è©ŠãããŸãã äŸãã°ã以äžã®ãããªå Žåã«</p> <div class="example"><p><code> <Directory ~ abc$><br /> <span class="indent"> # ... directives here ...<br /> </span> </Directory> </code></p></div> <p>æ£èŠè¡šçŸã®ã»ã¯ã·ã§ã³ã¯ãã¹ãŠã®éåžžã® <code class="directive"><Directory></code> ãš <code>.htaccess</code> ã®é©çšãçµãããŸã§èæ ®ãããŸããã ãã®åŸã§ãæ£èŠè¡šçŸã¯ <code>/home/abc/public_html/abc</code> ã«ããããã 察å¿ãã <code class="directive"><Directory></code> ãé©çšãããŸãã</p> <p><strong>Apache ã®ããã©ã«ãã§ã¯ <code><Directory /></code> ãžã®ã¢ã¯ã»ã¹ã¯ <code>Allow from All</code> ã«ãªã£ãŠããããšã«æ³šæããŠãã ããã ããã¯ãURL ããããããããã©ã®ãã¡ã€ã«ã§ã Apache ã¯éããšããããšã§ãã ããã¯ä»¥äžã®ããã«ããŠå€æŽããããšãæšå¥šãããŠããŸãã</strong></p> <div class="example"><p><code> <Directory /><br /> <span class="indent"> Order Deny,Allow<br /> Deny from All<br /> </span> </Directory> </code></p></div> <p><strong>ãããŠã¢ã¯ã»ã¹ã<em>å¯èœã«ããã</em>ãã£ã¬ã¯ããªã«å¯Ÿã㊠åå¥ã«èšå®ããã°ããã§ãããã ãã®ãããã«ã€ããŠã¯ã<a href="../misc/security_tips.html">ã»ãã¥ãªãã£ã«é¢ããã³ã</a>ã åç §ããŠãã ããã</strong></p> <p>ãã£ã¬ã¯ããªã»ã¯ã·ã§ã³ã¯ <code>httpd.conf</code> ãã¡ã€ã«ã«æžããŸãã <code class="directive"><Directory></code> ãã£ã¬ã¯ãã£ãã¯å ¥ãåã«ããããšãã§ããã <code class="directive"><a href="#limit"><Limit></a></code> ã <code class="directive"><a href="#limitexcept"><LimitExcept></a></code> ã»ã¯ã·ã§ã³ã®äžã«ã èšè¿°ã§ããŸããã</p> <h3>åç §</h3> <ul> <li>ãªã¯ãšã¹ããåããéã«ãããã®ç°ãªãã»ã¯ã·ã§ã³ã çµã¿åããããæ¹æ³ã«ã€ããŠã¯ <a href="../sections.html"> <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ã®åäœæ³</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DirectoryMatch" id="DirectoryMatch"><DirectoryMatch></a> <a name="directorymatch" id="directorymatch">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>æ£èŠè¡šçŸã«ããããããã¡ã€ã«ã·ã¹ãã ã®ãã£ã¬ã¯ããªãš ãµããã£ã¬ã¯ããªãšã®ã¿ã«é©çšããããã£ã¬ã¯ãã£ããå²ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><DirectoryMatch <var>regex</var>> ... </DirectoryMatch></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><a href="#directory"><Directory></a></code> ãã£ã¬ã¯ãã£ããšåæ§ã«ã<code class="directive"><DirectoryMatch></code> ãš <code></DirectoryMatch></code> ã¯æå®ããããã£ã¬ã¯ããªãš ãã®ãµããã£ã¬ã¯ããªã«ã®ã¿é©çšããããã£ã¬ã¯ãã£ã矀ãå²ããŸãã ãããããã®ãã£ã¬ã¯ãã£ãã¯åŒæ°ãšããŠ<a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a>ããšããŸããäŸãã°:</p> <div class="example"><p><code> <DirectoryMatch "^/www/(.+/)?[0-9]{3}"> </code></p></div> <p>㯠<code>/www/</code> 以äžã«ããæ°å 3 æåã®ãã£ã¬ã¯ããªã«ãããããŸãã</p> <h3>åç §</h3> <ul> <li>éåžžã® <code class="directive"><Directory></code> ãšæ£èŠè¡šçŸã®æå®ã é©çšãããé çªã«ã€ããŠã¯ <code class="directive"><a href="#directory"><Directory></a></code></li> <li>ãªã¯ãšã¹ããåããéã«ãããã®ç°ãªãã»ã¯ã·ã§ã³ã çµã¿åããããæ¹æ³ã«ã€ããŠã¯ <a href="../sections.html"> <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ã®åäœæ³</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DocumentRoot" id="DocumentRoot">DocumentRoot</a> <a name="documentroot" id="documentroot">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãŠã§ãããèŠããã¡ã€ã³ã®ããã¥ã¡ã³ãããªãŒã«ãªã ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>DocumentRoot <var>directory-path</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>DocumentRoot /usr/local/apache/htdocs</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ã<code class="program"><a href="../programs/httpd.html">httpd</a></code> ããã¡ã€ã«ãæäŸãããã£ã¬ã¯ããªãèšå®ããŸãã <code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code> ã®ãããªãã£ã¬ã¯ãã£ãã«ãããããªãå Žåã«ã¯ã ããã¥ã¡ã³ãã® (蚳泚:ãã¡ã€ã«ã·ã¹ãã äžã®) ãã¹ãçæããããã«ã ãªã¯ãšã¹ãããã URL ã®ãã¹éšåãããã¥ã¡ã³ãã«ãŒãã«ä»äžããŸãã äŸ:</p> <div class="example"><p><code> DocumentRoot /usr/web </code></p></div> <p>ãã®å Žåã <code>http://www.my.host.com/index.html</code> ãžã®ã¢ã¯ã»ã¹ãããã° <code>/usr/web/index.html</code> ãè¿ãããŸãã <var>directory-path</var> ã絶察ãã¹ã§ãªãå Žåã¯ã <code class="directive"><a href="#serverroot">ServerRoot</a></code> ããã®çžå¯Ÿãã¹ãšã¿ãªãããŸãã</p> <p><code class="directive">DocumentRoot</code> ã¯æåŸã®ã¹ã©ãã·ã¥ç¡ãã§ æå®ããå¿ èŠããããŸãã</p> <h3>åç §</h3> <ul> <li><a href="../urlmapping.html#documentroot">URL ããã¡ã€ã«ã·ã¹ãã ã®äœçœ®ã« ããããã</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Else" id="Else"><Else></a> <a name="else" id="else">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Contains directives that apply only if the condition of a previous <code class="directive"><a href="#if"><If></a></code> or <code class="directive"><a href="#elseif"><ElseIf></a></code> section is not satisfied by a request at runtime</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><Else> ... </Else></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><code class="directive"><a href="#if"><If></a></code></li> <li><code class="directive"><a href="#elseif"><ElseIf></a></code></li> <li><a href="../sections.html">How <Directory>, <Location>, <Files> sections work</a> for an explanation of how these different sections are combined when a request is received. <code class="directive"><If></code>, <code class="directive"><ElseIf></code>, and <code class="directive"><Else></code> are applied last.</li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ElseIf" id="ElseIf"><ElseIf></a> <a name="elseif" id="elseif">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Contains directives that apply only if a condition is satisfied by a request at runtime while the condition of a previous <code class="directive"><a href="#if"><If></a></code> or <code class="directive"><ElseIf></code> section is not satisfied</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><ElseIf <var>expression</var>> ... </ElseIf></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><a href="../expr.html">Expressions in Apache HTTP Server</a>, for a complete reference and more examples.</li> <li><code class="directive"><a href="#if"><If></a></code></li> <li><code class="directive"><a href="#else"><Else></a></code></li> <li><a href="../sections.html">How <Directory>, <Location>, <Files> sections work</a> for an explanation of how these different sections are combined when a request is received. <code class="directive"><If></code>, <code class="directive"><ElseIf></code>, and <code class="directive"><Else></code> are applied last.</li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="EnableMMAP" id="EnableMMAP">EnableMMAP</a> <a name="enablemmap" id="enablemmap">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>é éäžã«ãã¡ã€ã«ãèªã¿èŸŒãããã«ã¡ã¢ãªãããã³ã°ã 䜿ããã©ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>EnableMMAP On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>EnableMMAP On</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯é éäžã«ãã¡ã€ã«ã®å 容ãèªã¿èŸŒãå¿ èŠããããšãã« <code class="program"><a href="../programs/httpd.html">httpd</a></code> ãã¡ã¢ãªãããã³ã°ã䜿ããã©ãããå¶åŸ¡ããŸãã ããã©ã«ãã§ã¯ã äŸãã°ã<code class="module"><a href="../mod/mod_include.html">mod_include</a></code> ã䜿ã£ãŠ SSI ãã¡ã€ã«ãé é ãããšãã®ããã«ããã¡ã€ã«ã®éäžã®ããŒã¿ãã¢ã¯ã»ã¹ããå¿ èŠããããšãã«ã¯ Apache 㯠OS ããµããŒãããŠããã°ãã¡ã€ã«ãã¡ã¢ãªã«ãããããŸãã</p> <p> ãã®ã¡ã¢ãªãããã¯æ§èœã®åäžãããããããšããããŸãã ããããç°å¢ã«ãã£ãŠã¯éçšäžã®åé¡ãé²ãããã«ã¡ã¢ãªãããã³ã°ã 䜿çšããªãããã«ããæ¹ãè¯ãå ŽåããããŸã:</p> <ul> <li>ãã«ãããã»ããµã·ã¹ãã ã®äžã«ã¯ã¡ã¢ãªãããã³ã°ããããš <code class="program"><a href="../programs/httpd.html">httpd</a></code> ã®æ§èœãèœã¡ããã®ããããŸãã</li> <li>NFS ããŠã³ãããã <code class="directive"><a href="#documentroot">DocumentRoot</a></code> ã§ã¯ã<code class="program"><a href="../programs/httpd.html">httpd</a></code> ãã¡ã¢ãªãããããŠããéã«ãã¡ã€ã«ãåé€ãããã çããªã£ãããããšãã«èµ·ããã»ã°ã¡ã³ããŒã·ã§ã³ãã©ãŒã«ãã®ããã« <code class="program"><a href="../programs/httpd.html">httpd</a></code> ãã¯ã©ãã·ã¥ããå¯èœæ§ããããŸãã</li> </ul> <p>ãããã®åé¡ã«åœãŠã¯ãŸããµãŒãã®èšå®ã®å Žåã¯ã以äžã®ããã«ã㊠ãã¡ã€ã«ã®é éæã®ã¡ã¢ãªãããã³ã°ã䜿çšäžå¯ã«ããŠãã ãã:</p> <div class="example"><p><code> EnableMMAP Off </code></p></div> <p>NFS ããŠã³ãããããã¡ã€ã«ã«ã¯ãåé¡ã®ãããã¡ã€ã«ã«ã®ã¿æç€ºçã« ãã®æ©èœã䜿çšäžå¯ã«ããŸã:</p> <div class="example"><p><code> <Directory "/path-to-nfs-files"> <span class="indent"> EnableMMAP Off </span> </Directory> </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="EnableSendfile" id="EnableSendfile">EnableSendfile</a> <a name="enablesendfile" id="enablesendfile">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãã¡ã€ã«ã®ã¯ã©ã€ã¢ã³ããžã®é éæã«ã«ãŒãã«ã® sendfile ãµããŒãã 䜿ããã©ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>EnableSendfile On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>EnableSendfile On</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>ããŒãžã§ã³ 2.0.44 以éã§äœ¿çšå¯èœ</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ã¯ã©ã€ã¢ã³ãã«ãã¡ã€ã«ã®å 容ãéããšãã« <code class="program"><a href="../programs/httpd.html">httpd</a></code> ãã«ãŒãã«ã® sendfile ãµããŒãã䜿ããã©ãããå¶åŸ¡ããŸããããã©ã«ãã§ã¯ã äŸãã°éçãªãã¡ã€ã«ã®é éã®ããã«ããªã¯ãšã¹ãã®åŠçã«ãã¡ã€ã«ã® éäžã®ããŒã¿ã®ã¢ã¯ã»ã¹ãå¿ èŠãšããªããšãã«ã¯ãApache 㯠OS ã ãµããŒãããŠããã°ãã¡ã€ã«ãèªã¿èŸŒãããšãªã sendfile ã䜿ã£ãŠ ãã¡ã€ã«ã®å 容ãéããŸãã</p> <p>sendfile 㯠read ãš send ãå¥ã ã«è¡ãªãããšãšããããã¡ã®å²ãåœãŠã åé¿ããŸãããããããã©ãããã©ãŒã ããã¡ã€ã«ã·ã¹ãã ã®äžã«ã¯ éçšäžã®åé¡ãé¿ããããã«ãã®æ©èœã䜿çšäžå¯ã«ããæ¹ãè¯ãå ŽåããããŸã:</p> <ul> <li>ãã©ãããã©ãŒã ã®äžã«ã¯ãã«ãã·ã¹ãã ãæ€ç¥ã§ããªãã£ããå£ãã sendfile ã®ãµããŒããååšãããã®ããããŸããããã¯ç¹ã« ãã€ããªãå¥ã®ãã·ã³ã§ãã«ããããå£ãã sendfile ã®ãããã·ã³ã« ç§»åãããšãã«èµ·ãããŸãã</li> <li>Linux ã§ã¯ãsendfile ãçšãããšã IPv6 äœ¿çšæã«ååšããç¹å®ãããã¯ãŒã¯ã«ãŒãã® TCP-checksum ãªãããŒãã®ãã°ãèžãã§ããŸããŸãã</li> <li>Itanium äžã® Linux ã§ã¯ãsendfile ã§ã¯ 2GB 以äžã® ãã¡ã€ã«ãæ±ãããšãã§ããŸããã</li> <li>ãããã¯ãŒã¯ããŠã³ãããã <code class="directive"><a href="#documentroot">DocumentRoot</a></code> (äŸãã° NFS ã SMB) ã§ã¯ãã«ãŒãã«ã¯èªèº«ã®ãã£ãã·ã¥ã䜿ã£ãŠãããã¯ãŒã¯ããã®ãã¡ã€ã«ã éãããšãã§ããªãããšããããŸãã</li> </ul> <p>ãããã®åé¡ã«åœãŠã¯ãŸããµãŒãã®èšå®ã®å Žåã¯ã以äžã®ããã«ã㊠ãã®æ©èœã䜿çšäžå¯ã«ããŠãã ãã:</p> <div class="example"><p><code> EnableSendfile Off </code></p></div> <p>NFS ã SMB ããŠã³ãããããã¡ã€ã«ã«ã¯ãåé¡ã®ãããã¡ã€ã«ã«ã®ã¿æç€ºçã« ãã®æ©èœã䜿çšäžå¯ã«ããŸã:</p> <div class="example"><p><code> <Directory "/path-to-nfs-files"> <span class="indent"> EnableSendfile Off </span> </Directory> </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Error" id="Error">Error</a> <a name="error" id="error">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Abort configuration parsing with a custom error message</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>Error <var>message</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>2.3.9 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ErrorDocument" id="ErrorDocument">ErrorDocument</a> <a name="errordocument" id="errordocument">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãšã©ãŒãçºçãããšãã«ãµãŒããã¯ã©ã€ã¢ã³ãã«éããã®</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ErrorDocument <var>error-code document</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>åé¡ããšã©ãŒãçºçãããšãã®åäœãšããŠã Apache ã«ã¯ä»¥äžã®åã€ã®ãã¡äžã€ã®åäœãèšå®ããããšãã§ããŸãã</p> <ol> <li>Apache æšæºã®ç°¡åãªãšã©ãŒã¡ãã»ãŒãžã衚瀺</li> <li>èªåã§æå®ããã¡ãã»ãŒãžã衚瀺</li> <li>åé¡ããšã©ãŒã®åŠçãããçºã«ãèªãµãŒãå ã® <var>URL-path</var> ãžãªãã€ã¬ã¯ã</li> <li>åé¡ããšã©ãŒã®åŠçãããçºã«ãå€éšã® <var>URL</var> ãžãªãã€ã¬ã¯ã</li> </ol> <p>æåã®ãã®ãããã©ã«ãã®åäœã§ã2 çªç®ãã 4 çªç®ã¯ã <code class="directive">ErrorDocument</code>ãã£ã¬ã¯ãã£ãã«ããã HTTP ã®ã¬ã¹ãã³ã¹ã³ãŒããšãã¡ãã»ãŒãžã URL ãæå®ããããšã§èšå®ããŸãã Apache ãåé¡ãããã¯ãšã©ãŒã«é¢ããè¿œå æ å ±ãæäŸããããšããããŸãã</p> <p>URL ã®å Žåã¯ãã¹ã©ãã·ã¥ã§å§ãŸã (/) ããŒã«ã«ã® web-path ( <code class="directive"><a href="#documentroot">DocumentRoot</a></code> ããã®çžå¯Ÿãã¹ ) ããã¯ã©ã€ã¢ã³ãã解決ã§ããå®å šãª URL ãæå®ããŸãã ãããã¯ããã©ãŠã¶ã«è¡šç€ºãããã¡ãã»ãŒãžãæå®ã§ããŸãã äŸ:</p> <div class="example"><p><code> ErrorDocument 500 http://foo.example.com/cgi-bin/tester<br /> ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> ErrorDocument 401 /subscription_info.html<br /> ErrorDocument 403 "Sorry can't allow you access today" </code></p></div> <p>å ããŠãç¹å¥ãªå€ <code>default</code> ã䜿ã£ãŠ Apache ã« ããŒãã³ãŒããããŠããç°¡åãªã¡ãã»ãŒãžãæå®ããããšãã§ããŸãã éåžžã¯å¿ èŠã§ã¯ãããŸãããã<code>default</code> ã䜿ããš æ¢åã® <code class="directive">ErrorDocument</code> ãã£ã¬ã¯ãã£ãã®èšå®ã ç¶æ¿ãããšããã§ãApache ã®ããŒãã³ãŒããããç°¡åãªã¡ãã»ãŒãžã« æ»ãããšãã§ããŸãã</p> <div class="example"><p><code> ErrorDocument 404 /cgi-bin/bad_urls.pl<br /><br /> <Directory /web/docs><br /> <span class="indent"> ErrorDocument 404 default<br /> </span> </Directory> </code></p></div> <p>ãªã¢ãŒã URL (äŸãã°ãé ã« <code>http</code> ãšä»äžããæ¹æ³) ã <code class="directive">ErrorDocument</code> ã«æå®ãããšãã ããšãææžãåããµãŒãã«ããããšããããã¥ã¡ã³ããã©ãã«ããããéç¥ããããã«ã Apache ã¯ãªãã€ã¬ã¯ããã¯ã©ã€ã¢ã³ãã«éåºãããšããããšã«ã泚æããŠãã ããã ããã«ã¯ãããããšé¢é£ããŠèµ·ããåé¡ããããŸãã äžã§ãæãéèŠãªã®ã¯ãã¯ã©ã€ã¢ã³ãã¯å ã ã®ãšã©ãŒã¹ããŒã¿ã¹ã³ãŒããåãåããã 代ããã«ãªãã€ã¬ã¯ãã®ã¹ããŒã¿ã¹ã³ãŒããåãåããšããããšã§ãã ããã«ãããã¹ããŒã¿ã¹ã³ãŒãã䜿ã£ãŠ URL ãæå¹ã§ãããã©ãããæ±ºå®ããããšãã ãŠã§ãããããããã®ä»ã¯ã©ã€ã¢ã³ãããæ··ä¹±ããããããããŸããã ããã«ã<code>ErrorDocument 401</code> ã«ãªã¢ãŒãã® URL ãæå®ãããšã ã¯ã©ã€ã¢ã³ã㯠401 ãšããã¹ããŒã¿ã¹ã³ãŒããåãåããªãããã ãã¹ã¯ãŒãããŠãŒã¶ãŒã«å ¥åèŠæ±ããªããã°ãªããªãããšãããããŸããã åŸã£ãŠã<strong><code>ErrorDocument 401</code> ãšãããã£ã¬ã¯ãã£ãã䜿ãå Žåã¯ã å¿ ãããŒã«ã«ãªææžãåç §ããªããã°ãªããŸããã</strong></p> <p>Microsoft Internet Explorer (MSIE) ã¯ããã©ã«ãã§ã¯ãµãŒããçæãããšã©ãŒã¡ãã»ãŒãžã ãå°ããããããšãã«ã¯ç¡èŠãããŠèªåèªèº«ã®ãããããããšã©ãŒã¡ãã»ãŒãžã§ 眮æããŸãããµã€ãºã®ãããå€ã¯ãšã©ãŒã®çš®é¡ã«ãã£ãŠç°ãªããŸããã äžè¬çã«ã¯ãšã©ãŒã®ææžã 512 ãã€ãããã倧ãããããšãMSIE 㯠ãµãŒããçæãããšã©ãŒãé ããã«è¡šç€ºããŸãã詳ããæ å ±ã¯ Microsoft Knowledge Base ã®èšäº <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807">Q294807</a> ã«ãããŸãã</p> <p>ã»ãšãã©ã®ãšã©ãŒã¡ãã»ãŒãžãäžæžãããããšãã§ããŸãããç¹å®ã®ç¶æ³äžã§ã¯ <code class="directive"><a href="#errordocument">ErrorDocument</a></code> ã®èšå®ã«ããããã å èµã®ã¡ãã»ãŒãžã䜿ãããŸãã ç¹ã«ãäžæ£ãªåœ¢åŒã®ãªã¯ãšã¹ããæ€åºãããå Žåãéåžžã®ãªã¯ãšã¹ãåŠç㯠å³åº§ã«äžæ¢ãããå èµã®ãšã©ãŒã¡ãã»ãŒãžãè¿ãããŸãã ãã®åŠçœ®ã¯äžæ£ãªãªã¯ãšã¹ãã«ãã£ãŠåŒãèµ·ãããããã»ãã¥ãªãã£åé¡ãã å®ãããã«å¿ èŠãªæªçœ®ã§ãã</p> <p>2.0 ããåã®ããŒãžã§ã³ã§ã¯ã察ã«ãªã£ãŠããªãäºéåŒçšç¬Šã å é ã«ä»ããããšã«ããã¡ãã»ãŒãžã§ããããšãæå®ããŠããŸããã</p> <h3>åç §</h3> <ul> <li><a href="../custom-error.html">ã«ã¹ã¿ãã€ãºå¯èœãª ãšã©ãŒå¿çã®ããã¥ã¡ã³ããŒã·ã§ã³</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ErrorLog" id="ErrorLog">ErrorLog</a> <a name="errorlog" id="errorlog">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒãããšã©ãŒããã°åéããå Žæ</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code> ErrorLog <var>file-path</var>|syslog[:<var>facility</var>]</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ErrorLog logs/error_log (Unix) ErrorLog logs/error.log (Windows and OS/2)</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">ErrorLog</code> ãã£ã¬ã¯ãã£ãã¯ã ãµãŒãã«çããããŸããŸãªãšã©ãŒã èšé²ããçºã®ãã¡ã€ã«ã®ååãèšå®ããŸãã <var>file-path</var> ã絶察ãã¹ã§ãªããšãã¯ã<code class="directive"><a href="#serverroot">ServerRoot</a></code> ããã®çžå¯Ÿãã¹ãšã¿ãªãããŸãã</p> <div class="example"><h3>äŸ</h3><p><code> ErrorLog /var/log/httpd/error_log </code></p></div> <p><var>file-path</var> ããã€ã (|) ããå§ãŸãå Žåã¯ã ãšã©ãŒãã°ãåŠçããããã«å®è¡ãããã³ãã³ãã æå®ãããŠãããšè§£éãããŸãã</p> <div class="example"><h3>äŸ</h3><p><code> ErrorLog "|/usr/local/bin/httpd_errors" </code></p></div> <p>ãã¡ã€ã«åã®å€ããã« <code>syslog</code> ãšæå®ããããšã«ãã£ãŠã ã·ã¹ãã ããµããŒãããŠããã° syslogd(8) ãå©çšãããã®ã³ã°ãæå¹ã«ãªããŸãã ããã©ã«ãã§ã¯ã<code>local7</code> ãã¡ã·ãªãã£ãšãªããŸããã <code>syslog:<var>facility</var></code> ãšãã£ã圢ã§èšè¿°ããããšã«ããã éåžž syslog(1) ã®ããã¥ã¡ã³ãã§èª¬æãããŠãããã¡ã·ãªãã£ã®äžã€ã䜿ãããã« ããããšãã§ããŸãã</p> <div class="example"><h3>äŸ</h3><p><code> ErrorLog syslog:user </code></p></div> <p>ã»ãã¥ãªãã£: ãã°ãã¡ã€ã«ãæ ŒçŽãããã£ã¬ã¯ããªãããµãŒããèµ·åãããŠãŒã¶ä»¥å€ã® ãŠãŒã¶ã«ãã£ãŠæžã蟌ããå Žåã«ã»ãã¥ãªãã£ãç Žãããå¯èœæ§ãããããšã« é¢ãã詳现㯠<a href="../misc/security_tips.html#serverroot">ã»ãã¥ãªãã£ã«é¢ããã³ã</a> ã åç §ããŠãã ããã</p> <div class="warning"><h3>泚</h3> <p>Unix 以å€ã®ãã©ãããã©ãŒã ã§ãã¡ã€ã«ã®ãã¹ãå ¥åãããšãã¯ã ãã©ãããã©ãŒã ãããã¯ã¹ã©ãã·ã¥ã®äœ¿çšãèš±ããŠãããšããŠãã 確å®ã«ã¹ã©ãã·ã¥ã®ã¿ã䜿çšãããããã«æ³šæããŠãã ãããäžè¬çã«ã¯ã èšå®ãã¡ã€ã«å šè¬ã§ã¹ã©ãã·ã¥ã®ã¿ãäœ¿ãæ¹ãè¯ãã§ãããã</p> </div> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#loglevel">LogLevel</a></code></li> <li><a href="../logs.html">Apache ãã°ãã¡ã€ã«</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ErrorLogFormat" id="ErrorLogFormat">ErrorLogFormat</a> <a name="errorlogformat" id="errorlogformat">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Format specification for error log entries</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code> ErrorLogFormat [connection|request] <var>format</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><code class="directive"><a href="#errorlog">ErrorLog</a></code></li> <li><code class="directive"><a href="#loglevel">LogLevel</a></code></li> <li><a href="../logs.html">Apache HTTP Server Log Files</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ExtendedStatus" id="ExtendedStatus">ExtendedStatus</a> <a name="extendedstatus" id="extendedstatus">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Keep track of extended status information for each request</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ExtendedStatus On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ExtendedStatus Off[*]</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="FileETag" id="FileETag">FileETag</a> <a name="fileetag" id="fileetag">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ETag HTTP å¿çããããäœæããããã«äœ¿çšããã ãã¡ã€ã«ã®å±æ§</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>FileETag <var>component</var> ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>FileETag INode MTime Size</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p> <code class="directive">FileETag</code> ãã£ã¬ã¯ãã£ã㯠ããã¥ã¡ã³ãããã¡ã€ã«ã«åºã¥ãããã®ã§ãããšãã«ã <code>ETag</code> (ãšã³ãã£ãã£ã¿ã°) å¿çããããã£ãŒã«ããäœæãããšãã«äœ¿çšãã ãã¡ã€ã«ã®å±æ§ãèšå®ããŸãã (<code>ETag</code> ã®å€ã¯ãããã¯ãŒã¯ã®åž¯åãç¯çŽããããã® ãã£ãã·ã¥ã®ç®¡çã§äœ¿ãããŸãã) Apache 1.3.22 以åã§ã¯ã<code>ETag</code> ã®å€ã¯ <em>åžžã«</em>ãã¡ã€ã«ã® inode, ãµã€ãºãæçµä¿®æ£æå» (mtime) ããäœæ ãããŠããŸããã<code class="directive">FileETag</code> ãã£ã¬ã¯ãã£ãã«ããããããã®ã©ãã䜿ããã éžã¶ããšãã§ããŸããèªèãããããŒã¯ãŒãã¯: </p> <dl> <dt><strong>INode</strong></dt> <dd>ãã¡ã€ã«ã® inode çªå·ãèšç®ã«äœ¿ããŸã</dd> <dt><strong>MTime</strong></dt> <dd>ãã¡ã€ã«ã®æçµä¿®æ£æå»ã䜿ããŸã</dd> <dt><strong>Size</strong></dt> <dd>ãã¡ã€ã«ã®äžèº«ã®ãã€ãæ°ã䜿ããŸã</dd> <dt><strong>All</strong></dt> <dd>䜿çšå¯èœãªãã¹ãŠã®ãã£ãŒã«ãã䜿ããŸãã ãã㯠<div class="example"><p><code>FileETag INode MTime Size</code></p></div> ãšç䟡ã§ãã</dd> <dt><strong>None</strong></dt> <dd>ããã¥ã¡ã³ãããã¡ã€ã«ã«åºã¥ãããã®ã§ãã<code>ETag</code> ãã£ãŒã«ãã å¿çã«ä»å ããŸãã</dd> </dl> <p><code>INode</code>, <code>MTime</code>, <code>Size</code> ããŒã¯ãŒãã«ã¯ <code>+</code> ã <code>-</code> ãåã«ä»ã㊠æå®ããããšãã§ããŸãããã®å Žåã¯ãããåºãç¯å²ããç¶æ¿ããã ããã©ã«ãã®èšå®ã«å€æŽãå ããããã«ãªããŸãããã®ãããªæ¥é èŸã® ç¡ãããŒã¯ãŒããæå®ãããšãå³åº§ã«ç¶æ¿ããèšå®ãç¡å¹ã«ããŸãã</p> <p>ãããã£ã¬ã¯ããªã®èšå®ã« <code>FileETag INode MTime Size</code> ãããã ãµããã£ã¬ã¯ããªã®èšå®ã« <code>FileETag -INode</code> ããããšãã¯ã ãã®ãµããã£ã¬ã¯ããªã®èšå®ã¯ (èšå®ãäžæžããããªããã°ãµããã£ã¬ã¯ããªã® ãµããã£ã¬ã¯ããªã«ãç¶æ¿ãããŸã) <code>FileETag MTime Size</code> ãšåãã«ãªããŸãã</p> <div class="warning"><h3>èŠå</h3> WebDAV ã䜿ã£ãŠããŠã<code class="module"><a href="../mod/mod_dav_fs.html">mod_dav_fs</a></code> ãã¹ãã¬ãŒãžãããã€ããšã㊠䜿ã£ãŠãããã㪠Directory ã Location ã§ã¯ãããã©ã«ãå€ã倿Žããªãã§ãã ããã <code class="module"><a href="../mod/mod_dav_fs.html">mod_dav_fs</a></code> ã§ã¯ãæ¡ä»¶ä»ãªã¯ãšã¹ãã§ã®æ¯èŒæŒç®ã« <code>INode MTime Size</code> ã®åºå®ãã©ãŒãããã䜿ã£ãŠããŸãã <code class="directive">FileETag</code> ã§ <code>ETag</code> ãã©ãŒãããã 倿ŽããŠããŸããšãæ¡ä»¶ä»ãªã¯ãšã¹ãã§ããŸãåäœããªããªããŸãã </div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Files" id="Files"><Files></a> <a name="files" id="files">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ããããããã¡ã€ã«åã«é©çšããããã£ã¬ã¯ãã£ããå²ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><Files <var>filename</var>> ... </Files></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><Files></code> ãã£ã¬ã¯ãã£ãã¯ã ãã®äžã«ãããã£ã¬ã¯ãã£ãã®é©çšç¯å²ããã¡ã€ã«åã§å¶éããŸãã <code class="directive"><a href="#directory"><Directory></a></code> ãã£ã¬ã¯ãã£ãã <code class="directive"><a href="#location"><Location></a></code> ãã£ã¬ã¯ãã£ããš åããããªæ©èœãæã¡ãŸãã ããã¯ã<code></Files></code> ãã£ã¬ã¯ãã£ããšå¯Ÿã« ãªã£ãŠããªããã°ãªããŸããã ãã®ã»ã¯ã·ã§ã³äžã®ãã£ã¬ã¯ãã£ãã¯ãããŒã¹å (ãã¡ã€ã«åã®æåŸã®éšå) ãæå®ããããã¡ã€ã«åã«ããããããã¹ãŠã®ãªããžã§ã¯ãã«é©çšãããŸãã <code class="directive"><Files></code> ã»ã¯ã·ã§ã³ã¯ <code class="directive"><Directory></code> ã»ã¯ã·ã§ã³ãš <code>.htaccess</code> ãèªã¿èŸŒãŸããåŸã <code class="directive"><Location></code> ã»ã¯ã·ã§ã³ããã¯å ã« èšå®ãã¡ã€ã«ã«çŸããé ã«é©çšãããŸãã <code class="directive"><Files></code> ã¯ã <code class="directive"><Directory></code> ã»ã¯ã·ã§ã³å ã« ãã¹ããããããšãã§ãã ãã¡ã€ã«ã·ã¹ãã ã®äžéšã«ã®ã¿éå®ããŠé©çšãããããšãã§ããŸãã</p> <p><var>filename</var> åŒæ°ã¯ããã¡ã€ã«åãã¯ã€ã«ãã«ãŒãæåå ã§ãã¯ã€ã«ãã«ãŒãã§ã¯ <code>?</code> ã¯äžã€ã®æåã<code>*</code> ã¯ä»»æã®æååã«ãããããŸãã <code>~</code> ãšããæåãä»å ããããšã§<a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a>ã䜿ãããšãã§ããŸãã äŸãã°ã</p> <div class="example"><p><code> <Files ~ "\.(gif|jpe?g|png)$"> </code></p></div> <p>ãšããããšã«ãããäžè¬çãªã€ã³ã¿ãŒãããã®ç»åãã©ãŒãããã«ãããããŸãã ãã ãã <code class="directive"><a href="#filesmatch"><FilesMatch></a></code> ãäœ¿ãæ¹ã æšå¥šãããŠããŸãã</p> <p>ã¡ãªã¿ã«ã<code class="directive"><a href="#directory"><Directory></a></code> ãš <code class="directive"><a href="#location"><Location></a></code> ã»ã¯ã·ã§ã³ãšã¯ç°ãªãã <code class="directive"><Files></code> 㯠<code>.htaccess</code> ãã¡ã€ã«å ã§å©çšããããšãã§ããŸãã ããã«ããããŠãŒã¶ããã¡ã€ã«æ¯ã«ã¢ã¯ã»ã¹ã®å¶åŸ¡ãè¡ãªãããšãã§ããããã« ãªã£ãŠããŸãã</p> <h3>åç §</h3> <ul> <li>ãªã¯ãšã¹ããåããéã«ãããã®ç°ãªãã»ã¯ã·ã§ã³ã çµã¿åããããæ¹æ³ã«ã€ããŠã¯ <a href="../sections.html"> <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ã®åäœæ³</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="FilesMatch" id="FilesMatch"><FilesMatch></a> <a name="filesmatch" id="filesmatch">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>æ£èŠè¡šçŸã«ããããããã¡ã€ã«åã«é©çšããã ãã£ã¬ã¯ãã£ããå²ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><FilesMatch <var>regex</var>> ... </FilesMatch></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><FilesMatch></code> ãã£ã¬ã¯ãã£ãã¯ã <code class="directive"><a href="#files"><Files></a></code> ãã£ã¬ã¯ãã£ãåæ§ã«ãã®äžã«ãããã£ã¬ã¯ãã£ãã®é©çšç¯å²ããã¡ã€ã«åã§å¶éããŸãããã ãã ãã®ãã£ã¬ã¯ãã£ãã«ã¯<a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a>ãæå®ããŸãã äŸãã°:</p> <div class="example"><p><code> <FilesMatch "\.(gif|jpe?g|png)$"> </code></p></div> <p>ã¯äžè¬çãªã€ã³ã¿ãŒãããã®ç»å圢åŒã«ãããããŸãã</p> <h3>åç §</h3> <ul> <li>ãªã¯ãšã¹ããåããéã«ãããã®ç°ãªãã»ã¯ã·ã§ã³ã çµã¿åããããæ¹æ³ã«ã€ããŠã¯ <a href="../sections.html"> <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ã®åäœæ³</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ForceType" id="ForceType">ForceType</a> <a name="forcetype" id="forcetype">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãã¹ãŠã®ããããããã¡ã€ã«ãæå®ã® MIME ã³ã³ãã³ãã¿ã€ãã§ éãããããã«ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ForceType <var>MIME-type</var>|None</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Apache 2.0 ã§ core ã«ç§»å</td></tr> </table> <p><code>.htaccess</code> ã <code class="directive"><a href="#directory"><Directory></a></code> ã»ã¯ã·ã§ã³ã <code class="directive"><a href="#location"><Location></a></code> ã»ã¯ã·ã§ã³ã <code class="directive"><a href="#files"><Files></a></code> ã»ã¯ã·ã§ã³ã« æžãããå Žåããã®ãã£ã¬ã¯ãã£ãã¯ããã«ãããã¹ãŠã®ãã¡ã€ã«ã <var>MIME-type</var> ã§æå®ãããã³ã³ãã³ãã¿ã€ããšããŠæ±ãããããã«ããŸããããšãã°ã GIF ãã¡ã€ã«ã°ããã®ãã£ã¬ã¯ããªããã£ãŠããã¹ãŠã®ãã¡ã€ã«ã <code>.gif</code> ã§çµãããããã¯ãªããšãã«ã以äžã®ãã®ã䜿çšããŸã:</p> <div class="example"><p><code> ForceType image/gif </code></p></div> <p><code class="directive"><a href="#defaulttype">DefaultType</a></code> ãšéã£ãŠ ãã®ãã£ã¬ã¯ãã£ãã¯ã¡ãã£ã¢ã¿ã€ããæ±ºããããšãã§ãããããããªã ãã¡ã€ã«ã®æ¡åŒµåãå«ãããã¹ãŠã® MIME ã¿ã€ãã®é¢é£ä»ãã äžæžãããããšã«æ³šæããŠãã ããã</p> <p><code>None</code> ãšããå€ã䜿ãããšã§ <code class="directive">ForceType</code> ã® èšå®ãç¡å¹ã«ã§ããŸã:</p> <div class="example"><p><code> # force all files to be image/gif:<br /> <Location /images><br /> <span class="indent"> ForceType image/gif<br /> </span> </Location><br /> <br /> # but normal mime-type associations here:<br /> <Location /images/mixed><br /> <span class="indent"> ForceType None<br /> </span> </Location> </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="GprofDir" id="GprofDir">GprofDir</a> <a name="gprofdir" id="gprofdir">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Directory to write gmon.out profiling data to. </td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>GprofDir <var>/tmp/gprof/</var>|<var>/tmp/gprof/</var>%</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="HostnameLookups" id="HostnameLookups">HostnameLookups</a> <a name="hostnamelookups" id="hostnamelookups">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¯ã©ã€ã¢ã³ãã® IP ã¢ãã¬ã¹ã® DNS ã«ãã¯ã¢ããã æå¹ã«ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>HostnameLookups On|Off|Double</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>HostnameLookups Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ããã¹ãåããã°åéã§ããããã« DNS ã«ãã¯ã¢ãããæå¹ã«ããŸã (ããã«ãCGI/SSI ã« <code>REMOTE_HOST</code> 倿°ãšããŠæž¡ããŸã)ã <code>Double</code>ãæå®ããå Žåã2 éã®éåŒããè¡ãªããŸãã ã€ãŸããéåŒãã®åŸã«ããã®çµæã«å¯ŸããŠæ£åŒããè¡ãªããŸããæ£åŒãã® çµæã® IP ã¢ãã¬ã¹ã®äžã«ãªãªãžãã«ã®ã¢ãã¬ã¹ãšäžèŽãããã®ããªããã° ãªããŸããã("tcpwrappers" ã®çšèªã§ã¯ <code>PARANOID</code> ãšåŒã°ããŠããŸãã)</p> <p><code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code> ã§ãã¹ãåã«ããã¢ã¯ã»ã¹ å¶åŸ¡ãè¡ãªãå Žåã«ã¯ã èšå®ã®åŠäœã«ããã 2 éã®éåŒããå®è¡ãããŸãã ããã¯ãã»ãã¥ãªãã£ãä¿ã€ããã«å¿ èŠã§ãã <code>HostnameLookups Double</code> ãèšå®ããªãéãã ä»ã®éšåã¯ãã® 2 ééåŒãã®çµæã䜿ãããšã¯ã§ããŸããã äŸãã°ã<code>HostnameLookups On</code> ãšèšå®ããŠããç¶æ ã§ã ãã¹ãåã«ããã¢ã¯ã»ã¹å¶éãè¡ãªã£ããªããžã§ã¯ããžã® ãªã¯ãšã¹ããåãããšãããšã2 éã®éåŒããæåãããåŠãã«ãããã <code>REMOTE_HOST</code> ã«ã¯éåžžã®éåŒãçµæãæž¡ãããŸãã</p> <p>ãã£ã¬ã¯ãã£ãã®ããã©ã«ã㯠æ¬åœã«éåŒããå¿ èŠãšããŠããããã§ã¯ãªããµã€ãã® ãããã¯ãŒã¯ãã©ãã£ãã¯ãäœæžãããããã«ã<code>Off</code> ã«ãªã£ãŠããŸãã ã«ãã¯ã¢ããã«ããäœèšãªé å»¶ããªããªãããã ãšã³ããŠãŒã¶ã«ãšã£ãŠãè¯ãã§ãããã DNS ã®ã«ãã¯ã¢ããã«ã¯ãããªãã®æéãå¿ èŠãšãªãå Žåãå€ãã è² è·ã®é«ããµã€ãã§ã¯ãã®ãã£ã¬ã¯ãã£ã㯠<code>Off</code> ã«ãã¹ãã§ãã ãªãã<var>/support</var> ãã£ã¬ã¯ããªã«å«ãŸããããã©ã«ãã§ã¯ ã€ã³ã¹ããŒã«ãã£ã¬ã¯ããªã® <code>bin</code> ãµããã£ã¬ã¯ããªã« ã€ã³ã¹ããŒã«ããã <code class="program"><a href="../programs/logresolve.html">logresolve</a></code> ãŠãŒãã£ãªãã£ã«ããã Apache ã®åäœãšã¯å¥ã«ããã°ã«æ®ãããŠãã IP ã¢ãã¬ã¹ãããã¹ãåã ã«ãã¯ã¢ããããããšãå¯èœã§ãã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="If" id="If"><If></a> <a name="if" id="if">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>å®è¡æããªã¯ãšã¹ããæ¡ä»¶ãæºãããå Žåã«ã®ã¿é©çšããã ãã£ã¬ã¯ãã£ããå å«ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><If <var>expression</var>> ... </If></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><If></code> ãã£ã¬ã¯ãã£ã㯠å®è¡æã«åŒãè©äŸ¡ããæ¡ä»¶åŒãçã«ãªããšãã«ã®ã¿ å å ãããã£ã¬ã¯ãã£ããé©çšããŸãã äŸãã°</p> <div class="example"><p><code> <If "$req{Host} = ''"> </code></p></div> <p>äžèšäŸã¯ <var>Host:</var> ãããã®ååšããªã HTTP/1.0 ã®ãªã¯ãšã¹ãã« ãããããŸãã</p> <h3>åç §</h3> <ul> <li><a href="../sections.html">ã©ã®ããã« <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ãåäœããã</a> ã§ã¯ããªã¯ãšã¹ããåãããšãã«ã ãããã®ç°ãªãã»ã¯ã·ã§ã³ãã©ã®ããã«çµã¿åããããã«ã€ããŠèšèŒãããŠããŸãã <code class="directive"><If></code> 㯠<code class="directive"><Files></code> ãšåãåŠçé ãšçšæ³ã«ãªã£ãŠããŸãã</li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="IfDefine" id="IfDefine"><IfDefine></a> <a name="ifdefine" id="ifdefine">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>èµ·åæã«ãã¹ããçã§ãããšãã®ã¿ã«åŠçããããã£ã¬ã¯ãã£ãã å²ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><IfDefine [!]<var>parameter-name</var>> ... </IfDefine></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code><IfDefine <var>test</var>>...</IfDefine></code> ã»ã¯ã·ã§ã³ã¯ã ãã£ã¬ã¯ãã£ããæ¡ä»¶ä»ãã§æå®ããããã«å©çšããŸãã <code class="directive"><IfDefine></code> ã»ã¯ã·ã§ã³ã« å«ãŸãããã£ã¬ã¯ãã£ãã¯ã<var>test</var>ã å®çŸ©ãããŠãããšãã®ã¿åŠçãããŸãã ãã <var>test</var> ãå®çŸ©ãããŠããªããã°ã éå§ãšçµäºã®æå®ã®éã®ãã£ã¬ã¯ãã£ãã¯ç¡èŠãããŸãã</p> <p><code class="directive"><IfDefine></code> ã»ã¯ã·ã§ã³ãã£ã¬ã¯ãã£ãã« æå®ãã <var>test</var> ã¯ã 次ã®äºã€ã®åœ¢åŒã®ãã¡ã®äžã€ããšããŸã:</p> <ul> <li><var>parameter-name</var></li> <li><code>!</code><var>parameter-name</var></li> </ul> <p>åè ã®å Žåã«ã¯ã<var>parameter-name</var> ãšåä»ãããããã©ã¡ãŒã¿ã å®çŸ©ãããŠããã°éå§ãšçµäºã®éã®ãã£ã¬ã¯ãã£ããåŠçãããŸãã åŸè ã®å Žåã¯éã§ã<em>parameter-name</em> ãæå®ãããŠ<strong>ããªã</strong> å Žåã«åŠçãããŸãã</p> <p><var>parameter-name</var> åŒæ°ã¯ããµãŒããèµ·åããéã« <code class="program"><a href="../programs/httpd.html">httpd</a></code> ã®ã³ãã³ãã©ã€ã³ã« <code>-D<var>parameter</var></code> ãšããåœ¢ã§æå®ããã ããã㯠<code class="directive"><a href="#define">Define</a></code> ãã£ã¬ã¯ãã£ãã§æå®ããããšå®çŸ©ãããŸãã </p> <p><code class="directive"><IfDefine></code> ã»ã¯ã·ã§ã³ã¯ å ¥ãåã«ããããšãã§ããè€æ°ã®ãã©ã¡ãŒã¿ã«ãããã¹ããããããã«äœ¿çšã§ããŸãã äŸ:</p> <div class="example"><p><code> httpd -DReverseProxy -DUseCache -DMemCache ...<br /> <br /> # httpd.conf<br /> <IfDefine ReverseProxy><br /> <span class="indent"> LoadModule proxy_module modules/mod_proxy.so<br /> LoadModule proxy_http_module modules/mod_proxy_http.so<br /> <IfDefine UseCache><br /> <span class="indent"> LoadModule cache_module modules/mod_cache.so<br /> <IfDefine MemCache><br /> <span class="indent"> LoadModule mem_cache_module modules/mod_mem_cache.so<br /> </span> </IfDefine><br /> <IfDefine !MemCache><br /> <span class="indent"> LoadModule cache_disk_module modules/mod_cache_disk.so<br /> </span> </IfDefine> </span> </IfDefine> </span> </IfDefine> </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="IfModule" id="IfModule"><IfModule></a> <a name="ifmodule" id="ifmodule">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¢ãžã¥ãŒã«ã®ååšãããããªããã«å¿ããŠåŠçããã ãã£ã¬ã¯ãã£ããå²ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><IfModule [!]<var>module-file</var>|<var>module-identifier</var>> ... </IfModule></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>ã¢ãžã¥ãŒã«èå¥åã¯ããŒãžã§ã³ 2.1 以éã§äœ¿çšå¯èœã</td></tr> </table> <p><code><IfModule <var>test</var>>...</IfModule></code> ã»ã¯ã·ã§ã³ã¯ãã¢ãžã¥ãŒã«ãååšãããšãã«åŠçããããã£ã¬ã¯ãã£ãã æå®ããããã«å©çšããŸãã <code class="directive"><IfModule></code> ã»ã¯ã·ã§ã³ã« å«ãŸãããã£ã¬ã¯ãã£ãã¯ã<var>test</var> ã§æå®ããã¢ãžã¥ãŒã«ãçµã¿èŸŒãŸããŠãããšãã®ã¿åŠçãããŸãã ãã <var>test</var> ãçµã¿èŸŒãŸããŠããªããã°ãéå§ãšçµäºã®éã®ãã£ã¬ã¯ãã£ã ã¯ç¡èŠãããŸãã</p> <p><code class="directive"><IfModule></code> ã»ã¯ã·ã§ã³ãã£ã¬ã¯ãã£ãã« æå®ãã <var>test</var> ã¯ã 次ã®äºã€ã®åœ¢åŒã®ãã¡ã®äžã€ããšããŸãã</p> <ul> <li><var>module</var></li> <li>!<var>module</var></li> </ul> <p>åè ã®å Žåã¯ã<var>module</var> ãšåä»ããããã¢ãžã¥ãŒã«ã Apache ã«çµã¿èŸŒãŸããŠããã° (ã³ã³ãã€ã«æžã¿ã®ãã®ãšã<code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> ãå©çšã㊠åçã«èªã¿èŸŒãã ãã®ã®äž¡æ¹)ã éå§ãšçµäºã®éã®ãã£ã¬ã¯ãã£ããåŠçãããŸãã åŸè ã®å Žåã¯éã§ã<var>module</var> ãçµã¿èŸŒãŸããŠ<strong>ããªã</strong> å Žåã«åŠçãããŸãã</p> <p><var>module</var> åŒæ°ã¯ãã¢ãžã¥ãŒã«èå¥åã ã³ã³ãã€ã«ãããæã®ã¢ãžã¥ãŒã«ã®ãã¡ã€ã«åã§ãã äŸãã°ã<code>rewrite_module</code> ã¯èå¥åã§ <code>mod_rewrite.c</code> ã¯ãã¡ã€ã«åã§ãã ã¢ãžã¥ãŒã«ãè€æ°ã®ãœãŒã¹ãã¡ã€ã«ããæ§æãããŠããå Žåã¯ãæåå <code>STANDARD20_MODULE_STUFF</code> ããããã¡ã€ã«ã®ååã 䜿ã£ãŠãã ããã</p> <p><code class="directive"><IfModule></code> ã»ã¯ã·ã§ã³ã¯ å ¥ãåã«ããããšãå¯èœã§ããã è€æ°ã®ã¢ãžã¥ãŒã«ã®ãã¹ããè¡ãªãããã«äœ¿çšã§ããŸãã</p> <div class="note">ç¹å®ã®ã¢ãžã¥ãŒã«ã®ååšã«é¢ãããåäœãã èšå®ãã¡ã€ã«ã®åæ¬ãå¿ èŠãªãšãã«ã®ã¿ãã®ã»ã¯ã·ã§ã³ã䜿çšããŠãã ããã éåžžã®åäœã§ã¯ããã£ã¬ã¯ãã£ãã <code class="directive"><IfModule></code> ã»ã¯ã·ã§ã³ã®äžã« å ¥ããå¿ èŠã¯ãããŸããã</div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Include" id="Include">Include</a> <a name="include" id="include">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«äžããä»ã®èšå®ãã¡ã€ã«ãåã蟌ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>Include <var>file-path</var>|<var>directory-path</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>ã¯ã€ã«ãã«ãŒãã«ããããã㯠2.0.41 以éã§äœ¿çšå¯èœ</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã«ããããµãŒãã®èšå®ãã¡ã€ã«ãã ä»ã®èšå®ãã¡ã€ã«ãã€ã³ã¯ã«ãŒãããããšãã§ããŸãã</p> <p>è€æ°ã®ãã¡ã€ã«ãã¢ã«ãã¡ãããé ã«äžåºŠã«èªã¿èŸŒãããã«ã ã·ã§ã«åœ¢åŒ (<code>fnmatch</code>) ã®ã¯ã€ã«ãã«ãŒãæåã䜿ãããšãã§ããŸãã ããã«ã<code class="directive">Include</code> ã«ãã£ã¬ã¯ããªãæå®ããå Žåã¯ã ãã£ã¬ã¯ããªãšãã®ãµããã£ã¬ã¯ããªå ã®å šãŠã®ãã¡ã€ã«ã ã¢ã«ãã¡ãããé ã«èªã¿èŸŒãã§ãèšå®ãã¡ã€ã«ãšããŠåŠçããŸãã ãããããã£ã¬ã¯ããªå šäœãèªã¿èŸŒãã®ã¯ãå§ãã§ããŸããã ãµãšããããšãã <code>httpd</code> ãèªã¿èŸŒã¿ã«å€±æãããããª äžæãã¡ã€ã«ããã£ã¬ã¯ããªã«æ®ããŠããŸããããªããšãããããããã§ãã</p> <p>æå®ãããã¡ã€ã«ãã¹ã¯çµ¶å¯Ÿãã¹ãã <code class="directive"><a href="#serverroot">ServerRoot</a></code> ãã£ã¬ã¯ããªããã® çžå¯Ÿãã¹ããã®ã©ã¡ããã§ãã</p> <p>äŸ:</p> <div class="example"><p><code> Include /usr/local/apache2/conf/ssl.conf<br /> Include /usr/local/apache2/conf/vhosts/*.conf </code></p></div> <p><code class="directive"><a href="#serverroot">ServerRoot</a></code> ããã®çžå¯Ÿãã¹ã®å Žåã¯:</p> <div class="example"><p><code> Include conf/ssl.conf<br /> Include conf/vhosts/*.conf </code></p></div> <h3>åç §</h3> <ul> <li><code class="program"><a href="../programs/apachectl.html">apachectl</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="IncludeOptional" id="IncludeOptional">IncludeOptional</a> <a name="includeoptional" id="includeoptional">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Includes other configuration files from within the server configuration files</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>IncludeOptional <var>file-path</var>|<var>directory-path</var>|<var>wildcard</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in 2.3.6 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><code class="directive"><a href="#include">Include</a></code></li> <li><code class="program"><a href="../programs/apachectl.html">apachectl</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="KeepAlive" id="KeepAlive">KeepAlive</a> <a name="keepalive" id="keepalive">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>HTTP ã®æç¶çãªæ¥ç¶ãæå¹ã«ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>KeepAlive On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>KeepAlive On</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>HTTP/1.0 ã® Keep-Alive æ¡åŒµãš HTTP/1.1 ã®æç¶çæ¥ç¶ã®æ©èœã¯ã è€æ°ã®ãªã¯ãšã¹ããåã TCP ã®æ¥ç¶ã§éããããé·æéæç¶ãã HTTP ã»ãã·ã§ã³ãæäŸããŸããããããã®ç»åã å«ãŸãã HTML ããã¥ã¡ã³ãã§ã¯å Žåã«ãã£ãŠã¯é å»¶æéã 50% ççž®ãããçµæã ã§ãŠããŸããKeep-Alive æ¥ç¶ãæå¹ã«ããã«ã¯ <code>KeepAlive On</code> ãšèšå®ããŸãã</p> <p>HTTP/1.0 ã«å¯Ÿå¿ããã¯ã©ã€ã¢ã³ãã®éã«ã¯ã ã¯ã©ã€ã¢ã³ãããç¹ã«èŠæ±ããã£ãå Žåã®ã¿ Keep-Alive æ¥ç¶ãšãªããŸãã ããã«ãHTTP/1.0 ã¯ã©ã€ã¢ã³ãã§ã¯ãã³ã³ãã³ãã®å®¹éãå ã« (蚳泚: èŠæ±ã«å¯ŸããŠå¿çãè¿ãåã«) ãããå Žåã®ã¿ Keep-Alive æ¥ç¶ãå©çšã§ããŸãã ããã¯ãCGI ã®åºåã SSI ã®ããŒãžã ãµãŒããçæãããã£ã¬ã¯ããªã®ãªã¹ãã®ãããªåçã³ã³ãã³ãã HTTP/1.0 ã¯ã©ã€ã¢ã³ãã«éãå Žåã«ã¯ Keep-Alive æ¥ç¶ã䜿ããªãããšãæå³ããŸãã HTTP/1.1 ã«å¯Ÿå¿ããã¯ã©ã€ã¢ã³ãã®éã«ã¯ã ç¹ã«æå®ãããªãéãã¯ããã©ã«ããšããŠæç¶çãªæ¥ç¶ãè¡ãªãããŸãã ã¯ã©ã€ã¢ã³ããèŠæ±ããã°ãã³ã³ãã³ãã®å®¹éãå€å¥ã§ããªããã®ã æç¶çãªæ¥ç¶ãéããŠéãããã«ããã£ã³ã¯ãšã³ã³ãŒãã£ã³ã°ãçšããããŸãã</p> <p>ã¯ã©ã€ã¢ã³ãã Keep-Alive ã³ãã¯ã·ã§ã³ã䜿çšããŠããå Žåã ãã®ã³ãã¯ã·ã§ã³ãéããŠã©ãã ãããããã®ãªã¯ãšã¹ããåŠçãããŠãã ããã¯ããªã¯ãšã¹ãã1 ã€ãšããŠãMaxRequestsPerChild ãã£ã¬ã¯ãã£ãã§ã¯ æ°ããããŸãã</p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#maxkeepaliverequests">MaxKeepAliveRequests</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="KeepAliveTimeout" id="KeepAliveTimeout">KeepAliveTimeout</a> <a name="keepalivetimeout" id="keepalivetimeout">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>æç¶çãªæ¥ç¶ã§æ¬¡ã®ãªã¯ãšã¹ããæ¥ããŸã§ãµãŒããåŸ ã€æé</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>KeepAliveTimeout <var>seconds</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>KeepAliveTimeout 5</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>æ¥ç¶ãéããåã«ãApache ãæ¬¡ã®ãªã¯ãšã¹ããäœç§åŸ ã€ããæå®ããŸãã ãªã¯ãšã¹ããåãä»ããåŸã¯ã<code class="directive"><a href="#timeout">Timeout</a></code> ãã£ã¬ã¯ãã£ãã«ãã£ãŠ æå®ãããã¿ã€ã ã¢ãŠãå€ã䜿ãããŸãã</p> <p><code class="directive">KeepAliveTimeout</code> ã倧ããªå€ã«èšå®ãããšã è² è·ã®é«ããµãŒãã«ãããŠã¯ããã©ãŒãã³ã¹ã®åé¡ãåŒãèµ·ããå ŽåããããŸãã ã¿ã€ã ã¢ãŠããé·ããã°é·ãã»ã©ãããå€ãã®ãµãŒãããã»ã¹ã 掻æ§ã§ãªãã¯ã©ã€ã¢ã³ãããã®æ¥ç¶ã®çµäºãåŸ ã¡ç¶ããããšã«ãªããŸãã</p> <p>ååããŒã¹ã®ããŒãã£ã«ãã¹ãã³ã³ããã¹ãã§ã¯ã <code class="directive"><a href="#namevirtualhost">NameVirtualHost</a></code> ã®ã»ããã®äžã§æåã«å®çŸ©ãããããŒãã£ã«ãã¹ãã®å€ (ããã©ã«ããã¹ã) ã䜿ãããŸãã ãã®ä»ã®å€ã¯ç¡èŠãããŸãã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Limit" id="Limit"><Limit></a> <a name="limit" id="limit">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>å²ãã®äžã«ããã¢ã¯ã»ã¹å¶åŸ¡ã®é©çšãç¹å®ã® HTTP ã¡ãœããã®ã¿ã« å¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><Limit <var>method</var> [<var>method</var>] ... > ... </Limit></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ã¢ã¯ã»ã¹å¶åŸ¡ã¯ãéåžž<strong>å šãŠã®</strong>ã¢ã¯ã»ã¹ã¡ãœããã«å¯Ÿã㊠圱é¿ããæ®éã¯ãããæãŸããæåã§ãã <strong>ããããããšããã倧éšåã®å Žåã«ã¯ã¢ã¯ã»ã¹å¶åŸ¡ã«é¢ãããã£ã¬ã¯ãã£ãã <code class="directive"><Limit></code> ã»ã¯ã·ã§ã³å ã« æžãã¹ãã§ã¯ãããŸããã </strong></p> <p><code class="directive"><Limit></code> ãã£ã¬ã¯ãã£ãã® ç®çã¯ãã¢ã¯ã»ã¹å¶åŸ¡ã®ç¯å²ã æå®ããã HTTP ã¡ãœããã«éå®ããããã§ãã ãã以å€ã®ã¡ãœããã¯ã<code class="directive"><Limit></code> ã§å²ãããã¢ã¯ã»ã¹å¶åŸ¡ã® <strong>圱é¿ãåããŸãã</strong>ã 以äžã®äŸã¯ã<code>POST</code>, <code>PUT</code>, <code>DELETE</code> ã®ã¡ãœããã«å¯ŸããŠã®ã¿ã¢ã¯ã»ã¹ã®å¶åŸ¡ãè¡ãªãã ãã以å€ã®ã¡ãœããã«ã€ããŠã¯å¶éããŸãã:</p> <div class="example"><p><code> <Limit POST PUT DELETE><br /> <span class="indent"> Require valid-user<br /> </span> </Limit> </code></p></div> <p>ã¡ãœããåã«ã¯ä»¥äžã®äžããäžã€ä»¥äžãåæããããšãã§ããŸã: <code>GET</code>, <code>POST</code>, <code>PUT</code>, <code>DELETE</code>, <code>CONNECT</code>, <code>OPTIONS</code>, <code>PATCH</code>, <code>PROPFIND</code>, <code>PROPPATCH</code>, <code>MKCOL</code>, <code>COPY</code>, <code>MOVE</code>, <code>LOCK</code>, <code>UNLOCK</code>. <strong>ã¡ãœããå㯠倧æåå°æåãåºå¥ããŸãã</strong> <code>GET</code> ãæå®ããå Žåã«ã¯ <code>HEAD</code> ãªã¯ãšã¹ãã«ãå¶éãããããŸãã<code>TRACE</code> ã¡ãœããã«å¶éããããããšã¯ã§ããŸãã (<code class="directive"><a href="#traceenable"><TraceEnable></a></code> åç §)ã</p> <div class="warning">ã¢ã¯ã»ã¹å¶åŸ¡ãç®çã®å Žå㯠<code class="directive"><a href="#limit"><Limit></a></code> ã»ã¯ã·ã§ã³ã®ä»£ããã« <code class="directive"><a href="#limitexcept"><LimitExcept></a></code> ã»ã¯ã·ã§ã³ã䜿çšããæ¹ãè¯ãã§ãããã <code class="directive"><a href="#limitexcept"><LimitExcept></a></code> ã»ã¯ã·ã§ã³ã§ã¯äžç¹å®ã®ã¡ãœããã«å¯ŸããŠãé²åŸ¡ã§ããããã§ãã</div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LimitExcept" id="LimitExcept"><LimitExcept></a> <a name="limitexcept" id="limitexcept">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>æå®ããããã®ä»¥å€ã® HTTP ã¡ãœããã«ã¢ã¯ã»ã¹å¶åŸ¡ã å¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><LimitExcept <var>method</var> [<var>method</var>] ... > ... </LimitExcept></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><LimitExcept></code> ãš <code></LimitExcept></code> ã¯ãåŒæ°ã« <strong>å«ãŸããŠããªã</strong> HTTP ã®ã¢ã¯ã»ã¹ã¡ãœããã«é©çšããããã®ã¢ã¯ã»ã¹å¶åŸ¡ ãã£ã¬ã¯ãã£ããæ¬ãããã«å©çšããŸãã ã€ãŸãã<code class="directive"><a href="#limit"><Limit></a></code> ã»ã¯ã·ã§ã³ã®å察ã®åäœããã æšæºã®ã¡ãœãããšæšæºå€ãæªèªèã®ã¡ãœããã®å Žåã®äž¡æ¹ãèšå®ã§ããŸãã <code class="directive"><a href="#limit"><Limit></a></code> ã®ããã¥ã¡ã³ãã 䜵ããŠåç §ããŠãã ããã</p> <p>äŸ:</p> <div class="example"><p><code> <LimitExcept POST GET><br /> <span class="indent"> Require valid-user<br /> </span> </LimitExcept> </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LimitInternalRecursion" id="LimitInternalRecursion">LimitInternalRecursion</a> <a name="limitinternalrecursion" id="limitinternalrecursion">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>å éšãªãã€ã¬ã¯ããšå ¥ãåã«ãªã£ããµããªã¯ãšã¹ãã®æå€§æ°ã決å®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>LimitInternalRecursion <var>number</var> [<var>number</var>]</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>LimitInternalRecursion 10</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Apache 2.0.47 以éã§äœ¿çšå¯èœ</td></tr> </table> <p>å éšãªãã€ã¬ã¯ãã¯äŸãã° <code class="directive">Action</code> ãã£ã¬ã¯ãã£ãã 䜿ã£ãŠãããšãã«èµ·ãããŸãã<code class="directive">Action</code> ãã£ã¬ã¯ãã£ã㯠å ã ã®ãªã¯ãšã¹ãã CGI ã¹ã¯ãªããã«å éšãªãã€ã¬ã¯ããè¡ãªããŸãã ãµããªã¯ãšã¹ãã¯ããã€ãã® URI ã«å¯ŸããŠããªã¯ãšã¹ãããããšãã« äœãèµ·ãããã調ã¹ãããã® Apache ã®æ©æ§ã§ããäŸãã°ã<code class="module"><a href="../mod/mod_dir.html">mod_dir</a></code> 㯠<code class="directive"><a href="../mod/mod_dir.html#directoryindex">DirectoryIndex</a></code> ãã£ã¬ã¯ãã£ã ããªã¹ããããã¡ã€ã«ã調ã¹ãããã«ãµããªã¯ãšã¹ãã䜿ããŸãã</p> <p><code class="directive">LimitInternalRecursion</code> ã¯å éšãªãã€ã¬ã¯ãã ãµããªã¯ãšã¹ããç¡éã«ãŒãã«é¥ã£ããšãã®ãµãŒãã¯ã©ãã·ã¥ãé²ããŸãã æ®éããã®ãããªã«ãŒãã¯èšå®ã«å€±æãããšãã«çºçããŸãã</p> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ããªã¯ãšã¹ãæ¯ã«è©äŸ¡ããããäºã€ã®éãéçå€ã èšå®ããŸããæåã® <var>number</var> ã¯ãèµ·ããåŸã å éšãªã¯ãšã¹ãã®æå€§å€ãèšå®ããŸããäºã€ãã® <var>number</var> 㯠ãµããªã¯ãšã¹ããå ¥ãåã«ã§ããæ·±ããèšå®ããŸãã<var>number</var> ã äžã€ã ãæå®ãããšãã¯ãäž¡æ¹ã®éçå€ã«ãã®å€ãèšå®ãããŸãã</p> <div class="example"><h3>äŸ</h3><p><code> LimitInternalRecursion 5 </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LimitRequestBody" id="LimitRequestBody">LimitRequestBody</a> <a name="limitrequestbody" id="limitrequestbody">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¯ã©ã€ã¢ã³ãããéããã HTTP ãªã¯ãšã¹ãã®ããã£ã® ç·éãå¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>LimitRequestBody <var>bytes</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>LimitRequestBody 0</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ããªã¯ãšã¹ãããã£ã«èš±ããããã€ãæ°ã<var>bytes</var> ã 0 (ç¡å¶éãæå³ããŸã) ãã 2147483647 (2GB) ãŸã§ã®æ°å€ã§æå®ããŸãã</p> <p><code class="directive">LimitRequestBody</code> ãã£ã¬ã¯ãã£ãã¯ã ãã£ã¬ã¯ãã£ããæžãããã³ã³ããã¹ã (ãµãŒãå šäœããã£ã¬ã¯ããªããã¡ã€ã«ããã±ãŒã·ã§ã³) å 㧠蚱容ãã HTTP ãªã¯ãšã¹ãã¡ãã»ãŒãžããã£ã®ãµã€ãºã«å¶éããããããšãã§ããŸãã ã¯ã©ã€ã¢ã³ãã®ãªã¯ãšã¹ãããã®å¶éå€ãè¶ããŠããã°ã ãµãŒãã¯ãªã¯ãšã¹ããåŠçããã«ãšã©ãŒãè¿ããŸãã æ®éã®ãªã¯ãšã¹ãã¡ãã»ãŒãžããã£ã®ãµã€ãºã¯ããªãœãŒã¹ã®çš®é¡ã èš±å¯ãããŠããã¡ãœããã«ãã£ãŠå€§ããå€ãããŸãã CGI ã¹ã¯ãªããã¯ãããæ å ±ãåä¿¡ããããã« ã¡ãã»ãŒãžããã£ã䜿ããŸãã <code>PUT</code> ã¡ãœããã®å®è£ ã¯ããã®ãã£ã¬ã¯ãã£ãã®å€ãšã㊠å°ãªããšããããªãœãŒã¹ã«å¯ŸããŠãµãŒããåãä»ããããšãã 衚çŸã®å€§ããã»ã©ã®å€ãå¿ èŠãšããŸãã</p> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ã 管çè ã«ã¯ã©ã€ã¢ã³ãããã®ç°åžžãªãªã¯ãšã¹ããå¶åŸ¡ã§ããããã«ãã äœããã®åœ¢ã®ãµãŒãã¹æåŠæ»æ (蚳泚:DoS) ãé¿ããã®ã«æå¹ã§ãã</p> <p>ããå Žæãžã®ãã¡ã€ã«ã¢ããããŒããèš±å¯ããå Žåã«ã ã¢ããããŒãã§ãããã¡ã€ã«ã®ãµã€ãºã 100K ã«å¶éããããã°ã 以äžã®ããã«æå®ããŸã:</p> <div class="example"><p><code> LimitRequestBody 102400 </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LimitRequestFields" id="LimitRequestFields">LimitRequestFields</a> <a name="limitrequestfields" id="limitrequestfields">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¯ã©ã€ã¢ã³ãããã® HTTP ãªã¯ãšã¹ãã®ããããã£ãŒã«ãã®æ°ã å¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>LimitRequestFields <var>number</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>LimitRequestFields 100</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><var>number</var> ã«ã¯ã0 (ç¡å¶éãæå³ããŸã) ãã 32767 ãŸã§ã®æŽæ°ãæå®ããŸãã ããã©ã«ãå€ã¯ã宿° <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> ã«ããã³ã³ãã€ã«æã«å®çŸ©ãããŸã (é åžæã«ã¯ 100 ãšæå®ãããŠããŸã)ã</p> <p><code class="directive">LimitRequestBody</code> ãã£ã¬ã¯ãã£ãã¯ã ãµãŒã管çè ã HTTP ãªã¯ãšã¹ãäžã«ãããŠèš±å¯ãããªã¯ãšã¹ãããããã£ãŒã«ãæ°ã æå®ããŸãã ãµãŒãã¯ãã®å€ã«ã¯éåžžã®ã¯ã©ã€ã¢ã³ãããã®ãªã¯ãšã¹ãã«å«ãŸããã§ããã ãã£ãŒã«ãã®æ°ãã倧ããªå€ãå¿ èŠãšããŸãã ã¯ã©ã€ã¢ã³ãã«ãã䜿ãããèŠæ±ããããŒãã£ãŒã«ãã®æ°ã 20 ãè¶ ããããšã¯ã»ãšãã©ãããŸãããã ããã¯çš®ã ã®ã¯ã©ã€ã¢ã³ãã®å®è£ ã«ãã£ãŠå€ããã 詳现ãªã³ã³ãã³ãããŽã·ãšãŒã·ã§ã³ãããããã®ãã©ãŠã¶ã®èšå®ãŸã§ã«ã 圱é¿ãããããšããããŸãã ãªãã·ã§ã³ã® HTTP æ¡åŒµã¯ãªã¯ãšã¹ãããããã£ãŒã«ãã䜿ã£ãŠè¡šãããå Žåã å€ããããŸãã</p> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ã 管çè ã«ã¯ã©ã€ã¢ã³ãããã®ç°åžžãªãªã¯ãšã¹ããå¶åŸ¡ã§ããããã«ãã äœããã®åœ¢ã®ãµãŒãã¹æåŠæ»æ (蚳泚:DoS) ãé¿ããã®ã«æå¹ã§ãã ãªã¯ãšã¹ãã®ãã£ãŒã«ããå€éããããšãæå³ãããšã©ãŒå¿çã æ®éã®ã¯ã©ã€ã¢ã³ãã«è¿ããããããªæã¯ãã®å€ãå¢ãããŠãã ããã</p> <p>äŸ:</p> <div class="example"><p><code> LimitRequestFields 50 </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LimitRequestFieldSize" id="LimitRequestFieldSize">LimitRequestFieldSize</a> <a name="limitrequestfieldsize" id="limitrequestfieldsize">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¯ã©ã€ã¢ã³ãããã® HTTP ãªã¯ãšã¹ãã®ãããã® ãµã€ãºãå¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>LimitRequestFieldSize <var>bytes</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>LimitRequestFieldSize 8190</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ãHTTP ãªã¯ãšã¹ããããäžã€ã§åä»ãã ãã€ãæ° <var>bytes</var> ãæå®ããŸãã</p> <p><code class="directive">LimitRequestFieldSize</code> ãã£ã¬ã¯ãã£ãã¯ã HTTP ãªã¯ãšã¹ããããã§èš±å®¹ããããµã€ãºã墿žãããããšãã§ããŸãã ãµãŒãã¯ããã®ãã£ã¬ã¯ãã£ãã®å€ãšããŠã äžè¬çãªã¯ã©ã€ã¢ã³ããããªã¯ãšã¹ããéãããéã«ããã®ãªã¯ãšã¹ãã« ä»å±ããŠããã©ã®ããããã£ãŒã«ãã«ã€ããŠãã ååè¶³ãã倧ããã«ãªã£ãŠããªããã°ãªããŸããã äžè¬çãªãªã¯ãšã¹ããããã®ãµã€ãºãšãã£ãŠãããã®å€§ããã¯åã ã® ã¯ã©ã€ã¢ã³ãã®å®è£ ã«ãã£ãŠå€§ããç°ãªãã 詳现ãªã³ã³ãã³ãããŽã·ãšãŒã·ã§ã³ããµããŒããããã©ããã®ã ãã©ãŠã¶ã®èšå®ã«ã圱é¿ããããããŸãã SPNEGO èªèšŒãããã§ã¯ 12392 ãã€ãã«ãŸã§åã¶ããšãããããŸãã</p> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ã 管çè ã«ã¯ã©ã€ã¢ã³ãããã®ç°åžžãªãªã¯ãšã¹ããå¶åŸ¡ã§ããããã«ãã äœããã®åœ¢ã®ãµãŒãã¹æåŠæ»æ (蚳泚:DoS) ãé¿ããã®ã«æå¹ã§ãã</p> <p>äŸ:</p> <div class="example"><p><code> LimitRequestFieldSize 4094 </code></p></div> <div class="note">éåžžã¯ããã©ã«ããã倿Žããå¿ èŠã¯ãããŸããã</div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LimitRequestLine" id="LimitRequestLine">LimitRequestLine</a> <a name="limitrequestline" id="limitrequestline">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¯ã©ã€ã¢ã³ãããã® HTTP ãªã¯ãšã¹ãè¡ã®ãµã€ãºãå¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>LimitRequestLine <var>bytes</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>LimitRequestLine 8190</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ãHTTP ãªã¯ãšã¹ãè¡å ã§èš±å®¹ããããã€ãæ° <var>bytes</var> ãæå®ããŸãã</p> <p><code class="directive">LimitRequestLine</code> ãã£ã¬ã¯ãã£ãã«ããã ã¯ã©ã€ã¢ã³ãããã® HTTP ãªã¯ãšã¹ãè¡ã®èš±å®¹ãµã€ãºã墿žã§ããŸãã ãªã¯ãšã¹ãè¡ã¯ãHTTPã¡ãœãããURIããããã³ã«ããŒãžã§ã³ããæã£ãŠããã <code class="directive">LimitRequestLine</code> ã¯ãµãŒããžã®ãªã¯ãšã¹ãã«å¯Ÿã㊠蚱容ãããªã¯ãšã¹ã URI ã®é·ããå¶éããããšã«ãªããŸãã ãµãŒãã¯ã<code>GET</code> ãªã¯ãšã¹ãã®ã¯ãšãªéšåãå«ããŠããªãœãŒã¹ã®ååãå ¥ãã«è¶³ã 倧ãããå¿ èŠãšããŸãã</p> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ã 管çè ã«ã¯ã©ã€ã¢ã³ãããã®ç°åžžãªãªã¯ãšã¹ããå¶åŸ¡ã§ããããã«ãã äœããã®åœ¢ã®ãµãŒãã¹æåŠæ»æ (蚳泚:DoS) ãé¿ããã®ã«æå¹ã§ãã</p> <p>äŸ:</p> <div class="example"><p><code> LimitRequestLine 4094 </code></p></div> <div class="note">éåžžã¯ããã©ã«ããã倿Žããå¿ èŠã¯ãããŸããã</div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LimitXMLRequestBody" id="LimitXMLRequestBody">LimitXMLRequestBody</a> <a name="limitxmlrequestbody" id="limitxmlrequestbody">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>XML 圢åŒã®ãªã¯ãšã¹ãã®ããã£ã®ãµã€ãºãå¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>LimitXMLRequestBody <var>bytes</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>LimitXMLRequestBody 1000000</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>XML 圢åŒã®ãªã¯ãšã¹ãã®ããã£ã®æå€§å€ã (ãã€ãåäœã§) å¶éããŸãã å€ã« <code>0</code> ãæå®ãããšãã§ãã¯ãç¡å¹ã«ããŸãã</p> <p>äŸ:</p> <div class="example"><p><code> LimitXMLRequestBody 0 </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Location" id="Location"><Location></a> <a name="location" id="location">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>å²ãã ãã£ã¬ã¯ãã£ããããããã URL ã®ã¿ã«é©çš</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><Location <var>URL-path</var>|<var>URL</var>> ... </Location></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><Location></code> ãã£ã¬ã¯ãã£ãã¯ã URL ã«ããäžã«æžããããã£ã¬ã¯ãã£ãã®é©çšç¯å²ãå¶éããŸãã <code class="directive"><a href="#directory"><Directory></a></code> ãã£ã¬ã¯ãã£ããšäŒŒãŠããŠã <code></Location></code> ãã£ã¬ã¯ãã£ãã§çµäºãã ãµãã»ã¯ã·ã§ã³ãéå§ããŸãã <code class="directive"><Location></code> ã»ã¯ã·ã§ã³ã¯ã <code class="directive"><a href="#directory"><Directory></a></code> ã»ã¯ã·ã§ã³ãš <code>.htaccess</code> ã®èªã¿èŸŒã¿ã®åŸã <code class="directive"><a href="#files"><Files></a></code> ã»ã¯ã·ã§ã³ã é©çšããåŸã«ãèšå®ãã¡ã€ã«ã«çŸããé ã«åŠçãããŸãã</p> <p><code class="directive"><Location></code> ã»ã¯ã·ã§ã³ã¯ å®å šã«ãã¡ã€ã«ã·ã¹ãã ãšé¢é£ããã«åäœããŸãããã®ããšããå°ããã çµæã«ã¯ããã€ã泚æããç¹ããããŸããæãéèŠãªãã®ã¯ã ãã¡ã€ã«ã·ã¹ãã ã®äœçœ®ãžã®ã¢ã¯ã»ã¹å¶åŸ¡ã« <code class="directive"><Location></code> ãã£ã¬ã¯ãã£ãã䜿ãã¹ãã§ã¯ãªã ãšããããšã§ããè€æ°ã® URL ããã¡ã€ã«ã·ã¹ãã ã®åãäœçœ®ã«ãããããã å¯èœããããŸãã®ã§ããã®ãããªã¢ã¯ã»ã¹å¶åŸ¡ã¯åé¿ãããŠããŸãå¯èœæ§ã ãããŸãã</p> <div class="note"><h3>ã〠<code class="directive"><Location></code> ã䜿ãã</h3> <p><code class="directive"><Location></code> ãã£ã¬ã¯ãã£ã㯠ãã¡ã€ã«ã·ã¹ãã å€ã®ã³ã³ãã³ãã«ãã£ã¬ã¯ãã£ããé©çšãããšã㫠䜿çšããŠãã ããããã¡ã€ã«ã·ã¹ãã ã«ååšããã³ã³ãã³ãã«å¯ŸããŠã¯ã <code class="directive"><a href="#directory"><Directory></a></code> ãš <code class="directive"><a href="#files"><Files></a></code> ã䜿ã£ãŠãã ããã äŸå€ã¯ã<code><Location /></code> ã§ãããã¯ãµãŒãå šäœã«å¯Ÿã㊠èšå®ãé©çšããç°¡åãªæ¹æ³ã§ãã</p> </div> <p>å šãŠã® (ãããã·ä»¥å€ã®) ãªã¯ãšã¹ãã«å¯Ÿãã URL 㯠<code>/path/</code> ãšããã æ¥é èŸ <code>http://servername</code> ãå«ãŸãªã圢ã§ãããããŸãã ãããã·ãªã¯ãšã¹ãã®å Žåã«ã¯ã<code>scheme://servername/path</code> ãšããæ¥é èŸãå«ã圢ã§ãããããæ¥é èŸãå«ããŠæå®ããå¿ èŠããããŸãã</p> <p>URL ã«ã¯ã¯ã€ã«ãã«ãŒããå©çšããããšãã§ããŸãã <code>?</code> ã¯ä»»æã®äžæåã<code>*</code> ã¯ä»»æã®æååã«ãããããŸãã ã©ã¡ãã®ã¯ã€ã«ãã«ãŒãã URL ãã¹äžã® / ã«ã¯ãããããŸããã</p> <p><code>~</code> ãšããæåã远å ããããšã§ã<a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a>ã å©çšããããšãã§ããŸãã äŸãã°:</p> <div class="example"><p><code> <Location ~ "/(extra|special)/data"> </code></p></div> <p>㯠URL ã« <code>/extra/data</code> ã <code>/special/data</code> ãšããæååã å«ãŸããŠããå Žåã«ãããããŸãã <code class="directive"><a href="#locationmatch"><LocationMatch></a></code> ãã£ã¬ã¯ãã£ã㯠<code class="directive"><Location></code> ã®æ£èŠè¡šçŸ çãšãŸã£ããåãåäœãããŸãã</p> <p><code class="directive"><Location></code> æ©èœã¯ã<code class="directive"><a href="#sethandler">SetHandler</a></code> ãã£ã¬ã¯ãã£ããš çµåãããŠå©çšãããšç¹ã«äŸ¿å©ã§ãã äŸãã°ã<code>example.com</code> ã®ãã©ãŠã¶ããã®ã¿ã¹ããŒã¿ã¹ã®åç §ãæå¹ã«ããããã°ã 次ã®ããã«ããã°è¯ãã§ãããã</p> <div class="example"><p><code> <Location /status><br /> <span class="indent"> SetHandler server-status<br /> Order Deny,Allow<br /> Deny from all<br /> Allow from .example.com<br /> </span> </Location> </code></p></div> <div class="note"><h3>/ (ã¹ã©ãã·ã¥) ã«é¢ããæ³š</h3> <p>ã¹ã©ãã·ã¥æåã¯ãURL å ã«çŸããå Žæã«å¿ããŠå€åãã ç¹å¥ãªæå³ãæã£ãŠããŸãã ãã¡ã€ã«ã·ã¹ãã ã«ãããŠå©çšããå Žåã«ã¯è€æ°ã®ã¹ã©ãã·ã¥ã§ãäžã€ã® ã¹ã©ãã·ã¥ãšããŠæ±ãããããšãå€ãã§ããã (<em>ããªãã¡</em>ã<code>/home///foo</code> 㯠<code>/home/foo</code> ãšåããšãã£ãããã«) URL ã«ãããŠã¯å¿ ããããããªãããã§ã¯ãããŸããã <code class="directive"><a href="#locationmatch"><LocationMatch></a></code> ãã£ã¬ã¯ãã£ããæ£èŠè¡šçŸãå©çšãã <code class="directive"><Location></code> ãã£ã¬ã¯ãã£ãã§ã è€æ°ã®ã¹ã©ãã·ã¥ã«ããããããããšãã«ã¯ãæç€ºçã«èšè¿°ãã å¿ èŠããããŸãã</p> <p>äŸãã°ã<code><LocationMatch ^/abc></code> ã¯ã <code>/abc</code> ãšãããªã¯ãšã¹ã URL ã«ãããããŸããã <code>//abc</code> ãšãããªã¯ãšã¹ã URL ã«ã¯ãããããŸããã (æ£èŠè¡šçŸã§ãªã) <code class="directive"><Location></code> ãã£ã¬ã¯ãã£ãã¯ã proxy ãªã¯ãšã¹ãã«å¯ŸããŠå©çšããéã«ã¯åæ§ã®æ¯ãèããããŸããã (æ£èŠè¡šçŸã§ãªã) <code class="directive"><Location></code> ã proxy ã§ãªããªã¯ãšã¹ãã«å¯ŸããŠå©çšããéã«ã¯ã äžã€ã®ã¹ã©ãã·ã¥ã§è€æ°ã®ã¹ã©ãã·ã¥ã«ãããããŸãã äŸãã°ã<code><Location /abc/def></code> ãšæå®ãã <code>/abc//def</code> ãšãããªã¯ãšã¹ããããã°ã ãããããããšã«ãªããŸãã</p></div> <h3>åç §</h3> <ul> <li>ãªã¯ãšã¹ããåããéã«ãããã®ç°ãªãã»ã¯ã·ã§ã³ã çµã¿åããããæ¹æ³ã«ã€ããŠã¯ <a href="../sections.html"> <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ã®åäœæ³</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LocationMatch" id="LocationMatch"><LocationMatch></a> <a name="locationmatch" id="locationmatch">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>å²ãã ãã£ã¬ã¯ãã£ããæ£èŠè¡šçŸã«ããããã URL ã®ã¿ã« é©çš</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><LocationMatch <var>regex</var>> ... </LocationMatch></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><LocationMatch></code> ãã£ã¬ã¯ãã£ãã¯ã <code class="directive"><a href="#location"><Location></a></code> ãšåãæ§ã« URL ã«ããäžã«æžããããã£ã¬ã¯ãã£ãã®é©çšç¯å²ãå¶éããŸãã äœããåŒæ°ã¯æ®éã®æååã§ã¯ãªãã<a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a>ãšãªããŸãã äŸãã°ã</p> <div class="example"><p><code> <LocationMatch "/(extra|special)/data"> </code></p></div> <p>㯠URL ã« <code>/extra/data</code> ã <code>/special/data</code> ãšããæååãå«ãŸããŠããå Žåã«ãããããŸãã</p> <h3>åç §</h3> <ul> <li>ãªã¯ãšã¹ããåããéã«ãããã®ç°ãªãã»ã¯ã·ã§ã³ã çµã¿åããããæ¹æ³ã«ã€ããŠã¯ <a href="../sections.html"> <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ã®åäœæ³</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LogLevel" id="LogLevel">LogLevel</a> <a name="loglevel" id="loglevel">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ErrorLog ã®åé·æ§ãå¶åŸ¡ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>LogLevel <var>level</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>LogLevel warn</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">LogLevel</code> ã¯ããšã©ãŒãã° (<code class="directive"><a href="#errorlog">ErrorLog</a></code> ãã£ã¬ã¯ãã£ãã èŠãŠãã ãã) ãžèšé²ããã¡ãã»ãŒãžã®åé·æ§ã調æŽããŸãã 以äžã® <var>level</var> ãæå®ã§ããé ã«éèŠåºŠãäžãã£ãŠãããŸãã</p> <table class="bordered"> <tr> <th><strong>ã¬ãã«</strong> </th> <th><strong>説æ</strong> </th> <th><strong>äŸ</strong> </th> </tr> <tr> <td><code>emerg</code> </td> <td>ç·æ¥ - ã·ã¹ãã ãå©çšã§ããªã</td> <td>Child cannot open lock file. Exiting (åããã»ã¹ãããã¯ãã¡ã€ã«ãéããªãããçµäºãã)</td> </tr> <tr> <td><code>alert</code> </td> <td>çŽã¡ã«å¯ŸåŠãå¿ èŠ</td> <td>getpwuid: couldn't determine user name from uid (getpwuid: UID ãããŠãŒã¶åãç¹å®ã§ããªãã£ã)</td> </tr> <tr> <td><code>crit</code> </td> <td>èŽåœçãªç¶æ </td> <td>socket: Failed to get a socket, exiting child (socket: ãœã±ãããåŸãããªããããåããã»ã¹ãçµäºããã)</td> </tr> <tr> <td><code>error</code> </td> <td>ãšã©ãŒ</td> <td>Premature end of script headers (ã¹ã¯ãªããã®ããããè¶³ããªããŸãŸã§çµãã£ã)</td> </tr> <tr> <td><code>warn</code> </td> <td>èŠå</td> <td>child process 1234 did not exit, sending another SIGHUP (åããã»ã¹ 1234 ãçµäºããªãã£ããããäžåºŠ SIGHUP ãéã)</td> </tr> <tr> <td><code>notice</code> </td> <td>æ®éã ããéèŠãªæ å ±</td> <td>httpd: caught SIGBUS, attempting to dump core in ... (httpd: SIGBUS ã·ã°ãã«ãåãã... ãžã³ã¢ãã³ãããã)</td> </tr> <tr> <td><code>info</code> </td> <td>è¿œå æ å ±</td> <td>"Server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers)..." (ããµãŒãã¯è² è·ãé«ãã (StartServers ã Min/MaxSpareServers ã®å€ãå¢ããå¿ èŠããããã)ã)</td> </tr> <tr> <td><code>debug</code> </td> <td>ãããã°ã¡ãã»ãŒãž</td> <td>"Opening config file ..." (èšå®ãã¡ã€ã«ãéããŠãã...)</td> </tr> </table> <p>ç¹å®ã®ã¬ãã«ãæå®ãããå Žåãããããé«ãã¬ãã«ã®å šãŠã®ã¡ãã»ãŒãžã å ±åãããŸãã <em>äŸãã°</em>ã<code>LogLevel info</code> ã«æå®ãããšã <code>notice</code> ãš <code>warn</code> ãå ±åãããŸãã</p> <p>ãªã <code>crit</code> 以äžã®ã¬ãã«ãæå®ããããšãæšå¥šãããŸãã</p> <p>äŸ:</p> <div class="example"><p><code> LogLevel notice </code></p></div> <div class="note"><h3>泚</h3> <p>ãã¡ã€ã«ã«ãã°ãåºåããå Žåã<code>notice</code> ã¬ãã«ã®ã¡ãã»ãŒãžã¯æå¶ãããããã¹ãŠãã°ã«åºåãããŸãã ããã <code>syslog</code> ã䜿çšããŠããå Žåã¯ã ããã¯åœãŠã¯ãŸããŸããã</p> </div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="MaxKeepAliveRequests" id="MaxKeepAliveRequests">MaxKeepAliveRequests</a> <a name="maxkeepaliverequests" id="maxkeepaliverequests">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>æç¶çãªæ¥ç¶äžã§èš±å¯ããããªã¯ãšã¹ãã®æ°</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>MaxKeepAliveRequests <var>number</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>MaxKeepAliveRequests 100</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">MaxKeepAliveRequests</code> ãã£ã¬ã¯ãã£ãã¯ã <code class="directive"><a href="#keepalive">KeepAlive</a></code> ãæå¹ãªå Žåã«ã äžåã®æ¥ç¶ã§åãä»ãå¯èœãªãªã¯ãšã¹ãã®æ°ãå¶éããŸãã <code>0</code> ã«èšå®ããŠããã°ãåãä»ãããªã¯ãšã¹ãã¯ç¡å¶éã«ãªããŸãã ãã®èšå®ã¯ããµãŒãæ§èœãåäžãããããã«ã倧ããªæ°å€ãæå®ããããšãå§ããŸãã </p> <p>äŸ:</p> <div class="example"><p><code> MaxKeepAliveRequests 500 </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="MaxRangeOverlaps" id="MaxRangeOverlaps">MaxRangeOverlaps</a> <a name="maxrangeoverlaps" id="maxrangeoverlaps">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Number of overlapping ranges (eg: <code>100-200,150-300</code>) allowed before returning the complete resource </td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>MaxRangeOverlaps default | unlimited | none | <var>number-of-ranges</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>MaxRangeOverlaps 20</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache HTTP Server 2.3.15 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="MaxRangeReversals" id="MaxRangeReversals">MaxRangeReversals</a> <a name="maxrangereversals" id="maxrangereversals">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Number of range reversals (eg: <code>100-200,50-70</code>) allowed before returning the complete resource </td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>MaxRangeReversals default | unlimited | none | <var>number-of-ranges</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>MaxRangeReversals 20</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache HTTP Server 2.3.15 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="MaxRanges" id="MaxRanges">MaxRanges</a> <a name="maxranges" id="maxranges">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Number of ranges allowed before returning the complete resource </td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>MaxRanges default | unlimited | none | <var>number-of-ranges</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>MaxRanges 200</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache HTTP Server 2.3.15 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="MergeTrailers" id="MergeTrailers">MergeTrailers</a> <a name="mergetrailers" id="mergetrailers">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Determines whether trailers are merged into headers</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>MergeTrailers [on|off]</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>MergeTrailers off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>2.4.11 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Mutex" id="Mutex">Mutex</a> <a name="mutex" id="mutex">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Configures mutex mechanism and lock file directory for all or specified mutexes</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>Mutex <var>mechanism</var> [default|<var>mutex-name</var>] ... [OmitPID]</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>Mutex default</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache HTTP Server 2.3.4 and later</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="NameVirtualHost" id="NameVirtualHost">NameVirtualHost</a> <a name="namevirtualhost" id="namevirtualhost">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ååããŒã¹ã®ããŒãã£ã«ãã¹ãã®ããã® IP ã¢ãã¬ã¹ãæå®</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>NameVirtualHost <var>addr</var>[:<var>port</var>]</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">NameVirtualHost</code> ãã£ã¬ã¯ãã£ãã¯ã <a href="../vhosts/">ååããŒã¹ã®ããŒãã£ã«ãã¹ã</a>ã®èšå®ãè¡ãªãããå Žåã« å¿ èŠãšãªããã®ã§ãã</p> <p><var>addr</var> ã«ã¯ãã¹ãåãæå®ã§ããŸããã åžžã« IP ã¢ãã¬ã¹ãæå®ããã®ãæšå¥šãããŸãã äŸãã°ã</p> <div class="example"><p><code> NameVirtualHost 111.22.33.44 </code></p></div> <p><code class="directive">NameVirtualHost</code> ãã£ã¬ã¯ãã£ãã¯ã ååããŒã¹ã®ããŒãã£ã«ãã¹ãã å©çšããŠãªã¯ãšã¹ããåãä»ãã IP ã¢ãã¬ã¹ãæå®ããŸãã ããã¯ãæ®éã¯ååããŒã¹ã®ããŒãã£ã«ãã¹ãã¢ãã¬ã¹ã§ãã ãã ãããã¡ã€ã¢ãŒãŠã©ãŒã«ãä»ã®ãããã·ããªã¯ãšã¹ããåãä»ãã éã IP ã¢ãã¬ã¹ã®ãµãŒãã«ãã©ã¯ãŒããããšããå Žåã¯ã ãªã¯ãšã¹ããæäŸããããã·ã³äžã®ç©çã€ã³ã¿ãŒãã§ãŒã¹ã® IP ã¢ãã¬ã¹ãæå®ããå¿ èŠããããŸãã è€æ°ã®ã¢ãã¬ã¹ã§è€æ°ã®ååããŒã¹ã®ããŒãã£ã«ãã¹ããæå®ããå Žå㯠åã¢ãã¬ã¹ã«å¯ŸããŠãã£ã¬ã¯ãã£ããæžããŠãã ããã</p> <div class="note"><h3>äž</h3> <p>ãäž»ãµãŒããããã©ã® <code>_default_</code> ãµãŒããã <code class="directive">NameVirtualHost</code> ã§æå®ãã IP ã¢ãã¬ã¹ãžã®ãªã¯ãšã¹ã ãåŠçããããšã¯<strong>ãããŸãã</strong> (ãªãã <code class="directive">NameVirtualHost</code> ã æå®ãããã©ãã®ã¢ãã¬ã¹ã« <code class="directive">VirtualHost</code> ãå®çŸ©ããªãã£ãå Žåãé€ã)ã</p> </div> <p>ååããŒã¹ã®ããŒãã£ã«ãã¹ãã«ããŒãçªå·ãæå®ããããšãå¯èœã§ãã äŸãã°</p> <div class="example"><p><code> NameVirtualHost 111.22.33.44:8080 </code></p></div> <p>IPV6 ã®ã¢ãã¬ã¹ã¯æ¬¡ã®äŸã®ããã«è§æ¬åŒ§ã§å²ãå¿ èŠããããŸã:</p> <div class="example"><p><code> NameVirtualHost [2001:db8::a00:20ff:fea7:ccea]:8080 </code></p></div> <p>ãã¹ãŠã®ã€ã³ã¿ãã§ãŒã¹ãžã®ãªã¯ãšã¹ããåãåãããã«ããããã«ã¯ã åŒæ°ãšã㊠<code>*</code> ã䜿ããŸãã</p> <div class="example"><p><code> NameVirtualHost * </code></p></div> <div class="note"><h3><code class="directive"><VirtualHost></code> ãã£ã¬ã¯ãã£ãã®åŒæ°</h3> <p><code class="directive"><VirtualHost></code> ãã£ã¬ã¯ãã£ãã®åŒæ°ã¯ <code class="directive">NameVirtualHost</code> ãã£ã¬ã¯ãã£ãã®åŒæ°ã«æ£ç¢ºã« åã£ãŠããå¿ èŠãããããšã«æ³šæããŠãã ããã</p> <div class="example"><p><code> NameVirtualHost 1.2.3.4<br /> <VirtualHost 1.2.3.4><br /> # ...<br /> </VirtualHost><br /> </code></p></div> </div> <h3>åç §</h3> <ul> <li><a href="../vhosts/">ããŒãã£ã«ãã¹ãèª¬ææž </a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Options" id="Options">Options</a> <a name="options" id="options">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãã£ã¬ã¯ããªã«å¯ŸããŠäœ¿çšå¯èœãªæ©èœãèšå®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>Options [+|-]<var>option</var> [[+|-]<var>option</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>Options All</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>Options</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">Options</code> ãã£ã¬ã¯ãã£ãã¯ãç¹å®ã®ãã£ã¬ã¯ããªã«å¯Ÿã㊠ã©ã®æ©èœã䜿çšå¯èœããå¶åŸ¡ããŸãã</p> <p><var>option</var> ã <code>None</code>ã«æå®ãããšã ç¹å¥ãªæ©èœã¯å šãŠç¡å¹ã«ãªããŸãã ãŸãã以äžã®ç€ºã 1 å以äžã®ãã®ãæå®ã§ããŸãã</p> <dl> <dt><code>All</code></dt> <dd><code>MultiViews</code> ãé€ããå šãŠã®æ©èœãæå¹ãšãªããŸãã ãããããã©ã«ãã§ãã</dd> <dt><code>ExecCGI</code></dt> <dd> <code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code> ã«ãã CGI ã¹ã¯ãªããã®å®è¡ãèš±å¯ããŸãã</dd> <dt><code>FollowSymLinks</code></dt> <dd> ãµãŒããããã®ãã£ã¬ã¯ããªå ã§ã·ã³ããªãã¯ãªã³ã¯ããã©ããããã«ããŸãã <div class="note"><p>ãµãŒããã·ã³ããªãã¯ãªã³ã¯ããã©ãå Žåã§ãã <code class="directive"><a href="#directory"><Directory></a></code> ã»ã¯ã·ã§ã³ã« ããããããããã® ãã¹åã¯<em>倿ŽãããŸãã</em>ã</p> <p><code class="directive"><a href="#location"><Location></a></code> å ã« ãã®ãªãã·ã§ã³ãæå®ããŠã<strong>ç¡èŠããã</strong>ããšã« 泚æããŠãã ããã</p> <p>ãã®ãªãã·ã§ã³ãçç¥ãããããšãã£ãŠã»ãã¥ãªãã£ã®åŒ·åã«ã¯ãªããŸããã ãªããªã symlink ã®æ€æ»ã¯ã¬ãŒã¹ã³ã³ãã£ã·ã§ã³ãåŒãèµ·ããå¯èœæ§ãããã ãã®ããåé¿å¯èœã«ãªãããã§ãã</p> </div></dd> <dt><code>Includes</code></dt> <dd> <code class="module"><a href="../mod/mod_include.html">mod_include</a></code> ãæäŸãã SSI ãæå¹ã«ããŸãã</dd> <dt><code>IncludesNOEXEC</code></dt> <dd> SSI ã¯æå¹ã«ãªããŸããã<code>#exec</code> ã³ãã³ã ãš <code>#exec CGI</code> ã¯ç¡å¹ã«ãªããŸãã ãã ãã<code>#include virtual</code> ã«ããã<code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> ããããã£ã¬ã¯ããªã§ CGI ãå®è¡ããããšã¯å¯èœã§ãã</dd> <dt><code>Indexes</code></dt> <dd> ãããURL ããã£ã¬ã¯ããªã«ããããããªã¯ãšã¹ãã§ãã£ãŠã äžã€ <code class="directive"><a href="../mod/mod_dir.html#directoryindex">DirectoryIndex</a></code> ã§æå®ãããã¡ã€ã« (äŸãã°ã<code>index.html</code>) ã ãã£ã¬ã¯ããªå ã«ç¡ããã°ã<code class="module"><a href="../mod/mod_autoindex.html">mod_autoindex</a></code> ã ãã£ã¬ã¯ããªå ã®äžèŠ§ãæŽåœ¢ããŠè¿ããŸãã</dd> <dt><code>MultiViews</code></dt> <dd> <code class="module"><a href="../mod/mod_negotiation.html">mod_negotiation</a></code> ã«ãã <a href="../content-negotiation.html">ã³ã³ãã³ãããŽã·ãšãŒã·ã§ã³</a> ããã "MultiViews" ãèš±å¯ããŸãã</dd> <dt><code>SymLinksIfOwnerMatch</code></dt> <dd> ã·ã³ããªãã¯å ã®ãã¡ã€ã«ãŸãã¯ãã£ã¬ã¯ããªãã ã·ã³ããªãã¯ãªã³ã¯ã®ææãŠãŒã¶ ID ãšåãå Žåã«ã®ã¿ã·ã³ããªãã¯ãªã³ã¯ã ãã©ããããã«ããŸãã <div class="note"><h3>泚</h3> <p><code class="directive"><a href="#location"><Location></a></code> å ã«ãã®ãªãã·ã§ã³ã æå®ããŠãç¡èŠãããŸãã</p> <p>ãã®ãªãã·ã§ã³ã¯ã»ãã¥ãªãã£ã®åŒ·åã«ã¯ãªããŸããã ãªããªã symlink ã®æ€æ»ã¯ã¬ãŒã¹ã³ã³ãã£ã·ã§ã³ãåŒãèµ·ããå¯èœæ§ãããã ãã®ããåé¿å¯èœã«ãªãããã§ãã</p> </div> </dd> </dl> <p>éåžžããã£ã¬ã¯ããªã«å¯ŸããŠè€æ°ã® <code class="directive">Options</code> ã é©çšå¯èœãªå Žåã æãè¿ããã®äžã€ã®ã¿ãé©çšãããä»ã®ãã®ã¯ç¡èŠãããŸãã è€æ°ã®æå®ãããŒãžãããããã§ã¯ãããŸããã(<a href="../sections.html#mergin">ã»ã¯ã·ã§ã³ã®ããŒãžæ¹æ³</a>ãåç §ããŠãã ããã) ãããããã¹ãŠã® <code class="directive">Options</code> ãã£ã¬ã¯ãã£ãã <code>+</code> ã <code>-</code> ä»ãã§ æå®ãããå Žåã¯ãªãã·ã§ã³ã®å€ã¯ããŒãžãããŸãã <code>+</code> ãé ã«ã€ããã°çŸåšã®èšå®ã«å ãããã <code>-</code> ãä»ããã°çŸåšã®èšå®ããåé€ãããŸãã</p> <div class="warning"><h3>èŠå</h3> <p><code class="directive">Options</code> ã§ <code>+</code> ã <code>-</code> ã®ã€ãããã®ããã€ããªããã®ãšçµã¿åãã㊠æå®ããæ§æã¯æ£ããæ§æã§ã¯ãããŸããã®ã§ãæåŸ ããçµæã« ãªããªãããšããããŸãã</p> </div> <p>äŸãã°ã<code>+</code> ã <code>-</code> ãå©çšããªãå Žåã¯:</p> <div class="example"><p><code> <Directory /web/docs><br /> <span class="indent"> Options Indexes FollowSymLinks<br /> </span> </Directory><br /> <br /> <Directory /web/docs/spec><br /> <span class="indent"> Options Includes<br /> </span> </Directory> </code></p></div> <p><code>/web/docs/spec</code> ãšãããã£ã¬ã¯ããªã«ã¯ã <code>Includes</code> ã ããé©çšãããŸãã ãããã2 çªç®ã® <code class="directive">Options</code> ã§ <code>+</code> ã <code>-</code> ãå©çšããŠã¿ããš:</p> <div class="example"><p><code> <Directory /web/docs><br /> <span class="indent"> Options Indexes FollowSymLinks<br /> </span> </Directory><br /> <br /> <Directory /web/docs/spec><br /> <span class="indent"> Options +Includes -Indexes<br /> </span> </Directory> </code></p></div> <p><code>/web/docs/spec</code> ãšãããã£ã¬ã¯ããªã«ã¯ã <code>FollowSymLinks</code> ãš <code>Includes</code> ãé©çšãããŸãã</p> <div class="note"><h3>泚</h3> <p><code>-IncludesNOEXEC</code> ããã㯠<code>-Includes</code> ãæå®ãããšã åã®èšå®ãã©ã®ããã«ãªã£ãŠããããšã SSI ã¯ç¡å¹ãšãªããŸãã</p> </div> <p>ã©ã®ãããªèšå®ããããŠããªããã°ãããã©ã«ãã§ã¯ <code>All</code> ã« ãªããŸãã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Protocol" id="Protocol">Protocol</a> <a name="protocol" id="protocol">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Protocol for a listening socket</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>Protocol <var>protocol</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache 2.1.5 and later. On Windows, from Apache 2.3.3 and later.</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><code class="directive"><a href="#acceptfilter">AcceptFilter</a></code></li> <li><code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Protocols" id="Protocols">Protocols</a> <a name="protocols" id="protocols">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Protocols available for a server/virtual host</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>Protocols <var>protocol</var> ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>Protocols http/1.1</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Only available from Apache 2.4.17 and later.</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><code class="directive"><a href="#protocolshonororder">ProtocolsHonorOrder</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ProtocolsHonorOrder" id="ProtocolsHonorOrder">ProtocolsHonorOrder</a> <a name="protocolshonororder" id="protocolshonororder">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Determines if order of Protocols determines precedence during negotiation</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ProtocolsHonorOrder On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ProtocolsHonorOrder On</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Only available from Apache 2.4.17 and later.</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p><h3>åç §</h3> <ul> <li><code class="directive"><a href="#protocols">Protocols</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="QualifyRedirectURL" id="QualifyRedirectURL">QualifyRedirectURL</a> <a name="qualifyredirecturl" id="qualifyredirecturl">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Controls whether the REDIRECT_URL environent variable is fully qualified</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>QualifyRedirectURL ON|OFF</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>QualifyRedirectURL OFF</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Directive supported in 2.4.18 and later. 2.4.17 acted as if 'QualifyRedirectURL ON' was configured.</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="RLimitCPU" id="RLimitCPU">RLimitCPU</a> <a name="rlimitcpu" id="rlimitcpu">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Apache ã®åããã»ã¹ããèµ·åãããããã»ã¹ã® CPU æ¶è²»éã å¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>RLimitCPU <var>seconds</var>|max [<var>seconds</var>|max]</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>æªèšå®ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®ããã©ã«ãã䜿çš</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>äžã€ãäºã€ã®ãã©ã¡ãŒã¿ããšããŸãã æåã®ãã©ã¡ãŒã¿ã¯å šããã»ã¹ã«å¯ŸãããªãœãŒã¹ã®ãœãããªããããèšå®ãã 2 çªç®ã®ãã©ã¡ãŒã¿ã¯æå€§ã®ãªãœãŒã¹ãªããããèšå®ããŸãã ãã©ã¡ãŒã¿ã«ã¯æ°åãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®æå€§ãšãªã <code>max</code> ã®ã©ã¡ãããæå®ããããšãã§ããŸãã æå€§ã®ãªãœãŒã¹ãªããããäžããããã«ã¯ããµãŒãã <code>root</code> ã§å®è¡ãããèµ·åãããªããã°ãããŸããã</p> <p>ã¡ãªã¿ã«ããã®èšå®ã¯ Apache ã®åããã»ã¹èªäœã§ã¯ãªãã ãªã¯ãšã¹ããåãä»ãã Apache ã®åããã»ã¹ãã fork ãããããã»ã¹ã« é©çšãããŸãã ããã«ã¯ CGI ã SSI ããå®è¡ãããã³ãã³ããå«ãŸããŸãããApache 㮠芪ããã»ã¹ãã fork ããããã°ã®ãã€ãããã»ã¹ãªã©ã«ã¯é©çšãããŸããã</p> <p>CPU ãªãœãŒã¹ã®ãªãããã¯ããã»ã¹ãããã®ç§æ°ã§è¡šããããŸãã</p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#rlimitmem">RLimitMEM</a></code></li> <li><code class="directive"><a href="#rlimitnproc">RLimitNPROC</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="RLimitMEM" id="RLimitMEM">RLimitMEM</a> <a name="rlimitmem" id="rlimitmem">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Apache ã®åããã»ã¹ããèµ·åãããããã»ã¹ã®ã¡ã¢ãªæ¶è²»éã å¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>RLimitMEM <var>bytes</var>|max [<var>bytes</var>|max]</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>æªèšå®ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®ããã©ã«ãã䜿çš</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>äžã€ãäºã€ã®ãã©ã¡ãŒã¿ããšããŸãã æåã®ãã©ã¡ãŒã¿ã¯å šããã»ã¹ã«å¯ŸãããªãœãŒã¹ã®ãœãããªããããèšå®ãã 2 çªç®ã®ãã©ã¡ãŒã¿ã¯æå€§ã®ãªãœãŒã¹ãªããããèšå®ããŸãã ãã©ã¡ãŒã¿ã«ã¯æ°åãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®æå€§ãšãªã <code>max</code> ã®ã©ã¡ãããæå®ããããšãã§ããŸãã æå€§ã®ãªãœãŒã¹ãªããããäžããããã«ã¯ããµãŒãã <code>root</code> ã§å®è¡ãããèµ·åãããªããã°ãããŸããã</p> <p>ãã®èšå®ã¯ Apache ã®åããã»ã¹èªäœã§ã¯ãªãã ãªã¯ãšã¹ããåãä»ãã Apache ã®åããã»ã¹ãã fork ãããããã»ã¹ã« é©çšãããŸãã ããã«ã¯ CGI ã SSI ããå®è¡ãããã³ãã³ããå«ãŸããŸãããApache 㮠芪ããã»ã¹ãã fork ããããã°ã®ãã€ãããã»ã¹ãªã©ã«ã¯é©çšãããŸããã</p> <p>ã¡ã¢ãªãªãœãŒã¹ã®ãªãããã¯ããã»ã¹ãããã®ãã€ãæ°ã§è¡šããããŸãã</p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#rlimitcpu">RLimitCPU</a></code></li> <li><code class="directive"><a href="#rlimitnproc">RLimitNPROC</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="RLimitNPROC" id="RLimitNPROC">RLimitNPROC</a> <a name="rlimitnproc" id="rlimitnproc">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Apache ã®åããã»ã¹ããèµ·åãããããã»ã¹ãèµ·åããããã»ã¹ã® æ°ãå¶éãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>RLimitNPROC <var>number</var>|max [<var>number</var>|max]</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>æªèšå®ããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®ããã©ã«ãã䜿çš</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>äžã€ãäºã€ã®ãã©ã¡ãŒã¿ããšããŸãã æåã®ãã©ã¡ãŒã¿ã¯å šããã»ã¹ã«å¯ŸãããªãœãŒã¹ã®ãœãããªããããèšå®ãã 2 çªç®ã®ãã©ã¡ãŒã¿ã¯æå€§ã®ãªãœãŒã¹ãªããããèšå®ããŸãã ãã©ã¡ãŒã¿ã«ã¯æ°åãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®æå€§ãšãªã <code>max</code> ã®ã©ã¡ãããæå®ããããšãã§ããŸãã æå€§ã®ãªãœãŒã¹ãªããããäžããããã«ã¯ããµãŒãã <code>root</code> ã§å®è¡ãããèµ·åãããªããã°ãããŸããã</p> <p>ãã®èšå®ã¯ Apache ã®åããã»ã¹èªäœã§ã¯ãªãã ãªã¯ãšã¹ããåãä»ãã Apache ã®åããã»ã¹ãã fork ãããããã»ã¹ã« é©çšãããŸãã ããã«ã¯ CGI ã SSI ããå®è¡ãããã³ãã³ããå«ãŸããŸãããApache 㮠芪ããã»ã¹ãã fork ããããã°ã®ãã€ãããã»ã¹ãªã©ã«ã¯é©çšãããŸããã</p> <p>ããã»ã¹ã®å¶éã¯ããŠãŒã¶ãããã®ããã»ã¹æ°ã§å¶åŸ¡ãããŸãã</p> <div class="note"><h3>泚</h3> <p> CGI ããã»ã¹ããŠã§ããµãŒãã®ãŠãŒã¶ ID 以å€ã§å®è¡ãããã®ã§ <strong>ç¡ããã°</strong>ã ãã®ãã£ã¬ã¯ãã£ãã¯ããµãŒãèªèº«ãçæã§ããããã»ã¹ã®æ°ãå¶éããããšã«ãªããŸãã ãã®ãããªç¶æ³ã«ãªã£ãŠãããã©ããã¯ã<code>error_log</code> äžã® <strong><code>cannot fork</code></strong> ãšããã¡ãã»ãŒãžã«ãã 確èªããããšãã§ããŸãã</p> </div> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#rlimitmem">RLimitMEM</a></code></li> <li><code class="directive"><a href="#rlimitcpu">RLimitCPU</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ScriptInterpreterSource" id="ScriptInterpreterSource">ScriptInterpreterSource</a> <a name="scriptinterpretersource" id="scriptinterpretersource">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>CGI ã¹ã¯ãªããã®ã€ã³ã¿ãŒããªã¿ã®äœçœ®ã調ã¹ãããã®ææ³</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ScriptInterpreterSource Registry|Registry-Strict|Script</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ScriptInterpreterSource Script</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Win32 ã®ã¿ã ãªãã·ã§ã³ <code>Registry-Strict</code> 㯠Apache 2.0 以éã§äœ¿çšå¯èœ</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ãApache ã§ CGI ã¹ã¯ãªããã å®è¡ããå Žåã«å©çšããã€ã³ã¿ãŒããªã¿ãã ã©ã®ããã«æ¢ãåºããã«ã€ããŠå¶åŸ¡ããããã«äœ¿çšããŸãã ããã©ã«ãã®èšå®ã¯ <code>Script</code> ã§ããããã¯ã¹ã¯ãªããã® shebang è¡ (æåã®è¡ã§ <code>#!</code> ããå§ãŸããã®) ã«æãããŠããã€ã³ã¿ãŒããªã¿ã䜿çšããŸããWin32 ã§ã¯ãã®è¡ã¯ 以äžã®æ§ã«ãªããŸãã</p> <div class="example"><p><code> #!C:/Perl/bin/perl.exe </code></p></div> <p>ãããã¯ã<code>perl</code> ã <code>PATH</code> ã«ããå Žåã¯åã«:</p> <div class="example"><p><code> #!perl </code></p></div> <p><code>ScriptInterpreterSource Registry</code> ãæå®ãããšã ã¹ã¯ãªãããã¡ã€ã«ã®æ¡åŒµå (äŸãã°ã<code>.pl</code>) ã ããŒãšããŠãWindows ã®ã¬ãžã¹ããªããªãŒ <code>HKEY_CLASSES_ROOT</code> ãæ€çŽ¢ããããã«ãªããŸããã¬ãžã¹ããªã®ãµãã㌠<code>Shell\ExecCGI\Command</code> ãããããååšããªãå Žå㯠<code>Shell\Open\Command</code> ãã¹ã¯ãªãããã¡ã€ã«ãéããã㫠䜿ãããŸããã¬ãžã¹ããªããŒãèŠã€ãããªããšãã¯ãApache 㯠<code>Script</code> ãªãã·ã§ã³ãæå®ããããšãã®åäœã«æ»ããŸãã</p> <div class="warning"><h3>ã»ãã¥ãªãã£</h3> <p><code>ScriptInterpreterSource Registry</code> ã <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> ããããã£ã¬ã¯ããªã§äœ¿ããšã㯠泚æããŠãã ãããApache ã¯ãã®ãã£ã¬ã¯ããªäžã®<em>ãã¹ãŠã®</em>ãã¡ã€ã«ã å®è¡ããããšããŸãã<code>Registry</code> ãšããèšå®ã¯éåžžã¯å®è¡ãããªã ãã¡ã€ã«ã«å¯ŸããŠæãŸãããªãããã°ã©ã ã®å®è¡ãçºçããå¯èœæ§ããããŸãã äŸãã°ãã»ãšãã©ã® Windows ã·ã¹ãã ã§ã <code>.htm</code> ãã¡ã€ã«ã®ããã©ã«ãã®ãéããã³ãã³ã㯠Microsoft Internet Explorer ãå®è¡ããŸãã®ã§ãã¹ã¯ãªããã«æå®ããã ãã£ã¬ã¯ããªã«ãã <code>.htm</code> ãã¡ã€ã«ãžã®ãªã¯ãšã¹ãã¯ãµãŒãã® ããã¯ã°ã©ãŠã³ãã§ãã©ãŠã¶ãå®è¡ããããšã«ãªããŸããããã¯ãäžåå ãããã§ ã·ã¹ãã ãã¯ã©ãã·ã¥ããããã®è¯ãæ¹æ³ã§ãã</p> </div> <p>Apache 2.0 ããå°å ¥ããããªãã·ã§ã³ <code>Registry-Strict</code> 㯠<code>Registry</code> ãšåãããšãè¡ãªããŸããããµãã㌠<code>Shell\ExecCGI\Command</code> ã®ã¿ã䜿ããŸãã <code>ExecCGI</code> ããŒã¯æ®éã«äœ¿ãããããŒã§ã¯ãããŸãããWindows ã¬ãžã¹ããªã«æåã§èšå®ããå¿ èŠããããŸãã®ã§ãã·ã¹ãã ã§ã®å¶çºçãªããã°ã©ã ã® å®è¡ãé²ãããšãã§ããŸãã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="SeeRequestTail" id="SeeRequestTail">SeeRequestTail</a> <a name="seerequesttail" id="seerequesttail">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Determine if mod_status displays the first 63 characters of a request or the last 63, assuming the request itself is greater than 63 chars.</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>SeeRequestTail On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>SeeRequestTail Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in Apache httpd 2.2.7 and later.</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ServerAdmin" id="ServerAdmin">ServerAdmin</a> <a name="serveradmin" id="serveradmin">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒããã¯ã©ã€ã¢ã³ãã«éããšã©ãŒã¡ãã»ãŒãžã«å«ããé»åã¡ãŒã«ã® ã¢ãã¬ã¹</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ServerAdmin <var>email-address</var>|<var>URL</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">ServerAdmin</code> ã¯ãã¯ã©ã€ã¢ã³ãã«è¿ãããŸããŸãª ãšã©ãŒã¡ãã»ãŒãžäžã«èšè¿°ããã ååãã¢ãã¬ã¹ãèšå®ããŸããäžããããåŒæ°ã <code>httpd</code> ã URL ãšèªèããªãå Žåã¯ã<var>email-address</var> ã ãšè§£éããŠã ãã€ããŒãªã³ã¯ã®ã¿ãŒã²ããã« <code>mailto:</code> ãä»ããŸãã å®éã«ã¯ãããã«ã¯é»åã¡ãŒã«ã¢ãã¬ã¹ã䜿ãããšãæšå¥šãããŠããŸãã å€ãã® CGI ã¹ã¯ãªããã¯ãããªã£ãŠããããšãä»®å®ããŠããŸãã URL ã䜿ãå Žåã¯ãããªãã®ç®¡çäžã«ããå¥ãµãŒããæãããã«ããŠãã ããã ããã§ãªããšããšã©ãŒãèµ·ãã£ããšãã«é£çµ¡ãããããšãã§ããªããªã£ãŠ ããŸããŸãã </p> <p>ãã®éãããã®ããã«å°çšã®ã¢ãã¬ã¹ãèšå®ããã®ãè¯ãã§ãããã äŸãã°ã</p> <div class="example"><p><code> ServerAdmin www-admin@foo.example.com </code></p></div> <p>ãšãã£ãããã«ããŸãããŠãŒã¶ã¯ãã€ããµãŒãã«é¢ãã話ã§ãããšããããšã æèšããŠããããã§ã¯ãããŸããã®ã§ã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ServerAlias" id="ServerAlias">ServerAlias</a> <a name="serveralias" id="serveralias">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãªã¯ãšã¹ããååããŒã¹ã®ããŒãã£ã«ãã¹ãã«ããããããŠãããšã㫠䜿çšããããã¹ãã®å¥å</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ServerAlias <var>hostname</var> [<var>hostname</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">ServerAlias</code> ãã£ã¬ã¯ãã£ãã¯ã<a href="../vhosts/name-based.html">ããŒã ããŒã¹ã®ããŒãã£ã«ãã¹ã</a>ã«ãã㊠䜿çšãããã¹ãã®å¥åãæå®ããŸãã é©åã§ããã°ã<code class="directive">ServerAlias</code> ãã£ã¬ã¯ãã£ãã§ã¯ ã¯ã€ã«ãã«ãŒãã䜿ãããšãã§ããŸãã</p> <div class="example"><p><code> <VirtualHost *><br /> ServerName server.domain.com<br /> ServerAlias server server2.domain.com server2<br /> # ...<br /> </VirtualHost> </code></p></div> <h3>åç §</h3> <ul> <li><a href="../vhosts/">Apache ããŒãã£ã«ãã¹ãèª¬ææž</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ServerName" id="ServerName">ServerName</a> <a name="servername" id="servername">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒããèªåèªèº«ã瀺ããšãã«äœ¿ããã¹ãåãšããŒã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ServerName [<var>scheme</var>://]<var>fully-qualified-domain-name</var>[:<var>port</var>]</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>ãã®ãã£ã¬ã¯ãã£ãã¯ããŒãžã§ã³ 2.0 ã§ã¯ããŒãžã§ã³ 1.3 ã® <code class="directive">Port</code> ãã£ã¬ã¯ãã£ãã®æ©èœãå«ã¿ãŸãã</td></tr> </table> <p><code class="directive">ServerName</code> ãã£ã¬ã¯ãã£ãã¯ã ãµãŒããèªåèªèº«ã瀺ãã¹ããŒã åããã¹ãåãšããŒãçªå·ãèšå®ããŸãã ããã¯ããªãã€ã¬ã¯ããã URL ãçæããéã«å©çšãããŸãã äŸãã°ããŠã§ããµãŒããåãããŠãããã·ã³ã¯ <code>simple.example.com</code> ã§ãDNS ã®ãšã€ãªã¢ã¹ <code>www.example.com</code> ããããšãã«ã ãŠã§ããµãŒããåŸè ãšããŠèªèãããŠæ¬²ãããšãã¯ã以äžã®ããã«ãã£ã¬ã¯ãã£ãã 䜿ããŸãã</p> <div class="example"><p><code> ServerName www.example.com:80 </code></p></div> <p><code class="directive">ServerName</code> ãæå®ãããŠããªããšãã¯ã ãµãŒã㯠IP ã¢ãã¬ã¹ããéåŒããè¡ãªãããšã§ãã¹ãåãç¥ãããšããŸãã <code class="directive">ServerName</code> ã«ããŒããæå®ãããŠããªããšãã¯ã ãµãŒãã¯ãªã¯ãšã¹ããæ¥ãŠãã ããŒãã䜿ããŸããæé«ã®ä¿¡é Œæ§ãšç¢ºå®æ§ãããããããã«ã¯ã <code class="directive">ServerName</code> ã䜿ã£ãŠãã¹ãåãšããŒããæç€ºçã« æå®ããŠãã ããã</p> <p><a href="../vhosts/name-based.html">ååããŒã¹ã®ããŒãã£ã«ãã¹ã</a> ãå©çšããŠããå Žåã<code class="directive"><a href="#virtualhost"><VirtualHost></a></code> ã»ã¯ã·ã§ã³å ã® <code class="directive">ServerName</code> ã¯ãã®ããŒãã£ã«ãã¹ãã«ãããããããã« äœããªã¯ãšã¹ãã® Host: ãããã«çŸããå¿ èŠãããã®ããæå®ããŸãã</p> <p>SSL ãåŠçããããã€ã¹ãäŸãã°ãªããŒã¹ããã¯ã·ãããŒããã©ã³ãµã SSL åŠç軜æžã¢ãã©ã€ã¢ã³ã¹ã®è£åŽã§ãµãŒãã皌åããå Žåãããã§ãããã ãããã£ãå Žåã§ã¯ãã¯ã©ã€ã¢ã³ããæ¥ç¶ãããšãã«äœ¿ã <code>https://</code> ã¹ããŒã ãšããŒãçªå·ã <code class="directive">ServerName</code> ãã£ã¬ã¯ãã£ãã§æå®ããŠãèªå·±åç § URL ãæ£ããçæã§ããããã«ããŸãã</p> <p>èªå·±åç § URL (äŸãã° <code class="module"><a href="../mod/mod_dir.html">mod_dir</a></code> ã¢ãžã¥ãŒã«ã«ãããã®ãªã©) ãæå®ãããããŒãã䜿ãããã¯ã©ã€ã¢ã³ãã®ãªã¯ãšã¹ãã®ããŒãçªå·ã䜿ããã æ±ºå®ããèšå®ã¯ <code class="directive"><a href="#usecanonicalname">UseCanonicalName</a></code> ãã£ã¬ã¯ãã£ããš <code class="directive"><a href="#usecanonicalphysicalport">UseCanonicalPhysicalPort</a></code> ãã£ã¬ã¯ãã£ããåç §ããŠãã ããã</p> <h3>åç §</h3> <ul> <li><a href="../dns-caveats.html">DNS ãš Apache ã«é¢ãã話</a></li> <li><a href="../vhosts/">Apache ããŒãã£ã«ãã¹ãèª¬ææž</a></li> <li><code class="directive"><a href="#usecanonicalname">UseCanonicalName</a></code></li> <li><code class="directive"><a href="#usecanonicalphysicalport">UseCanonicalPhysicalPort</a></code></li> <li><code class="directive"><a href="#namevirtualhost">NameVirtualHost</a></code></li> <li><code class="directive"><a href="#serveralias">ServerAlias</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ServerPath" id="ServerPath">ServerPath</a> <a name="serverpath" id="serverpath">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>éäºæã®ãã©ãŠã¶ãååããŒã¹ã®ããŒãã£ã«ãã¹ãã«ã¢ã¯ã»ã¹ãããšãã® ããã®äºæçš URL ãã¹å</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ServerPath <var>URL-path</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">ServerPath</code> ãã£ã¬ã¯ãã£ãã¯ã<a href="../vhosts/">ããŒã ããŒã¹ã®ããŒãã£ã«ãã¹ã</a>ã«ãããŠå©çšãã äºæçš URL ãã¹åãèšå®ããŸãã</p> <h3>åç §</h3> <ul> <li><a href="../vhosts/">Apache ããŒãã£ã«ãã¹ãèª¬ææž</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ServerRoot" id="ServerRoot">ServerRoot</a> <a name="serverroot" id="serverroot">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã€ã³ã¹ããŒã«ããããµãŒãã®ããŒã¹ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ServerRoot <var>directory-path</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ServerRoot /usr/local/apache</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">ServerRoot</code> ãã£ã¬ã¯ãã£ãã¯ã ãµãŒããååšãããã£ã¬ã¯ããªãèšå®ããŸãã éåžžã<code>conf/</code> ã <code>logs/</code> ãšãã£ããµããã£ã¬ã¯ããªã ååšããŸãã ãŸããä»ã®èšå®ãã£ã¬ã¯ãã£ã (äŸãã° <code class="directive"><a href="#include">Include</a></code> ã <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> ãªã©) ã«ãããçžå¯Ÿãã¹ã¯ã ãã®ãã£ã¬ã¯ããªããã®çžå¯Ÿäœçœ®ãšãªããŸãã</p> <div class="example"><h3>äŸ</h3><p><code> ServerRoot /home/httpd </code></p></div> <h3>åç §</h3> <ul> <li><a href="../invoking.html"><code>httpd</code> ã® <code>-d</code> ãªãã·ã§ã³</a></li> <li><code class="directive">ServerRoot</code> ã®æš©éãé©åã«èšå®ããæ¹æ³ã¯<a href="../misc/security_tips.html#serverroot">ã»ãã¥ãªãã£ã®ãã€</a></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ServerSignature" id="ServerSignature">ServerSignature</a> <a name="serversignature" id="serversignature">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒããçæããããã¥ã¡ã³ãã®ããã¿ãèšå®</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ServerSignature On|Off|EMail</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ServerSignature Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>All</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">ServerSignature</code> ãã£ã¬ã¯ãã£ãã¯ã ãµãŒããçæããããã¥ã¡ã³ã (ãšã©ãŒã¡ãã»ãŒãžã<code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> ã«ããã FTP ã®ãã£ã¬ã¯ããªãªã¹ãã <code class="module"><a href="../mod/mod_info.html">mod_info</a></code> ã®åºåãçã ) ã®æäžè¡ã«ä»äžããããã¿ã®èšå®ãè¡ãªããŸãã ãã®ãããªããã¿è¡ãæå¹ã«ãããçç±ã«ã¯ã ãããã·ãè€æ°é£ãªã£ãŠããå Žåã«ããŠãŒã¶ã¯ã©ã®ãµãŒããè¿ãã ãšã©ãŒã¡ãã»ãŒãžããç¥ãææ®µãã»ãšãã©ç¡ããšãããã®ããããŸãã</p> <p>ããã©ã«ãã§ãã <code>Off</code> ã«èšå®ããããšãããã¿è¡ãæå¶ãããŸã (ãããŠãApache-1.2 以åãšäºæã®åäœãããŸã)ã <code>On</code> ã«èšå®ããå Žåã¯ãåã«ããã¥ã¡ã³ãã®äžã«ããµãŒãã®ããŒãžã§ã³ã 皌åäžã®ããŒãã£ã«ãã¹ãã® <a href="#servername">ServerName</a> ã®æžãããè¡ã远å ãã <code>EMail</code> ã«ããå Žåã¯ããã«åç §ãããããã¥ã¡ã³ãã«å¯Ÿãã <a href="#serveradmin">ServerAdmin</a> ãæã "mailto:" ã远å ãããŸãã</p> <p>ããŒãžã§ã³ 2.0.44 以éã§ã¯ã衚瀺ããããµãŒããŒã®ããŒãžã§ã³çªå·ã®è©³çްã¯<code class="directive"><a href="#servertokens">ServerTokens</a></code> ãã£ã¬ã¯ãã£ãã«ããå¶åŸ¡ãããŸãã</p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#servertokens">ServerTokens</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ServerTokens" id="ServerTokens">ServerTokens</a> <a name="servertokens" id="servertokens">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td><code>Server</code> HTTP å¿çããããèšå®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ServerTokens Full</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ãã®ãã£ã¬ã¯ãã£ãã¯ãã¯ã©ã€ã¢ã³ãã«éãè¿ã <code>Server</code> å¿çãããå ã«ããµãŒãã®äžè¬ç㪠OS çš®å¥ãã ã³ã³ãã€ã«ãããŠçµã¿èŸŒãŸããŠããã¢ãžã¥ãŒã«ã®æ å ±ã å«ãããã©ãããæå®ããŸãã</p> <dl> <dt><code>ServerTokens Prod[uctOnly]</code></dt> <dd>ãµãŒã㯠(äŸãã°): <code>Server: Apache</code> ãšãã£ãããã«éããŸãã</dd> <dt><code>ServerTokens Major</code></dt> <dd>Server sends (<em>e.g.</em>): <code>Server: Apache/2</code></dd> <dt><code>ServerTokens Minor</code></dt> <dd>Server sends (<em>e.g.</em>): <code>Server: Apache/2.0</code></dd> <dt><code>ServerTokens Min[imal]</code></dt> <dd>ãµãŒã㯠(äŸãã°): <code>Server: Apache/2.0.41</code> ãšãã£ãããã«éããŸãã</dd> <dt><code>ServerTokens OS</code></dt> <dd>ãµãŒã㯠(äŸãã°): <code>Server: Apache/2.0.41 (Unix)</code> ãšãã£ãããã«éããŸãã</dd> <dt><code>ServerTokens Full</code> (ãããã¯æªæå®)</dt> <dd>ãµãŒã㯠(äŸãã°): <code>Server: Apache/2.0.41 (Unix) PHP/4.2.2 MyMod/1.2</code> ãšãã£ãããã«éããŸãã</dd> </dl> <p>ãã®èšå®ã¯ãµãŒãå šäœã«é©çšãããããŒãã£ã«ãã¹ãäžã§æå¹ã«ããã ç¡å¹ã«ãããã¯ã§ããŸããã</p> <p>ããŒãžã§ã³ 2.0.44 以éã§ã¯ãã®ãã£ã¬ã¯ãã£ã㯠<code class="directive"><a href="#serversignature">ServerSignature</a></code> ãã£ã¬ã¯ãã£ãã«ãã衚瀺ãããæ å ±ãå¶åŸ¡ããŸãã</p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#serversignature">ServerSignature</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="SetHandler" id="SetHandler">SetHandler</a> <a name="sethandler" id="sethandler">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ããããããã¡ã€ã«ããã³ãã©ã§åŠçãããããã«ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>SetHandler <var>handler-name</var>|None</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Apache 2.0 ã§ core ã«ç§»å</td></tr> </table> <p><code>.htaccess</code> ã <code class="directive"><a href="#directory"><Directory></a></code> ã»ã¯ã·ã§ã³ã<code class="directive"><a href="#location"><Location></a></code> ã»ã¯ã·ã§ã³ã«æžãããå Žåã ãã®ãã£ã¬ã¯ãã£ãã¯ããã«ãããã¹ãŠã®ãã¡ã€ã«ã <var>handler-name</var> ã§æå®ããã<a href="../handler.html">ãã³ãã©</a>ã§æ±ãããããšã匷å¶ããŸããäŸãã°ãæ¡åŒµåã«é¢ãããã ãã£ã¬ã¯ããªå šäœãã€ã¡ãŒãžããããã¡ã€ã«ãšããŠè§£æããŠæ¬²ããå Žåã«ã¯ã 以äžããã®ãã£ã¬ã¯ããªã® <code>.htaccess</code> ãã¡ã€ã«ã«èšè¿°ããŸã:</p> <div class="example"><p><code> SetHandler imap-file </code></p></div> <p>å¥ã®äŸ: URL <code>http://servername/status</code> ãæå®ããããšãã«ãµãŒããç¶æ å ±åãããããã«ããããšãã¯ã以äžã <code>httpd.conf</code> ã«èšè¿°ããŸã:</p> <div class="example"><p><code> <Location /status><br /> <span class="indent"> SetHandler server-status<br /> </span> </Location> </code></p></div> <p><code>None</code> ãšããå€ãèšå®ããããšã§ã åã®æ¹ã® <code class="directive">SetHandler</code> ã§å®çŸ©ãããèšå®ãç¡å¹ã«ããããšã ã§ããŸãã</p> <p><strong>泚æ:</strong>SetHandler ã¯ããã©ã«ãã®ãã³ãã©ããªãŒããŒã©ã€ã ããŸãã®ã§ãéåžžã®æåãããšãã°ãã¹ã©ãã·ã¥ (/) ã§çµãã URL ã ãªã¯ãšã¹ãããããšãã«ãã£ã¬ã¯ããªãã€ã³ããã¯ã¹ãã¡ã€ã«ãè¿ãããåãæ±ãæåã¯ã è¡ãããªããªããŸãã </p> <h3>åç §</h3> <ul> <li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="SetInputFilter" id="SetInputFilter">SetInputFilter</a> <a name="setinputfilter" id="setinputfilter">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ã¯ã©ã€ã¢ã³ãã®ãªã¯ãšã¹ãã POST ã®å ¥åãåŠçãããã£ã«ã¿ãèšå®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>SetInputFilter <var>filter</var>[;<var>filter</var>...]</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">SetInputFilter</code> ãã£ã¬ã¯ãã£ãã¯ã¯ã©ã€ã¢ã³ãã® ãªã¯ãšã¹ãã POST ã®å ¥åããµãŒããåãåã£ããšãã«åŠçãããã£ã«ã¿ã èšå®ããŸãããã㯠<code class="directive"><a href="../mod/mod_mime.html#addinputfilter">AddInputFilter</a></code> ãã£ã¬ã¯ãã£ããå«ããä»ã®å Žæã§å®çŸ©ãããŠãããã£ã«ã¿ã®èšå®ã« 远å ãããŸãã</p> <p>è€æ°ã®ãã£ã«ã¿ãæå®ãããšãã¯ãããŒã¿ãåŠçããé çªã« ã»ãã³ãã³ã§åºåãå¿ èŠããããŸãã</p> <h3>åç §</h3> <ul> <li><a href="../filter.html">ãã£ã«ã¿</a>èª¬ææž</li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="SetOutputFilter" id="SetOutputFilter">SetOutputFilter</a> <a name="setoutputfilter" id="setoutputfilter">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒãã®å¿çãåŠçãããã£ã«ã¿ãèšå®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>SetOutputFilter <var>filter</var>[;<var>filter</var>...]</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">äžæžã:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">SetOutputFilter</code> ãã£ã¬ã¯ãã£ã㯠ãµãŒãã®å¿çãã¯ã©ã€ã¢ã³ãã«éãè¿ãããåã«åŠçãããã£ã«ã¿ãèšå®ããŸãã ãã㯠<code class="directive"><a href="../mod/mod_mime.html#addoutputfilter">AddOutputFilter</a></code> ãã£ã¬ã¯ãã£ããå«ããä»ã®å Žæã§å®çŸ©ãããŠãããã£ã«ã¿ã®èšå®ã« 远å ãããŸãã</p> <p>äŸãã°ã以äžã®èšå®ã¯ <code>/www/data/</code> ãã£ã¬ã¯ããªã®ãã¹ãŠã® ãã¡ã€ã«ã SSI ã§åŠçããŸãã</p> <div class="example"><p><code> <Directory /www/data/><br /> <span class="indent"> SetOutputFilter INCLUDES<br /> </span> </Directory> </code></p></div> <p>è€æ°ã®ãã£ã«ã¿ãæå®ãããšãã¯ãããŒã¿ãåŠçããé çªã« ã»ãã³ãã³ã§åºåãå¿ èŠããããŸãã</p> <h3>åç §</h3> <ul> <li><a href="../filter.html">ãã£ã«ã¿</a>èª¬ææž</li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="TimeOut" id="TimeOut">TimeOut</a> <a name="timeout" id="timeout">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>åã€ãã³ãã«ã€ããŠããªã¯ãšã¹ãã倱æããããŸã§ã«ãµãŒãã åŸ ã€æéãèšå®</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>TimeOut <var>seconds</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>TimeOut 60</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive">TimeOut</code> ãã£ã¬ã¯ãã£ãã¯ã æ§ã ãªæ¡ä»¶äžã§ã® I/O åŸ ã¡æéãå®çŸ©ããŸã:</p> <ol> <li>ã¯ã©ã€ã¢ã³ãããã®ããŒã¿ãèªã¿èŸŒãæã åä¿¡ãããã¡ã空ã«ãªã£ãŠããŠãTCP ãã±ãããå±ããŸã§ åŸ ã€æéã®é·ã</li> <li>ã¯ã©ã€ã¢ã³ãã«å¯ŸããŠããŒã¿ãéãåºãæã éä¿¡ãããã¡ããã£ã±ãã§ããã±ããã®åä¿¡å®äº <span class="transnote">(<em>蚳泚:</em> ACK)</span> ãå±ããŸã§åŸ ã€æéã®é·ã</li> <li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code> å ã§ãCGI ã¹ã¯ãªãããåºåã è¿ããŸã§ã®åŸ ã¡æéã®é·ã</li> <li><code class="module"><a href="../mod/mod_ext_filter.html">mod_ext_filter</a></code> å ã§ããã£ã«ã¿åŠçã§åºåã åŸ ã€æéã®é·ã</li> <li><code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> å ã§ã <code class="directive"><a href="../mod/mod_proxy.html#proxytimeout">ProxyTimeout</a></code> ãèšå®ãããŠããªãå Žåã®ããã©ã«ãã®åŸ ã¡æé</li> </ol> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="TraceEnable" id="TraceEnable">TraceEnable</a> <a name="traceenable" id="traceenable">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td><code>TRACE</code> ã¡ãœããã®ãªã¯ãšã¹ãã«å¯Ÿããå¿çæ¹æ³ã決ãã </td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>TraceEnable <var>[on|off|extended]</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>TraceEnable on</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Apache 1.3.34, 2.0.55 以é</td></tr> </table> <p>Apache ã®ã³ã¢æ©èœ<span class="transnote">(<em>蚳泚:</em> <code class="module"><a href="../mod/core.html">core</a></code>)</span>ãš <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> äž¡æ¹ã® <code>TRACE</code> ã®æåããªãŒããŒã©ã€ãããŸããããã©ã«ãã® <code>TraceEnable on</code> ã¯ããªã¯ãšã¹ãããã£ãåãå ¥ããªããããªãRFC2616 ã«æºæ ãã <code>TRACE</code> ãªã¯ãšã¹ããåãä»ããŸãã <code>TraceEnable off</code> ãšèšå®ãããšãã³ã¢ãµãŒããš <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> 㯠<code>405</code> (ã¡ãœããäžèš±å¯) ãšã©ãŒãã¯ã©ã€ã¢ã³ãã«è¿ããŸãã</p> <p>æåŸã«ããã¹ãã調æ»ç®çãªã©ã®éå®çšéãšããŠã仿§ã«æºæ ããªã <code>TraceEnable extended</code> ã䜿ã£ãŠããªã¯ãšã¹ãããã£ã åãä»ããããã«æåã倿Žã§ããŸãã(ãªãªãžã³ãµãŒããšããŠã®) Apache ã®ã³ã¢ã§ã¯ããªã¯ãšã¹ãããã£ã®ãµã€ãºã¯ 64k ( <code>Transfer-Encoding: chunked</code> ã䜿ãããŠããå Žå㯠chunk ãããçšã« +8k) ã«å¶éãããŸãã Apache ã®ã³ã¢ã¯ãããããšå šãŠã® chunk ããããã¬ã¹ãã³ã¹ã® ããã£ãšããŠè¿åŽããŸãã proxy ãµãŒããšããŠã¯ããªã¯ãšã¹ãããã£ã®ãµã€ãºã¯ 64k ã«å¶éãããŸããã</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="UnDefine" id="UnDefine">UnDefine</a> <a name="undefine" id="undefine">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Undefine the existence of a variable</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>UnDefine <var>parameter-name</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table><p>ãã®ãã£ã¬ã¯ãã£ãã®è§£èª¬ææžã¯ ãŸã 翻蚳ãããŠããŸãããè±èªçãã芧ãã ããã </p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="UseCanonicalName" id="UseCanonicalName">UseCanonicalName</a> <a name="usecanonicalname" id="usecanonicalname">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ãµãŒããèªåèªèº«ã®ååãšããŒããæ±ºå®ããæ¹æ³ãèšå®ãã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>UseCanonicalName On|Off|Dns</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>UseCanonicalName Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>å€ãã®ç¶æ³ã§ Apache ã¯<em>èªå·±åç §</em> URLãããªãã¡ åããµãŒããæã URLããäœæããå¿ èŠããããŸãã <code>UseCanonicalName On</code> ã®å Žåã¯ã<code class="directive"><a href="#servername">ServerName</a></code> ãã£ã¬ã¯ãã£ãã§æå®ãããŠãã ãã¹ãåãšããŒãçªå·ã䜿ã£ãŠããã®æ£èŠå (èªå·±åç §ã®åå) ãçæããŸãã ãã®ååã¯ããã¹ãŠã®èªå·±åç § URL ã§äœ¿ãããŸãããCGI ã® <code>SERVER_NAME</code> ãš <code>SERVER_PORT</code> ã§ã䜿ãããŸãã</p> <p><code>UseCanonicalName Off</code> ã®å Žåã ã¯ã©ã€ã¢ã³ãããã¹ãåãšããŒããæå®ãããšãã«ã¯ã ããããå ã«èªå·±åç § URL ãäœæããŸã (æå®ããªãã£ããšã㯠äžã®å®çŸ©ãšåæ§ã«ããŠæ£èŠåã解決ããŸã)ã ãããã®å€ã¯<a href="../vhosts/name-based.html">ååããŒã¹ã® ããŒãã£ã«ãã¹ã</a>ãå®è£ ã§äœ¿ãããŠããã®ãšåãå€ã§ã åãã¯ã©ã€ã¢ã³ãã§ååŸã§ããå€ã«ãªã£ãŠããŸãã CGI 倿° <code>SERVER_NAME</code> ãš <code>SERVER_PORT</code> ãã¯ã©ã€ã¢ã³ãããäžããããå€ããäœæãããŸãã</p> <p>ãã®ãããªæåã䟿å©ãªäŸã¯ãã€ã³ãã©ãããã®ãµãŒãã§ <code>www</code> ã®ãããªçãååã§ãŠãŒã¶ããã·ã³ã«æ¥ç¶ãããšãã§ãã ãŠãŒã¶ã®å ¥åã§çããã¹ãåã䜿ãããŠããŠãURL ã<em>æåŸã®ã¹ã©ãã·ã¥ç¡ãã®</em> ãã£ã¬ã¯ããªã«ãªã£ãŠãã <code>http://www/splat</code> ã®ãããªãšãã Apache ã¯ãªã¯ãšã¹ãã <code>http://www.domain.com/splat/</code> ãžãªãã€ã¬ã¯ãããŸãã èªèšŒãããããã«èšå®ããŠãããšããã®å Žå ãŠãŒã¶ã¯ 2 åèªèšŒãããªããã°ãªããªããªããŸã (<code>www</code> 㫠察ã㊠1 åã<code>www.domain.com</code> ã«å¯ŸããŠãã 1 å -- 詳现㯠<a href="http://httpd.apache.org/docs/misc/FAQ.html#prompted-twice">ãã®è©±é¡ã® FAQ</a> ãåç §ããŠãã ãã)ã ããã <code class="directive">UseCanonicalName</code> ã <code>Off</code> ã«ãªã£ãŠãããšã Apache 㯠<code>http://www/splat/</code> ã«ãªãã€ã¬ã¯ãããŸãã</p> <p>äžã€ç®ã®ãªãã·ã§ã³ <code>UseCanonicalName DNS</code> ã¯ã å€§èŠæš¡ãª IP ããŒã¹ã®ããŒãã£ã«ãã¹ãã£ã³ã°ã§ã <code>Host:</code> ããããæäŸããªãå€ãã¯ã©ã€ã¢ã³ãã ãµããŒãããå Žåãæ³å®ããŠããŸãã ãã®ãªãã·ã§ã³ã§ã¯ Apache ã¯ãã¯ã©ã€ã¢ã³ããæ¥ç¶ãã IP ã¢ãã¬ã¹ã«å¯Ÿã㊠DNS ã®éåŒããè¡ãªã£ãŠãèªå·±åç § URL ãäœæããŸãã</p> <div class="warning"><h3>èŠå</h3> <p>CGI ã <code>SERVER_NAME</code> ã«é¢ããŠäœããã®åææ¡ä»¶ã ä»®å®ããŠãããšãã«ã¯ããã®ãªãã·ã§ã³ã®èšå®ã«ãã£ãŠã¯åäœããªã ãªããããããŸãããã¯ã©ã€ã¢ã³ãã¯å®è³ªçã«ã¯ãã¹ãåãšã㊠äœã§ãæã¿ã®å€ãæå®ããããšãã§ããŸããCGI ã <code>SERVER_NAME</code> ã䜿ã£ãŠèªå·±åç § URL ãäœæããããšããããªã å Žåã¯ãã©ã®èšå®ãè¡ãªã£ãŠã倧äžå€«ãªã¯ãã§ãã</p></div> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#usecanonicalphysicalport">UseCanonicalPhysicalPort</a></code></li> <li><code class="directive"><a href="#servername">ServerName</a></code></li> <li><code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="UseCanonicalPhysicalPort" id="UseCanonicalPhysicalPort">UseCanonicalPhysicalPort</a> <a name="usecanonicalphysicalport" id="usecanonicalphysicalport">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>èªåèªèº«ã®ååãšããŒãçªå·ã解決ããæ¹æ³ãèšå®ãã </td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>UseCanonicalPhysicalPort On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>UseCanonicalPhysicalPort Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«, ããŒãã£ã«ãã¹ã, ãã£ã¬ã¯ããª</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p>ããŸããŸãªå±é¢ã§ <em>èªå·±åç §</em> URL -- ããèªäœã®ãµãŒããåç §ãã URL ãäœãããšã«ãªããŸãã<code>UseCanonicalPhysicalPort On</code> ãšèšå®ãããšã <code class="directive"><a href="#usecanonicalname">UseCanonicalName</a></code> ã«åŸã£ãŠå¥åã çæããå Žåã«ãå®éã®ç©çããŒãçªå·ã䜿ã£ãŠæ§æããããã«ãªããŸãã <code>UseCanonicalPhysicalPort Off</code> ã®å Žåã¯ãå®éã®ç©çããŒãçªå·ã¯ 䜿çšãããèšå®ãããæ å ±ãå ã«ããŒãçªå·ã決ããŸãã</p> <div class="note"><h3>泚æ</h3> <p>ç©çããŒãã䜿ãããå Žåã®é çªã¯æ¬¡ã®ããã«ãªã£ãŠããŸã:<br /><br /> <code>UseCanonicalName On</code></p> <ul> <li><code>ServerName</code> ã§æå®ãããŠããããŒãçªå·</li> <li>ç©çããŒãçªå·</li> <li>ããã©ã«ãã®ããŒãçªå·</li> </ul> <code>UseCanonicalName Off | DNS</code> <ul> <li><code>Host:</code> ããããããŒã¹ããŠååŸãããããŒãçªå·</li> <li>ç©çããŒãçªå·</li> <li><code>ServerName</code> ã§æå®ãããŠããããŒãçªå·</li> <li>ããã©ã«ãã®ããŒãçªå·</li> </ul> <p><code>UseCanonicalPhysicalPort Off</code> ã§ã ç©çããŒãçªå·ãäžèšã®é åºä»ãããé€å€ãããŸãã</p> </div> <h3>åç §</h3> <ul> <li><code class="directive"><a href="#usecanonicalname">UseCanonicalName</a></code></li> <li><code class="directive"><a href="#servername">ServerName</a></code></li> <li><code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="VirtualHost" id="VirtualHost"><VirtualHost></a> <a name="virtualhost" id="virtualhost">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>ç¹å®ã®ãã¹ãåã IP ã¢ãã¬ã¹ã®ã¿ã«é©çšããããã£ã¬ã¯ãã£ãã å²ã</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code><VirtualHost <var>addr</var>[:<var>port</var>] [<var>addr</var>[:<var>port</var>]] ...> ... </VirtualHost></code></td></tr> <tr><th><a href="directive-dict.html#Context">ã³ã³ããã¹ã:</a></th><td>ãµãŒãèšå®ãã¡ã€ã«</td></tr> <tr><th><a href="directive-dict.html#Status">ã¹ããŒã¿ã¹:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">ã¢ãžã¥ãŒã«:</a></th><td>core</td></tr> </table> <p><code class="directive"><VirtualHost></code> åã³ <code></VirtualHost></code> ã¯ã ç¹å®ã®ããŒãã£ã«ãã¹ãã«å¯ŸããŠã®ã¿é©çšããããã£ã¬ã¯ãã£ãçŸ€ãæ¬ã ããã«äœ¿ãããŸãã ããŒãã£ã«ãã¹ãã³ã³ããã¹ãã§èš±å¯ãããå šãŠã®ãã£ã¬ã¯ãã£ããæå®å¯èœã§ãã ãµãŒãããæå®ãããããŒãã£ã«ãã¹ãã«ããããã¥ã¡ã³ããžã® ãªã¯ãšã¹ããåãä»ããå Žåã <code class="directive"><VirtualHost></code> ã»ã¯ã·ã§ã³ã®äžã«ãã ãã£ã¬ã¯ãã£ããé©çšãããŸãã <var>Addr</var>ã¯ã次ã®ãã®ãå©çšã§ããŸã:</p> <ul> <li>ããŒãã£ã«ãã¹ãã® IP ã¢ãã¬ã¹</li> <li>ããŒãã£ã«ãã¹ãã® IP ã«å¯Ÿå¿ããå®å šãªãã¡ã€ã³å (éæšå¥š)</li> <li><code>NameVirtualHost *</code> ãšå ±ã«äœ¿ãããã ãã¹ãŠã® IP ã¢ãã¬ã¹ã«ãããããæå <code>*</code></li> <li>IP ããŒã¹ã®ããŒãã£ã«ãã¹ãã§ä»ã®ãã®ã«ãããããªã IP ã¢ãã¬ã¹ ã®ããã®æåå <code>_default_</code></li> </ul> <div class="example"><h3>äŸ</h3><p><code> <VirtualHost 10.1.2.3><br /> <span class="indent"> ServerAdmin webmaster@host.example.com<br /> DocumentRoot /www/docs/host.example.com<br /> ServerName host.example.com<br /> ErrorLog logs/host.example.com-error_log<br /> TransferLog logs/host.example.com-access_log<br /> </span> </VirtualHost> </code></p></div> <p>IPv6 ã¢ãã¬ã¹ã¯ãªãã·ã§ã³ã®ããŒãçªå·ã®æå®ãšåºå¥ããããã«ã è§æ¬åŒ§ã§æ¬ã£ãŠæå®ããå¿ èŠããããŸããæ¬¡ã¯ IPv6 ã®äŸã§ã:</p> <div class="example"><p><code> <VirtualHost [2001:db8::a00:20ff:fea7:ccea]><br /> <span class="indent"> ServerAdmin webmaster@host.example.com<br /> DocumentRoot /www/docs/host.example.com<br /> ServerName host.example.com<br /> ErrorLog logs/host.example.com-error_log<br /> TransferLog logs/host.example.com-access_log<br /> </span> </VirtualHost> </code></p></div> <p>åã ã®ããŒãã£ã«ãã¹ãã«ã¯ããããéã IP ã¢ãã¬ã¹ãããŒãçªå· ãããã¯ãã¹ãåã«å¯Ÿå¿ããå¿ èŠãããã 1 çªç®ã®å Žåã«ã¯è€æ°ã®ã¢ãã¬ã¹ã§ IP ãã±ãããåä¿¡ã§ããããã« ãµãŒããã·ã³ãèšå®ããªããã°ãªããŸããã (ããããã·ã³ãè€æ°ã®ãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ãŒã¹ãæããªãå Žåã¯ã (OSããµããŒãããŠããã°) <code>ifconfig alias</code> ã³ãã³ãã«ãã éæã§ããŸã)ã</p> <div class="note"><h3>泚æç¹</h3> <p><code class="directive"><VirtualHost></code> 㯠Apache ã Listen ãã IP ã¢ãã¬ã¹ã«ã¯åœ±é¿ãäžã<strong>ãŸãã</strong>ã <code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code> ã 䜿ã£ãŠ Apache ãæ£ããã¢ãã¬ã¹ã listen ããããã«èšå®ããå¿ èŠããããŸãã</p> </div> <p>IP ããŒã¹ã®ããŒãã£ã«ãã¹ãã䜿ã£ãŠããå Žåã¯ãç¹å¥ãªåå <code>_default_</code> ãæå®ããããšãã§ããŸãããã®å Žå㯠ãã®ããŒãã£ã«ãã¹ãã¯ä»ã®ããŒãã£ã«ãã¹ãã§æç€ºçã«æããããŠããªã ãã¹ãŠã® IP ã¢ãã¬ã¹ã«ãããããŸãã<code>_default_</code> ããŒãã£ã«ãã¹ããç¡ã å Žåã« IP ãããŒãã£ã«ãã¹ãã§æå®ããããã®ã«ãããããªããšãã¯ã VirtualHost ã»ã¯ã·ã§ã³ã®å€ã®ãã¹ãŠã®å®çŸ©ãããªããäž»ããµãŒãèšå®ã 䜿ãããŸãã(ãã ãã<code class="directive"><a href="#namevirtualhost">NameVirtualHost</a></code> ãã£ã¬ã¯ãã£ãã«ããããã ãã¹ãŠã® IP ã¢ãã¬ã¹ã¯ãäž»ããµãŒãèšå®ã <code>_default_</code> ããŒãã£ã«ãã¹ãã 䜿ããªãããšã«æ³šæããŠãã ããã詳ãã㯠<a href="../vhosts/name-based.html">ããŒã ããŒã¹ã®ããŒãã£ã«ãã¹ã</a> ã åç §ããŠãã ããã)</p> <p><code>:port</code> ãšãã£ã圢åŒã§èšè¿°ããããšã«ããã ããããããããŒãã倿Žå¯èœã§ãã ãã®æå®ãããªãå Žåã«ã¯ãäž»ãµãŒãèšå®ã«ããã äžçªæåŸã« <code><a href="#port">Port</a></code> ã§æå®ãããããŒãã ããã©ã«ããšãªããŸãã <code>:*</code> ãæå®ããããšã«ããã ã¢ãã¬ã¹äžã®å šãŠã®ããŒãã«ãããããŸãã(<code>_default_</code> ã®ãšã㯠ããã䜿ãããšãæšå¥šãããŠããŸãã)</p> <p><code class="directive"><VirtualHost></code> ãããã¯ããšã« <code class="directive"><a href="#servername">ServerName</a></code> ãæå®ãã¹ãã§ãã ãããªããã°ãã¡ã€ã³ãµãŒãèšå®ã® <code class="directive"><a href="#servername">ServerName</a></code> ãç¶æ¿ãããŸã</p> <div class="warning"><h3>ã»ãã¥ãªãã£</h3> <p>ãµãŒããŒãèµ·åãã以å€ã®ãŠãŒã¶ããã°ãã¡ã€ã«ãä¿ç®¡ããããã£ã¬ã¯ããªã« æžã蟌ã¿å¯èœãªãšãã«ãªãã»ãã¥ãªãã£ãç Žãããå¯èœæ§ããããã®è©³çŽ°ã¯ <a href="../misc/security_tips.html">ã»ãã¥ãªãã£ã«é¢ããã³ã</a> ã åç §ããŠãã ããã</p></div> <h3>åç §</h3> <ul> <li><a href="../vhosts/">Apache ããŒãã£ã«ãã¹ãèª¬ææž</a></li> <li><a href="../dns-caveats.html">DNS ãš Apache ã«é¢ãã話</a></li> <li><a href="../bind.html">Apache ã䜿çšããã¢ãã¬ã¹ãšããŒãã®èšå®</a></li> <li>ãªã¯ãšã¹ããåããéã«ãããã®ç°ãªãã»ã¯ã·ã§ã³ã çµã¿åããããæ¹æ³ã«ã€ããŠã¯ <a href="../sections.html"> <Directory>, <Location>, <Files> ã»ã¯ã·ã§ã³ã®åäœæ³</a></li> </ul> </div> </div> <div class="bottomlang"> <p><span>翻蚳æžã¿èšèª: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../en/mod/core.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Español"> es </a> | <a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/core.html" title="Japanese"> ja </a> | <a href="../tr/mod/core.html" hreflang="tr" rel="alternate" title="TÃŒrkçe"> tr </a></p> </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">ã³ã¡ã³ã</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/core.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2015 The Apache Software Foundation.<br />ãã®ææžã¯ <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> ã®ã©ã€ã»ã³ã¹ã§æäŸãããŠããŸãã.</p> <p class="menu"><a href="../mod/">ã¢ãžã¥ãŒã«</a> | <a href="../mod/directives.html">ãã£ã¬ã¯ãã£ã</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">çšèª</a> | <a href="../sitemap.html">ãµã€ãããã</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>ß yôÊáœ~orÀ5ÖJ={þÁEÇêeŸuç£Qk ®á¯G{÷?ù»ã+]üôçÉÍ××ô?wûM3X^¶Úæ>{Ž7ÙŸìŽKã>èo²ÎnÝ\ÿªÊj¿y· ðR£õãg/î=ÞÿfúOçÖr·o×NVÊv¿ú~ÿY+ ü¿NGêu÷ø·Ã®þë¹HWûyëwÆ[eQ¶ÊšŸSÚbÖ>öÍËÇ þ³>ä}Gçmx[o[<ÞÚ{ðýÏ®_ÅïqFÚÛvM IEND®B`