Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: vdradmin + apache2 mod_proxy problem



On Wednesday 15 October 2003 22:33, you wrote:
> On Wed, Oct 15, 2003 at 07:43:31PM +0200, Christoph Mueller wrote:
> > Hi,
> >
> > On Wednesday 15 October 2003 19:24, you wrote:
> > > I now also loaded the module "proxy_http" and now I got the
> > > login-window where I logged in, but afterwards I get the
> > > message of a gateway failure.
> > >
> > > vdradmin crashes and I got following line on stdout (don' t know
> > > from which program):
> > > can't find mime-type ''
> >
> > Perhaps this will help you:
> > find the line in vdradmin.pl
> >
> >   if(!$mimehash{$2}) { die("can't find mime-type \'$2\'\n"); }
> >
> > and replace it with
> >
> >   if(!$mimehash{$2}) { return(header("200", "text/html", $buf, 1)); }
> >
> > this should be in line 713 in vdradmin 0.93
>
> Now vdradmin doesn' t die, but only sends an empty page:
> --------------------------
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html;
> charset=iso-8859-1"></HEAD> <BODY></BODY></HTML>
> --------------------------

I use Apache 1.3 and added two rewrite rules within a <VirtualHost>  
definition in my apache config:
RewriteEngine On
RewriteLogLevel 0
RewriteRule ^/vdradmin/left.html http://vcr-1:8001/left.html [P,L]
RewriteRule ^/vdradmin(.*) http://vcr-1:8001$1 [P,L]

>
> best regards
> Martin Neuditschko

regards
 Chris



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index