File: apache.conf

package info (click to toggle)
slbackup-php 0.4.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 380 kB
  • sloc: php: 990; makefile: 92; sh: 48
file content (21 lines) | stat: -rw-r--r-- 478 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
<IfModule mod_rewrite.c>
  <IfModule mod_ssl.c>
    <Location /slbackup-php>
      RewriteEngine on
      RewriteCond %{HTTPS} !^on$ [NC]
      RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI}  [L]
    </Location>
  </IfModule>
</IfModule>

Alias /slbackup-php "/usr/share/slbackup-php/web"
<Directory "/usr/share/slbackup-php/web">
   DirectoryIndex index.php
   Options Indexes FollowSymLinks
   AllowOverride None

   # adapt to your needs...
   Require local

</Directory>