Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] vdradmin: patch for relative paths (apache mod_proxy)
- To: vdr@linuxtv.org
- Subject: [vdr] vdradmin: patch for relative paths (apache mod_proxy)
- From: Matthias Weingart <matthias@pentax.boerde.de>
- Date: Thu, 7 Feb 2002 19:42:57 +0100
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: mhonarc@limes.convergence.de
- In-Reply-To: <3C60FF64.B5FC8107@cadsoft.de>; from Klaus.Schmidinger@cadsoft.de on Wed, Feb 06, 2002 at 11:03:16AM +0100
- References: <OF889B7CF9.06A9C341-ONC1256B57.0074D14E@lindy.cc> <002401c1aef4$72153410$22e81cd4@kruemelmonster> <3C60FF64.B5FC8107@cadsoft.de>
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
- User-Agent: Mutt/1.2.5i
To get the apache mod_proxy working (as described in another mail today
here) I patched the vdradmin_0.11 to use a relative path in the created html
files. All I tested is working; so this patch should be ok.
Matthias
--- vdradmind.pl.ori11 Thu Feb 7 19:36:48 2002
+++ vdradmind.pl Thu Feb 7 19:38:16 2002
@@ -172,7 +172,7 @@
$Request = <$Client>;
$Request =~ s/\r\n//g;
- if($Request =~ /Host: (.*)/i) { $MyURL = "http://$1"; }
+ if($Request =~ /Host: (.*)/i) { $MyURL = "\."; }
if($Request =~ /Authorization: basic (.*)/i) {
($AuthUser, $AuthPass) = split(/\:/, decode_base64($1));
}
Home |
Main Index |
Thread Index