Changes between Version 42 and Version 43 of TracCgi
- Timestamp:
- Sep 23, 2009, 10:41:48 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracCgi
v42 v43 89 89 }}} 90 90 91 Alternatively , you can set the`htdocs_location` configuration option in [wiki:TracIni trac.ini]:91 Alternatively to hacking `/trac/chrome/site`, you can directly specify path to static resources using `htdocs_location` configuration option in [wiki:TracIni trac.ini]: 92 92 {{{ 93 93 [trac] 94 htdocs_location = /trac-htdocs94 htdocs_location = http://yourhost.example.org/trac-htdocs 95 95 }}} 96 96 97 97 Trac will then use this URL when embedding static resources into HTML pages. Of course, you still need to make the Trac `htdocs` directory available through the web server at the specified URL, for example by copying (or linking) the directory into the document root of the web server: 98 98 {{{ 99 $ ln -s / usr/share/trac/htdocs /var/www/your_site.com/htdocs/trac-htdocs99 $ ln -s /path/to/www/trac/htdocs /var/www/yourhost.example.org/trac-htdocs 100 100 }}} 101 101