wiki:TipAndDoc/project/trac

Version 2 (modified by mitty, 14 years ago) (diff)

--

Trac

Access control with Apache

  • 閲覧するだけであればGETメソッドを使うため、trac-adminで権限制御を行うほかにApache側でLimitを用いて編集を拒否することが出来る。
    ScriptAlias /trac       /usr/share/trac/cgi-bin/trac.fcgi
    <Location /trac>
            Order Allow,Deny
            Allow from all
            <LimitExcept GET>
                    Order Allow,Deny
                    Deny from all
            </LimitExcept>
    </Location>