diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-20 21:45:25 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-20 21:45:25 +0200 |
commit | 43e571e2e824f06b65bcba5575c2b8e672a5fab7 (patch) | |
tree | 23b7c8cdc1b155ef49e3fc68fa10b21b6b82d1fb | |
parent | f042c1f3d2c28b12bcceb5c21481514eeb628650 (diff) | |
download | rbsd-43e571e2e824f06b65bcba5575c2b8e672a5fab7.tar.gz |
httpd.conf: Add git.ankarstrom.se category redirects
-rw-r--r-- | usr/pkg/etc/httpd/httpd.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/pkg/etc/httpd/httpd.conf b/usr/pkg/etc/httpd/httpd.conf index a9f36e4..c3620ed 100644 --- a/usr/pkg/etc/httpd/httpd.conf +++ b/usr/pkg/etc/httpd/httpd.conf @@ -249,8 +249,11 @@ use Tie::DxHash; my %redir = ( 'git.ankarstrom.se' => block( - RewriteRule => '^Apache-Inject\.git/?$ /cpan/Apache-Inject/ [L,R,END]', RewriteRule => '^vix/?$ /exrc/ [L,R,END]', + RewriteRule => '^vix/?$ /exrc/ [L,R,END]', + RewriteRule => '^x11/([^/]*)/?$ /$1/ [L,R,END]', + RewriteRule => '^cpan/([^/]*)/?$ /$1/ [L,R,END]', + RewriteRule => '^cfg/([^/]*)/?$ /$1/ [L,R,END]', RewriteRule => '^([^/]*)\.git(/.*)?$ /$1$2 [L,R,END]', ), 'john.ankarstrom.se' => block( |