Edgewall Software

Changes between Version 21 and Version 22 of TracCgi


Ignore:
Timestamp:
Nov 1, 2006, 2:33:38 PM (18 years ago)
Author:
anonymous
Comment:

add note about configuring apache to efficiently serve a projects' "site" htdoc resources.

Legend:

Unmodified
Added
Removed
Modified
  • TracCgi

    v21 v22  
    6060For example, if Trac is mapped to `/cgi-bin/trac.cgi` on your server, the URL of the Alias should be `/cgi-bin/trac.cgi/chrome/common`.
    6161
     62Similarly, if you have static resources in a projects htdocs directory, you can configure apache to serve those resources (again, put this '''before''' the `ScriptAlias` for the CGI script, and adjust names and locations to match your installation):
     63
     64{{{
     65Alias /trac/chrome/site /path/to/projectenv/htdocs
     66<Directory "/path/to/projectenv/htdocs">
     67  Order allow,deny
     68  Allow from all
     69</Directory>
     70}}}
     71
    6272Alternatively, you can set the `htdocs_location` configuration option in [wiki:TracIni trac.ini]:
    6373{{{