Edgewall Software
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 sid, 18 years ago

Keywords: documentation added; MultipleProjectsWindows removed

comment:2 by Noah Kantrowitz (coderanger) <coderanger@…>, 18 years ago

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.

comment:3 by sid, 18 years ago

Keywords: needinfo added

comment:4 by Christian Boos, 18 years ago

Resolution: wontfix
Status: newclosed

No follow-up, closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.