| | 10 | |
| | 11 | == parameters == |
| | 12 | * 対象例 |
| | 13 | * trac.fcgiのURLは「/trac」 |
| | 14 | * ScriptAlias /trac /usr/local/trac/cgi-bin/trac.fcgi |
| | 15 | * 環境名は「test」 |
| | 16 | * インストール先は /path/to/trac/test |
| | 17 | * htdocs_location = /static/trac |
| | 18 | * trac.iniで設定 |
| | 19 | * Alias /static/trac /var/www/trac |
| | 20 | |
| | 21 | * ${href.chrome()} |
| | 22 | * => /trac/test/chrome |
| | 23 | * ${href.chrome('common/style.css')} |
| | 24 | * => /trac/test/chrome/common/style.css -> /var/www/trac/style.css |
| | 25 | * ${href.chrome('site/style.css')} |
| | 26 | * => /trac/test/chrome/site/style.css -> /path/to/trac/test/htdocs/style.css |
| | 27 | * ${chrome.htdocs_location} |
| | 28 | * => /static/trac/ |