現時点でtsg.mitty.jp、rss.mitty.jpを置くレンタルスペースとして使っている、SAKURA Internetのレンタルサーバについてのまとめ。
なお、利用しているのはスタンダードプラン。
公式 †
非公式 †
管理 †
www †
.htaccess †
利用可能なDirective †
利用不能なDirective †
CGI †
- 改行コードをLFにすること!!
- sshからperl hoge.cgiすると動いているように見えるが、CR+LFのままだと500エラーになる。
- config.cgiなど、requireされるものまではLFにしなくてもよい模様。
- suEXECなのでパーミッションは755または705
- 700でもcgiは大丈夫だが、SetHandler? default-handlerと設定した場合などにはForbiddenになるので注意
- 777にすると逆に動かないらしい
PHP †
- FreeBSD用で動作する。
- php.iniを弄る必要は無く、ionCubeはデフォルトのディレクトリ配置にしておけばそのまま読み込まれる模様。
- FreshReader?の説明にも在るが、dbはWindows用からそのまま引き継げるので再設定などの必要は無い。
mail †
.mailfilter †
ML †
外部ツールの導入 †
svn †
1.6 †
- www1098:/home/mittyorz/svn% wget http://subversion.tigris.org/downloads/subversion-1.6.1.tar.gz
- www1098:/home/mittyorz/svn% tar -xf subversion-1.6.1.tar.gz
- www1098:/home/mittyorz/svn% cd subversion-1.6.1
- www1098:/home/mittyorz/svn/subversion-1.6.1% wget http://www.apache.org/dist/apr/apr-1.3.3.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% tar -xf apr-1.3.3.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% mv apr-1.3.3 apr
- www1098:/home/mittyorz/svn/subversion-1.6.1% wget http://www.apache.org/dist/apr/apr-util-1.3.4.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% tar -xf apr-util-1.3.4.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% mv apr-util-1.3.4 apr-util
- www1098:/home/mittyorz/svn/subversion-1.6.1% wget http://www.webdav.org/neon/neon-0.28.4.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% tar -xf neon-0.28.4.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% mv neon-0.28.4 neon
- www1098:/home/mittyorz/svn/subversion-1.6.1% wget http://www.openssl.org/source/openssl-0.9.8k.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% tar -xf openssl-0.9.8k.tar.gz
- www1098:/home/mittyorz/svn/subversion-1.6.1% mv openssl-0.9.8k openssl
- www1098:/home/mittyorz/svn/subversion-1.6.1% ./configure --prefix=$HOME/local --with-ssl
WARNING: skipping the build of mod_dav_svn
configure: WARNING: we have configured without BDB filesystem support
- www1098:/home/mittyorz/svn/subversion-1.6.1% make
- www1098:/home/mittyorz/svn/subversion-1.6.1% make check
Running all tests in auth-test [1/67]...success
Running all tests in cache-test [2/67]...success
Running all tests in checksum-test [3/67]...success
Running all tests in client-test [4/67]...success
Running all tests in compat-test [5/67]...success
Running all tests in config-test [6/67]...success
Running all tests in diff-diff3-test [7/67]...success
Running all tests in dirent_uri-test [8/67]...success
Running all tests in error-test [9/67]...success
Running all tests in fs-pack-test [10/67]...success
Running all tests in fs-test [11/67]...success
Running all tests in hashdump-test [12/67]...success
Running all tests in locks-test [13/67]...success
Running all tests in mergeinfo-test [14/67]...success
Running all tests in opt-test [15/67]...success
Running all tests in path-test [16/67]...success
Running all tests in ra-local-test [17/67]...success
Running all tests in random-test [18/67]...success
Running all tests in repos-test [19/67]...success
Running all tests in revision-test [20/67]...success
Running all tests in skel-test [21/67]...success
Running all tests in stream-test [22/67]...success
Running all tests in string-test [23/67]...success
Running all tests in target-test [24/67]...success
Running all tests in time-test [25/67]...success
Running all tests in translate-test [26/67]...success
Running all tests in tree-conflict-data-test [27/67]...success
Running all tests in utf-test [28/67]...FAILURE
Running all tests in window-test [29/67]...success
Running all tests in getopt_tests.py [30/67]...success
Running all tests in basic_tests.py [31/67]...success
Running all tests in checkout_tests.py [32/67]...success
Running all tests in commit_tests.py [33/67]...success
Running all tests in update_tests.py [34/67]...success
Running all tests in switch_tests.py [35/67]...success
Running all tests in prop_tests.py [36/67]...FAILURE
Running all tests in schedule_tests.py [37/67]...success
Running all tests in log_tests.py [38/67]...success
Running all tests in copy_tests.py [39/67]...success
Running all tests in diff_tests.py [40/67]...success
Running all tests in export_tests.py [41/67]...success
Running all tests in externals_tests.py [42/67]...success
Running all tests in merge_tests.py [43/67]...success
Running all tests in merge_authz_tests.py [44/67]...success
Running all tests in revert_tests.py [45/67]...success
Running all tests in mergeinfo_tests.py [46/67]...success
Running all tests in stat_tests.py [47/67]...success
Running all tests in trans_tests.py [48/67]...success
Running all tests in autoprop_tests.py [49/67]...success
Running all tests in blame_tests.py [50/67]...success
Running all tests in special_tests.py [51/67]...success
Running all tests in svnadmin_tests.py [52/67]...success
Running all tests in svnlook_tests.py [53/67]...success
Running all tests in svnversion_tests.py [54/67]...success
Running all tests in utf8_tests.py [55/67]...success
Running all tests in history_tests.py [56/67]...success
Running all tests in lock_tests.py [57/67]...success
Running all tests in cat_tests.py [58/67]...success
Running all tests in import_tests.py [59/67]...success
Running all tests in svnsync_tests.py [60/67]...success
Running all tests in authz_tests.py [61/67]...success
Running all tests in depth_tests.py [62/67]...success
Running all tests in svndumpfilter_tests.py [63/67]...success
Running all tests in changelist_tests.py [64/67]...success
Running all tests in info_tests.py [65/67]...success
Running all tests in tree_conflict_tests.py [66/67]...success
Running all tests in resolved_tests.py [67/67]...success
At least one test was SKIPPED, checking /home/mittyorz/svn/subversion-1.6.1/tests.log
SKIP: cache-test 2: basic memcache svn_cache test
SKIP: cache-test 3: memcache svn_cache with very long keys
SKIP: update_tests.py 32: update wc on the root of a Windows (virtual) drive
SKIP: merge_tests.py 101: commits to subtrees added by merge wreak havoc
SKIP: merge_authz_tests.py 1: skipped paths get overriding mergeinfo
SKIP: utf8_tests.py 1: conversion of paths and logs to/from utf8
SKIP: svnsync_tests.py 14: verify that unreadable content is not synced
SKIP: svnsync_tests.py 15: verify that copies from unreadable dirs work
SKIP: svnsync_tests.py 16: verify copies with mods from unreadable dirs
SKIP: svnsync_tests.py 17: verify copies with mods from unreadable dirs +copy
SKIP: authz_tests.py 1: authz issue #2486 - open root
SKIP: authz_tests.py 2: authz issue #2486 - open directory
SKIP: authz_tests.py 3: broken authz files cause errors
SKIP: authz_tests.py 4: test authz for read operations
SKIP: authz_tests.py 5: test authz for write operations
SKIP: authz_tests.py 6: test authz for checkout
SKIP: authz_tests.py 7: test authz for log and tracing path changes
SKIP: authz_tests.py 8: test authz for checkout and update
SKIP: authz_tests.py 9: test authz for export with unreadable subfolder
SKIP: authz_tests.py 10: test authz for aliases
SKIP: authz_tests.py 11: test the authz validation rules
SKIP: authz_tests.py 12: test authz for locking
SKIP: authz_tests.py 13: authz issue #2712
SKIP: authz_tests.py 14: switched to directory, no read access on parents
At least one test XFAILED, checking /home/mittyorz/svn/subversion-1.6.1/tests.log
XFAIL: fs-test 18: merging commit
XFAIL: locks-test 9: able to reserve a name (lock non-existent path)
XFAIL: locks-test 10: directory locks (kinda)
XFAIL: tree-conflict-data-test 3: detect broken tree conflict data
XFAIL: basic_tests.py 38: remotely remove directories from two repositories
XFAIL: update_tests.py 50: tree conflicts 2.3: skip on 2nd update
XFAIL: switch_tests.py 10: switch a file to a dir and back to the file
XFAIL: log_tests.py 21: test log -c on range of changes
XFAIL: diff_tests.py 28: diff a renamed directory
XFAIL: diff_tests.py 49: diff URL against working copy with local mods
XFAIL: diff_tests.py 50: diff -r1 of removed file to its local addition
XFAIL: merge_tests.py 33: merge a replacement of a directory
XFAIL: merge_tests.py 34: replace both dir and one of its children
XFAIL: merge_tests.py 55: avoid repeated merges for cyclic merging
XFAIL: merge_tests.py 72: merge target with non inheritable mergeinfo
XFAIL: merge_tests.py 91: merge added subtree
XFAIL: merge_tests.py 115: tree conflicts 5.1: leaf edit, tree del
XFAIL: merge_tests.py 116: tree conflicts 5.2: leaf del, tree del
XFAIL: merge_tests.py 120: tree conflicts 5.1: leaf edit (no ci), tree del
XFAIL: merge_tests.py 121: tree conflicts 5.2: leaf del (no ci), tree del
XFAIL: merge_tests.py 125: merge prior to rename src existence still dels src
XFAIL: revert_tests.py 4: revert a moved file
XFAIL: mergeinfo_tests.py 4: 'mergeinfo' with uninteresting source selection
XFAIL: special_tests.py 10: diff a symlink to a directory
XFAIL: info_tests.py 2: info on added file
XFAIL: tree_conflict_tests.py 14: merge dir: del/rpl/mv onto not-same
At least one test FAILED, checking /home/mittyorz/svn/subversion-1.6.1/tests.log
FAIL: utf-test 3: test svn_utf_cstring_to_utf8_ex2
FAIL: utf-test 4: test svn_utf_cstring_from_utf8_ex2
FAIL: prop_tests.py 22: test prop* handle invalid property names
Summary of test results:
24 tests SKIPPED
26 tests XFAILED
3 tests FAILED
*** Error code 1
- www1098:/home/mittyorz/svn/subversion-1.6.1% make install
- www1098:/home/mittyorz/svn/subversion-1.6.1% svn --version
svn, version 1.6.1 (r37116)
compiled Apr 17 2009, 14:51:47
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme