aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla/templates/vhost.conf
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-11-25 09:29:34 +0000
committerColin Guthrie <colin@mageia.org>2014-11-25 09:29:34 +0000
commit9cb1873d02ddfa95a191bc4ac2433a4e67665f7c (patch)
treef7c7ba42846d340c3c47c4514279452264f3014c /modules/bugzilla/templates/vhost.conf
parent452d2ee2a7a92fc48023a7cc002d5d543825784d (diff)
downloadpuppet-9cb1873d02ddfa95a191bc4ac2433a4e67665f7c.tar
puppet-9cb1873d02ddfa95a191bc4ac2433a4e67665f7c.tar.gz
puppet-9cb1873d02ddfa95a191bc4ac2433a4e67665f7c.tar.bz2
puppet-9cb1873d02ddfa95a191bc4ac2433a4e67665f7c.tar.xz
puppet-9cb1873d02ddfa95a191bc4ac2433a4e67665f7c.zip
bugzilla: Add a simple redirect rule for BZ for neater BZ URLs
Diffstat (limited to 'modules/bugzilla/templates/vhost.conf')
-rw-r--r--modules/bugzilla/templates/vhost.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/bugzilla/templates/vhost.conf b/modules/bugzilla/templates/vhost.conf
new file mode 100644
index 00000000..79eab9fb
--- /dev/null
+++ b/modules/bugzilla/templates/vhost.conf
@@ -0,0 +1,2 @@
+RewriteEngine On
+RewriteRule ^/([0-9]+)$ /show_bug.cgi?id=$1 [R=301,L]