[Mageia-sysadm] [538] add a alias for static data served by apache

root at mageia.org root at mageia.org
Tue Dec 7 03:40:39 CET 2010


Revision: 538
Author:   misc
Date:     2010-12-07 03:40:38 +0100 (Tue, 07 Dec 2010)
Log Message:
-----------
add a alias for static data served by apache

Modified Paths:
--------------
    puppet/modules/sympa/templates/vhost_ml.conf

Modified: puppet/modules/sympa/templates/vhost_ml.conf
===================================================================
--- puppet/modules/sympa/templates/vhost_ml.conf	2010-12-07 02:40:37 UTC (rev 537)
+++ puppet/modules/sympa/templates/vhost_ml.conf	2010-12-07 02:40:38 UTC (rev 538)
@@ -7,4 +7,13 @@
  	<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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101207/53a7569d/attachment.html>


More information about the Mageia-sysadm mailing list