Opened 11 years ago
Closed 11 years ago
#15 closed task (fixed)
Establish HTTP redirect to GitLab for /gitweb
| Reported by: | ehuelsmann | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: | ||
| Parent Tickets: | 12 |
Description
Change History (4)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Progress: I've implemented a gitweb redirect map script in Perl (I know, I know); it's deployed as /usr/local/bin/gitweb-rewritemap, but needs to be implemented in the Apache config.
I'd propose like this:
RewriteMap gitwebmap prg:/usr/local/bin/gitweb-rewritemap
And the following rewrite rules:
RewriteRule /gitweb/? https://gitlab.common-lisp.net/explore/projects
RewriteRule /gitweb/\?(.*) ${gitwebmap:$1}
comment:3 Changed 11 years ago by
This ticket is sufficiently handled. Execution is all that remains.
comment:4 Changed 11 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

gitweb URL structure:
/gitweb/
/gitweb/?...