aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/vhost_ml.conf
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-22 12:49:12 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-22 12:49:12 +0000
commit470eebb5d2c5300a445f67457258d24599e35e6a (patch)
tree9cb46b0280175e574400b20088bb947780cd6977 /modules/sympa/templates/vhost_ml.conf
parent3e305d897699f606875e06320f9ae50f1464eeab (diff)
downloadpuppet-470eebb5d2c5300a445f67457258d24599e35e6a.tar
puppet-470eebb5d2c5300a445f67457258d24599e35e6a.tar.gz
puppet-470eebb5d2c5300a445f67457258d24599e35e6a.tar.bz2
puppet-470eebb5d2c5300a445f67457258d24599e35e6a.tar.xz
puppet-470eebb5d2c5300a445f67457258d24599e35e6a.zip
add rewrite rules on sympa for nicer URLs, and avoid cache problem on homepage
Diffstat (limited to 'modules/sympa/templates/vhost_ml.conf')
-rw-r--r--modules/sympa/templates/vhost_ml.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/sympa/templates/vhost_ml.conf b/modules/sympa/templates/vhost_ml.conf
index b52c310f..66c06b10 100644
--- a/modules/sympa/templates/vhost_ml.conf
+++ b/modules/sympa/templates/vhost_ml.conf
@@ -1,3 +1,6 @@
+ RewriteEngine On
+ RewriteRule ^/?$ /l/home [R]
+ RewriteRule ^/l/(.*)$ /wwsympa-wrapper.fcgi/$1
DocumentRoot <%= lib_dir + "/sympa/cgi" %>