aboutsummaryrefslogtreecommitdiff
path: root/usr/pkg/etc/httpd
diff options
context:
space:
mode:
Diffstat (limited to 'usr/pkg/etc/httpd')
-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 80813dc..a9f36e4 100644
--- a/usr/pkg/etc/httpd/httpd.conf
+++ b/usr/pkg/etc/httpd/httpd.conf
@@ -250,6 +250,7 @@ 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 => '^([^/]*)\.git(/.*)?$ /$1$2 [L,R,END]',
),
'john.ankarstrom.se' => block(
@@ -290,6 +291,7 @@ vhost block(ServerName => 'git.ankarstrom.se',
Options => '+ExecCGI',
AddHandler => 'cgi-script .cgi',
RewriteEngine => 'On',
+ %{$redir{'git.ankarstrom.se'}},
RewriteCond => '%{REQUEST_FILENAME} !-f',
RewriteCond => '%{REQUEST_FILENAME} !-d',
RewriteRule => '(.*) cgit.cgi/$1 [END,QSA]',
@@ -302,7 +304,8 @@ vhost block(ServerName => 'john.ankarstrom.se');
vhost block(ServerName => 'mail.ankarstrom.se');
vhost block(ServerName => 'software.ankarstrom.se');
vhost block(ServerName => 'perlisdead.org',
- DocumentRoot => '/var/www/perlisdead/out');
+ DocumentRoot => '/var/www/perlisdead/out'
+);
# Default virtual host configuration