mod_rewrite trac urls?

17 views
Skip to first unread message

Volker Braun

unread,
Jun 14, 2012, 4:31:59 PM6/14/12
to sage-...@googlegroups.com
Since we are using references to trac in the manuals, how about we allow trac urls for tickets of the form


instead of the current


Its an easy search/replace with mod_rewrite, and the manuals wouldn't be filled with needlessly long urls.

Martin Albrecht

unread,
Jun 14, 2012, 4:52:46 PM6/14/12
to sage-...@googlegroups.com

+1

-- sent from a telephone.

--
To post to this group, send an email to sage-...@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Volker Braun

unread,
Jun 15, 2012, 6:08:35 AM6/15/12
to sage-...@googlegroups.com, William Stein
We are already rewriting the base trac url, so its trivial to just add this one:

  RewriteRule  ^/([0-9]+)$  http://trac.sagemath.org/sage_trac/ticket/$1  [L,R,NE]

Anybody with actual www-admin rights care to set it up?

R. Andrew Ohana

unread,
Jun 15, 2012, 6:55:03 AM6/15/12
to sage-...@googlegroups.com, William Stein

--
To post to this group, send an email to sage-...@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Done.

--
Andrew

Reply all
Reply to author
Forward
0 new messages