aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-20 21:45:25 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-20 21:45:25 +0200
commit43e571e2e824f06b65bcba5575c2b8e672a5fab7 (patch)
tree23b7c8cdc1b155ef49e3fc68fa10b21b6b82d1fb
parentf042c1f3d2c28b12bcceb5c21481514eeb628650 (diff)
downloadrbsd-43e571e2e824f06b65bcba5575c2b8e672a5fab7.tar.gz
httpd.conf: Add git.ankarstrom.se category redirects
-rw-r--r--usr/pkg/etc/httpd/httpd.conf5
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(