[debian-edu-commits] debian-edu/ 03/06: debian/patches: Add 1001_adapt-to-apache24.patch. Use Apache 2.4 syntax for granting address based access to slbackup-php. Also limit access to the local machine by default.
Mike Gabriel
sunweaver at debian.org
Sun Jun 7 23:26:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository slbackup-php.
commit 0f4a1c68317c02361a9e67d2b72df33229203571
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Jun 8 01:03:26 2015 +0200
debian/patches: Add 1001_adapt-to-apache24.patch. Use Apache 2.4 syntax for granting address based access to slbackup-php. Also limit access to the local machine by default.
---
debian/patches/1001_adapt-to-apache24.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 21 insertions(+)
diff --git a/debian/patches/1001_adapt-to-apache24.patch b/debian/patches/1001_adapt-to-apache24.patch
new file mode 100644
index 0000000..3b0fbd9
--- /dev/null
+++ b/debian/patches/1001_adapt-to-apache24.patch
@@ -0,0 +1,20 @@
+Description: Use Apache 2.4 syntax for limiting address based access
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Abstract:
+ Except from using Apache 2.4 syntax here, we also
+ limit access to slbackup-php to the local machine.
+
+--- a/etc/apache.conf
++++ b/etc/apache.conf
+@@ -13,7 +13,9 @@
+ DirectoryIndex index.php
+ Options Indexes FollowSymLinks
+ AllowOverride None
+- Order allow,deny
+- Allow from all
++
++ # adapt to your needs...
++ Require local
++
+ </Directory>
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8c7d507
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001_adapt-to-apache24.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/slbackup-php.git
More information about the debian-edu-commits
mailing list