Edgewall Software

Changes between Version 345 and Version 346 of TracInstall


Ignore:
Timestamp:
Jul 27, 2011, 1:37:06 PM (13 years ago)
Author:
xueruini
Comment:

fix apache config scripts.

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v345 v346  
    317317Assuming the deployment has been done this way:
    318318{{{
    319 $ trac-admin /var/trac/env deploy /path/to/trac/htdocs/common
     319$ trac-admin /usr/share/trac/projects/my-project deploy /tmp/deploy
     320$ mv /tmp/deploy/* /usr/share/trac
    320321}}}
    321322
    322323Add the following snippet to Apache configuration ''before'' the `ScriptAlias` or `WSGIScriptAlias` (which map all the other requests to the Trac application), changing paths to match your deployment:
    323324{{{
    324 Alias /trac/chrome/common /path/to/trac/htdocs/common
    325 Alias /trac/chrome/site /path/to/trac/htdocs/site
    326 
    327 <Directory "/path/to/www/trac/htdocs">
     325Alias /trac/chrome/common /usr/share/trac/htdocs/common
     326Alias /trac/chrome/site /usr/share/trac/htdocs/site
     327
     328<Directory "/usr/share/trac/htdocs">
    328329  Order allow,deny
    329330  Allow from all