File: apache.conf

package info (click to toggle)
slbackup-php 0.3-2.2%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 264 kB
  • ctags: 181
  • sloc: php: 952; makefile: 125; sh: 30
file content (19 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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
   Order allow,deny
   Allow from all
</Directory>