Changes between Version 4 and Version 5 of TracPrettyUrls
- Timestamp:
- Jan 12, 2005, 5:24:37 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPrettyUrls
v4 v5 27 27 }}} 28 28 29 Or using ScriptAliasMatch you can redirect all request coming to / without rewriting the URL to the user: 29 30 30 '''Note:''' This is actually not necessary. You can just use !ScriptAliasMatch directly. I'll add an example later. -- DanielLundin 31 {{{ 32 SetEnv TRAC_ENV "/var/to/trac/env" 33 34 ScriptAliasMatch ^/(.*) /path/to/trac.cgi/$1 35 }}} 31 36 32 37 '''Also Note:''' Another simple way to do this is to put a redirect in {{{/usr/share/trac/htdocs}}}, such as: