Edgewall Software

Changes between Version 53 and Version 54 of TracInstall


Ignore:
Timestamp:
Aug 22, 2004, 5:45:46 PM (20 years ago)
Author:
Redeeman
Comment:

add support for not needing to type /cgi-bin/trac.cgi

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v53 v54  
    118118http://<yourhostname>/cgi-bin/trac.cgi
    119119
     120IF you would like the url to be like:
     121http://<yourhostname>/
     122or (maybe with a subdomain):
     123http://<subdomain>.<yourhostname>/
     124this worked for me:
     125
     126load the module mod_rewrite
     127then, place this in your apache config:
     128(if you have subdomain, inside a VirtualHost)
     129{{{
     130RewriteEngine On
     131<Location "/cgi-bin/trac.cgi">
     132        SetEnv TRAC_ENV "/path/to/trac/env"
     133</Location>
     134
     135ServerName <hostname>
     136Alias /trac "/usr/share/trac/htdocs"
     137
     138ScriptAlias /cgi-bin /path/to/cgi-bin
     139RewriteRule ^/$ /cgi-bin/trac.cgi [R]
     140}}}
     141
    120142There you should be able to browse your subversion repository, create tickets,
    121143view the timeline etc. Keep in mind that anonymous users (not logged in)