Subversionリポジトリのビューワです
# apt-get install websvn
# dpkg-reconfigure websvn
Alias /hogehoge /var/www/websvn <Location /hogehoge> Options FollowSymLinks AllowOverride None order allow,deny allow from all <IfModule mod_php4.c> php_flag magic_quotes_gpc Off php_flag track_vars On </IfModule> AuthUserFile "/etc/apache2/htpasswd/htpasswd.hogehoge" AuthName "access hogehoge" AuthType Basic Require valid-user </Location>
$config->parentPath("/var/lib/svn"); $config->addRepository("repos 1", "/var/lib/svn");
# touch dirとでもして空ファイルを置いておけばいい
# /etc/init.d/apache2 restart
include("languages/japanese-euc.inc"); // (Almost Unix/Linux/BSD)
$config->setTemplatePath("$locwebsvnreal/templates/BlueGrey/");
putenv('LANG=ja_JP.EUC-JP'); $config->setInputEncoding("EUC-JP"); $config->setOutputEncoding("EUC-JP");