TestLinkインストール
TestLink 1.7.5をインストールしたときの手順
TestLinkのインストール
- phpとmysqlをインストール
- http://testlinkjp.org/modules/mydownloads/から該当するバージョンのtgzをダウンロードして、適当な場所に解凍
- /etc/httpd/conf.d/php.confを修正
- 前述の解凍場所をAliasで設定
- DirectoryIndex index.php がグローバル?にあるとredmine辺りの設定と衝突するので、Location内に移動
- SSLRequireSSL
- 画像、javascript、cssはキャッシュ効かせる
php.conf
# # PHP is an HTML-embedded scripting language which attempts to make it # easy for developers to write dynamically generated webpages. # LoadModule php5_module modules/libphp5.so # # Cause the PHP interpreter to handle files with a .php extension. # AddHandler php5-script .php AddType text/html .php # # Add index.php to the list of files that will be served as directory # indexes. # #DirectoryIndex index.php # # Uncomment the following line to allow PHP to pretty-print .phps # files as PHP source code: # #AddType application/x-httpd-php-source .phps Alias /testlink /srv/testlink <Location /testlink> DirectoryIndex index.php SSLRequireSSL Header onsuccess append Cache-Control public ExpiresActive On ExpiresDefault "modification plus 1 weeks" ExpiresByType application/x-javascript "access plus 1 months" ExpiresByType text/javascript "access plus 1 months" ExpiresByType text/css "access plus 1 months" ExpiresByType image/png "access plus 1 weeks" ExpiresByType image/gif "access plus 1 weeks" ExpiresByType image/x-icon "access plus 1 weeks" </Location>