Modify ↓
Opened 19 years ago
Closed 18 years ago
#1871 closed defect (wontfix)
TracMultipleProjectsWindows - 3rd RewriteRule not reached?
Reported by: | Ming | Owned by: | daniel |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | project | Version: | 0.8.4 |
Severity: | trivial | Keywords: | documentation needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
On TracMultipleProjectsWindows :
RewriteRule ^/projects/+$ /projects/index.html [L] #RewriteCond /var/lib/trac/$1 -d # following rule check TRAC_ENV, after $1 you may need to add '.db' if based on Trac install RewriteRule ^/projects/([[:alnum:]]+)(/?.*) /projects/trac.cgi$2 [S=1,E=TRAC_ENV:c:/svn/$1] RewriteRule ^/projects/(.*) /projects/index.html
1st rule successfully redirects http://<hostname>/projects → http://<hostname>/projects/index.html
2nd rule successfully redirects existing projects to http://<hostname>/projects/<projectname>
3rd rule can't seem to catch non-existing projects?
Thanks!
Attachments (0)
Change History (4)
comment:1 by , 18 years ago
Keywords: | documentation added; MultipleProjectsWindows removed |
---|
comment:2 by , 18 years ago
comment:3 by , 18 years ago
Keywords: | needinfo added |
---|
Note:
See TracTickets
for help on using tickets.
Is there some reason this can't be done with
TRAC_ENV_PARENT_DIR
? If there isn't I would propose to close as wontfix.