<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>tech-memo &#187; dokuwiki</title>
	<atom:link href="http://tech.hapicky.com/archives/tag/dokuwiki/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.hapicky.com</link>
	<description>ソフトウェアエンジニアリングに関するメモ書き</description>
	<lastBuildDate>Tue, 02 Feb 2010 05:42:30 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hapicky.com/archives/tag/dokuwiki/feed" />
		<item>
		<title>dokuwiki設置、アクセスコントロール設定</title>
		<link>http://tech.hapicky.com/archives/16</link>
		<comments>http://tech.hapicky.com/archives/16#comments</comments>
		<pubDate>Fri, 29 Feb 2008 16:51:45 +0000</pubDate>
		<dc:creator>hapicky</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[dokuwiki]]></category>

		<guid isPermaLink="false">http://tech.hapicky.com/?p=16</guid>
		<description><![CDATA[dokuwikiの設置とアクセスコントロールの設定をしたのでメモ。 インストール こちらから最新バージョンをダウンロード ダウンロードしたアーカイブを展開、適当な名前にリネームしてapacheからアクセスできるところにmv。 dataディレクトリにchanges.logというファイルを作成し、apacheをオーナーに。こんなかんじ。 > cd /path/to/dokuwiki > touch data/changes.log > sudo chown -R www data confディレクトリにlocal.phpというファイルを作成し、各種設定を記述。 &#60;?php $conf['title'] = "hapicky's wiki"; $conf['lang'] = 'ja'; ?&#62; ここまでの設定でとりあえず動くはず。 アクセスコントロールの設定 続いてアクセスコントロールの設定。まずは以下のファイルを複製 > cp conf/acl.auth.php.dist conf/acl.auth.php > cp conf/users.auth.php.dist conf/users.auth.php さらにchown > chown www conf/acl.auth.php > chown www conf/users.auth.php conf/local.phpに以下の設定を追加すればトップページにログインボタンが表示される。あとパスワードは自分で設定するようにしておく。 $conf['useacl'] = 1; $conf['autopasswd'] = 0; $conf['superuser'] [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wiki.splitbrain.org/wiki:ja:dokuwiki" target="_blank">dokuwiki</a>の設置とアクセスコントロールの設定をしたのでメモ。</p>
<ol>
<li>インストール</li>
<ul>
<li><a href="http://www.splitbrain.org/projects/dokuwiki" target="_blank">こちら</a>から最新バージョンをダウンロード</li>
<li>ダウンロードしたアーカイブを展開、適当な名前にリネームしてapacheからアクセスできるところにmv。</li>
<li>dataディレクトリにchanges.logというファイルを作成し、apacheをオーナーに。こんなかんじ。
<pre class="brush:bash">
> cd /path/to/dokuwiki
> touch data/changes.log
> sudo chown -R www data
</pre>
</li>
<li>confディレクトリにlocal.phpというファイルを作成し、各種設定を記述。
<pre class="brush:php">&lt;?php
$conf['title'] = "hapicky's wiki";
$conf['lang'] = 'ja';
?&gt;
</pre>
<p>ここまでの設定でとりあえず動くはず。
</li>
</ul>
<li>アクセスコントロールの設定</li>
<ul>
<li>続いてアクセスコントロールの設定。まずは以下のファイルを複製
<pre class="brush:bash">> cp conf/acl.auth.php.dist conf/acl.auth.php
> cp conf/users.auth.php.dist conf/users.auth.php</pre>
</li>
<li>さらにchown
<pre class="brush:bash">> chown www conf/acl.auth.php
> chown www conf/users.auth.php</pre>
</li>
<li>conf/local.phpに以下の設定を追加すればトップページにログインボタンが表示される。あとパスワードは自分で設定するようにしておく。
<pre class="brush:php">
$conf['useacl'] = 1;
$conf['autopasswd'] = 0;
$conf['superuser'] = '@admin'; //adminグループに管理権限を設定
</pre>
</li>
<li>「ユーザー登録」で管理者となるユーザーを登録したらまた設定を追加。<br />
自分で「ユーザー登録」できないようにする。
<pre class="brush:php">$conf['openregister'] = 0;</pre>
</li>
<li>あとは管理者ユーザーでログインして、「管理」→「アクセスコントロール」で詳細なアクセスコントロールを設定する。</li>
</ul>
</ol>
<p>参考ページ</p>
<ul>
<li><a href="http://wiki.splitbrain.org/wiki%3Aja%3Ainstall" target="_blank">DokuWiki のインストール</a></li>
<li><a href="http://wiki.splitbrain.org/wiki:ja:acl" target="_blank">アクセスコントロール</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tech.hapicky.com/archives/16/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hapicky.com/archives/16" />
	</item>
	</channel>
</rss>

