File: 0002-Fix-rewrite-base.patch

package info (click to toggle)
php-horde 5.2.1%2Bdebian0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 12,196 kB
  • sloc: php: 11,089; xml: 6,460; sh: 96; makefile: 33; sql: 1
file content (24 lines) | stat: -rw-r--r-- 677 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
22
23
24
From 647b5924b180d6a19c6bbc6d3977b99a7f95095d Mon Sep 17 00:00:00 2001
From: Mathieu Parent <math.parent@gmail.com>
Date: Tue, 17 Sep 2013 22:19:38 +0200
Subject: [PATCH] Fix rewrite base

---
 horde-5.2.1/.htaccess | 1 +
 1 file changed, 1 insertion(+)

diff --git a/horde-5.2.1/.htaccess b/horde-5.2.1/.htaccess
index ca99b99..dc9738e 100644
--- a/horde-5.2.1/.htaccess
+++ b/horde-5.2.1/.htaccess
@@ -5,6 +5,7 @@ allow from all
 
 <IfModule mod_rewrite.c>
     RewriteEngine On
+    RewriteBase /horde
     RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
     RewriteCond   %{REQUEST_FILENAME}  !-d
     RewriteCond   %{REQUEST_FILENAME}  !-f
-- 
1.8.4.rc3