github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/manual/mod/mod_dav_lock.html.ja.utf8 (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head> 4 <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> 5 <!-- 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 This file is generated from xml source: DO NOT EDIT 8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9 --> 10 <title>mod_dav_lock - Apache HTTP サーバ バージョン 2.2</title> 11 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 12 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 13 <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" /> 14 <script src="../style/scripts/prettify.min.js" type="text/javascript"> 15 </script> 16 17 <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_dav_lock.html" rel="canonical" /></head> 18 <body> 19 <div id="page-header"> 20 <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> 21 <p class="apache">Apache HTTP サーバ バージョン 2.2</p> 22 <img alt="" src="../images/feather.gif" /></div> 23 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> 24 <div id="path"> 25 <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.2</a> > <a href="./">モジュール</a></div> 26 <div id="page-content"> 27 <div class="retired"><h4>Please note</h4> 28 <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> 29 <p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_dav_lock.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>Apache モジュール mod_dav_lock</h1> 30 <div class="toplang"> 31 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_dav_lock.html" hreflang="en" rel="alternate" title="English"> en </a> | 32 <a href="../ja/mod/mod_dav_lock.html" title="Japanese"> ja </a></p> 33 </div> 34 <div class="outofdate">この日本語訳はすでに古くなっている 35 可能性があります。 36 最近更新された内容を見るには英語版をご覧下さい。 37 </div> 38 <table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td><code class="module"><a href="../mod/mod_dav.html">mod_dav</a></code> 用の汎用ロックモジュール</td></tr> 39 <tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 40 <tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>dav_lock_module</td></tr> 41 <tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_dav_lock.c</td></tr> 42 <tr><th><a href="module-dict.html#Compatibility">互換性:</a></th><td>バージョン 2.1 以降</td></tr></table> 43 <h3>概要</h3> 44 45 <p>このモジュールは <code class="module"><a href="../mod/mod_dav.html">mod_dav</a></code> のどのバックエンド 46 からでも使える汎用ロック API を提供します。 47 使用には最低限 <code class="module"><a href="../mod/mod_dav.html">mod_dav</a></code> 48 を必要としますが、これを利用するバックエンドが存在しないと役に立たないので、 49 そのような場合はサーバに読み込むべきではありません。 50 <code class="module"><a href="../mod/mod_dav_lock.html">mod_dav_lock</a></code> 51 を実際に利用するバックエンドモジュールの例としては subversion 52 プロバイダモジュールの <a href="http://subversion.tigris.org/">mod_dav_svn</a> があります。</p> 53 54 <p><code class="module"><a href="../mod/mod_dav_fs.html">mod_dav_fs</a></code> は特化された専用のバージョンを 55 使うため、この汎用モジュールは<em>必要ない</em>ことに注意して 56 ください。</p> 57 58 <p><code class="module"><a href="../mod/mod_dav_lock.html">mod_dav_lock</a></code> を機能させるには、 59 以下で説明されている <code class="directive"><a href="#davgenericlockdb">DavGenericLockDB</a></code> を使って 60 ロックデータベースの場所を指定するだけです。</p> 61 62 <div class="note"><h3>開発者向けのメモ</h3> 63 <p>ロックを提供している関数へのポインタを取得するためには、 64 <code>ap_lookup_provider</code> API を、引数 <code>dav-lock</code>, 65 <code>generic</code>, <code>0</code> を指定して使う必要が 66 あります。</p> 67 </div> 68 </div> 69 <div id="quickview"><h3 class="directives">ディレクティブ</h3> 70 <ul id="toc"> 71 <li><img alt="" src="../images/down.gif" /> <a href="#davgenericlockdb">DavGenericLockDB</a></li> 72 </ul> 73 <h3>参照</h3> 74 <ul class="seealso"> 75 <li><code class="module"><a href="../mod/mod_dav.html">mod_dav</a></code></li> 76 </ul><ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div> 77 78 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 79 <div class="directive-section"><h2><a name="DavGenericLockDB" id="DavGenericLockDB">DavGenericLockDB</a> <a name="davgenericlockdb" id="davgenericlockdb">ディレクティブ</a></h2> 80 <table class="directive"> 81 <tr><th><a href="directive-dict.html#Description">説明:</a></th><td>DAV ロックデータベースの場所</td></tr> 82 <tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>DavGenericLockDB <var>file-path</var></code></td></tr> 83 <tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>サーバ設定ファイル, バーチャルホスト, ディレクトリ</td></tr> 84 <tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr> 85 <tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_dav_lock</td></tr> 86 </table> 87 <p><code class="directive">DavGenericLockDB</code> ディレクティブを 88 使って、拡張子を除いたロックデータベースへのフルパスを 89 指定します。絶対パスでないときは <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> からの相対パスとして 90 扱われます。<code class="module"><a href="../mod/mod_dav_lock.html">mod_dav_lock</a></code> の実装ではユーザの 91 ロックを追跡するのに SDBM データベースを使います。</p> 92 93 <div class="example"><h3>例</h3><p><code> 94 DavGenericLockDB var/DavLock 95 </code></p></div> 96 97 <p>ロックデータベースファイルのあるディレクトリは 98 Apache が実行されている <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code> 99 と <code class="directive"><a href="../mod/mpm_common.html#group">Group</a></code> によって 100 書き込み可能でなければなりません。セキュリティ上の理由から、 101 既存のディレクトリのパーミッションを変更するのではなく、 102 専用のディレクトリを作るのが良いでしょう。上の例では、 103 Apache は <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> の下の <code>var/</code> 104 ディレクトリに、ファイル名の本体が <code>DavLock</code> で 105 サーバが選択した拡張子を持つファイルを作成します。</p> 106 107 108 </div> 109 </div> 110 <div class="bottomlang"> 111 <p><span>翻訳済み言語: </span><a href="../en/mod/mod_dav_lock.html" hreflang="en" rel="alternate" title="English"> en </a> | 112 <a href="../ja/mod/mod_dav_lock.html" title="Japanese"> ja </a></p> 113 </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> 114 <script type="text/javascript"><!--//--><![CDATA[//><!-- 115 var comments_shortname = 'httpd'; 116 var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_dav_lock.html'; 117 (function(w, d) { 118 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 119 d.write('<div id="comments_thread"><\/div>'); 120 var s = d.createElement('script'); 121 s.type = 'text/javascript'; 122 s.async = true; 123 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 124 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 125 } 126 else { 127 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 128 } 129 })(window, document); 130 //--><!]]></script></div><div id="footer"> 131 <p class="apache">Copyright 2017 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p> 132 <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[//><!-- 133 if (typeof(prettyPrint) !== 'undefined') { 134 prettyPrint(); 135 } 136 //--><!]]></script> 137 </body></html>