]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - data/.htaccess
doc: add Make target to run phpDocumentor with Docker
[github/shaarli/Shaarli.git] / data / .htaccess
index b584d98c56a27ebb09c963313876fd8d1a3e9987..1d49da37a072dea22d567d4326563a7a07bf4534 100644 (file)
@@ -1,2 +1,19 @@
-Allow from none
-Deny from all
+<IfModule version_module>
+  <IfVersion >= 2.4>
+    Require all denied
+    <Files "user.css">
+      Require all granted
+    </Files>
+  </IfVersion>
+  <IfVersion < 2.4>
+    Allow from none
+    Deny from all
+    <Files "user.css">
+      Allow from all
+    </Files>
+  </IfVersion>
+</IfModule>
+
+<IfModule !version_module>
+    Require all denied
+</IfModule>