commit 794d0abcac1aaefbd48f3b2f8104ecbdfa1deb29
Author: Elan Ruusamäe <[email protected]>
Date: Sat Sep 14 02:41:44 2013 +0300
apache version independent config
webapp.spec | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/webapp.spec b/webapp.spec
index fd98e3e..312a45b 100644
--- a/webapp.spec
+++ b/webapp.spec
@@ -46,7 +46,15 @@ konfiguracji aplikacji WWW do katalogu konfiguracyjnego
serwera WWW.
cat > apache.conf <<'EOF'
Alias /%{name} %{_appdir}
<Directory %{_appdir}>
- Allow from all
+ # Apache 2.x
+ <IfModule !mod_authz_core.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
+ # Apache 2.4
+ <IfModule mod_authz_core.c>
+ Require all granted
+ </IfModule>
</Directory>
EOF
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/794d0abcac1aaefbd48f3b2f8104ecbdfa1deb29
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit