diff options
author | Michael Scherer <misc@mageia.org> | 2010-12-07 02:40:38 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-12-07 02:40:38 +0000 |
commit | bcf24ecd77c9dc662facb4299e45f9da94947b4d (patch) | |
tree | 8f1f1ce2b0f62ff8750f8ac4d2e379e4928ec87e /modules/sympa | |
parent | 6f2dc5f6c37e26b7a299b434120e8ef4995a8c5e (diff) | |
download | puppet-bcf24ecd77c9dc662facb4299e45f9da94947b4d.tar puppet-bcf24ecd77c9dc662facb4299e45f9da94947b4d.tar.gz puppet-bcf24ecd77c9dc662facb4299e45f9da94947b4d.tar.bz2 puppet-bcf24ecd77c9dc662facb4299e45f9da94947b4d.tar.xz puppet-bcf24ecd77c9dc662facb4299e45f9da94947b4d.zip |
add a alias for static data served by apache
Diffstat (limited to 'modules/sympa')
-rw-r--r-- | modules/sympa/templates/vhost_ml.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/sympa/templates/vhost_ml.conf b/modules/sympa/templates/vhost_ml.conf index 439f4bb0..1f3b17f7 100644 --- a/modules/sympa/templates/vhost_ml.conf +++ b/modules/sympa/templates/vhost_ml.conf @@ -7,4 +7,13 @@ path_cgi_directory = lib_dir + "/sympa/cgi" <Location /> Allow from all </Location> + + Alias /static-sympa /var/lib/sympa/static_content + + <Directory /var/lib/sympa/static_content> + Order allow,deny + Allow from all + </Directory> + + </VirtualHost> |