File: 1001_adapt-to-apache24.patch

package info (click to toggle)
slbackup-php 0.4.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 588 kB
  • sloc: php: 983; makefile: 92; sh: 48
file content (21 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Use Apache 2.4 syntax for limiting address based access
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Abstract:
 Except from using Apache 2.4 syntax here, we also 
 limit access to slbackup-php to the local machine.
Forwarded: https://salsa.debian.org/debian-edu/upstream/slbackup-php/-/commit/dba7c5074f0355b85b43ae0093d680720ab11ad8

--- 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>