aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-06-15 11:12:52 +0100
committerColin Guthrie <colin@mageia.org>2014-06-15 11:12:52 +0100
commitdec8f44c8646c3c01ef4265691d2ba894706c1c5 (patch)
tree497b02dd12cb342098ae8ccf149fbf4bd2f84183 /deployment/websites/templates
parent2f9628d8b3358ee805a3aa6cff07104793142725 (diff)
downloadpuppet-dec8f44c8646c3c01ef4265691d2ba894706c1c5.tar
puppet-dec8f44c8646c3c01ef4265691d2ba894706c1c5.tar.gz
puppet-dec8f44c8646c3c01ef4265691d2ba894706c1c5.tar.bz2
puppet-dec8f44c8646c3c01ef4265691d2ba894706c1c5.tar.xz
puppet-dec8f44c8646c3c01ef4265691d2ba894706c1c5.zip
websites: Switch static.mageia.org to git
Diffstat (limited to 'deployment/websites/templates')
-rw-r--r--deployment/websites/templates/vhost_static.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/deployment/websites/templates/vhost_static.conf b/deployment/websites/templates/vhost_static.conf
index 866d235a..2d3f4c44 100644
--- a/deployment/websites/templates/vhost_static.conf
+++ b/deployment/websites/templates/vhost_static.conf
@@ -19,11 +19,21 @@
AddOutputFilterByType DEFLATE application/json text/javascript application/javascript application/x-javascript
<Location />
+ Deny from all
+ </Location>
+
+ <Location /g/>
Allow from all
</Location>
<Directory <%= vhostdir %>>
Order deny,allow
+ Deny from All
+ AllowOverride None
+ </Directory>
+
+ <Directory <%= vhostdir %>/g>
+ Order deny,allow
Allow from All
AllowOverride None
</Directory>
@@ -52,11 +62,21 @@
AddOutputFilterByType DEFLATE application/json text/javascript application/javascript application/x-javascript
<Location />
+ Deny from all
+ </Location>
+
+ <Location /g/>
Allow from all
</Location>
<Directory <%= vhostdir %>>
Order deny,allow
+ Deny from All
+ AllowOverride None
+ </Directory>
+
+ <Directory <%= vhostdir %>/g>
+ Order deny,allow
Allow from All
AllowOverride None
</Directory>