Edgewall Software

Ticket #1871 (closed defect: wontfix)

Opened 3 years ago

Last modified 20 months ago

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:

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

Change History

Changed 2 years ago by sid

  • keywords documentation added; MultipleProjectsWindows removed

Changed 2 years ago by Noah Kantrowitz (coderanger) <coderanger@…>

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.

Changed 2 years ago by sid

  • keywords needinfo added

Changed 20 months ago by cboos

  • status changed from new to closed
  • resolution set to wontfix

No follow-up, closing.

Add/Change #1871 (TracMultipleProjectsWindows - 3rd RewriteRule not reached?)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from daniel. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.