aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(