FAQ  •  Register  •  Login

Setup mediabrowser access through apache mod_proxy

<<

plalloni

Serviio newbie

Posts: 3

Joined: Tue Oct 09, 2012 12:15 am

Post Tue Oct 09, 2012 12:27 am

Setup mediabrowser access through apache mod_proxy

I'm trying to setup access to serviio's mediabrowser through apache's mod_proxy, but it refuses to log me in...

At first I just I added this two lines to apache conf:

  Code:
ProxyPass /serviio/ http://localhost:23424/mediabrowser/
ProxyPassReverse /serviio/ http://localhost:23424/mediabrowser/


Then accessing to http(s)://<host>/serviio/ shows the mediabrowser login page correctly but when I try to login it doesn't work, a message asking to check the password and try again appears.

After looking at apache's logs I'found the app tries to access "/cds/login" absolute uri so, while not very happy about it, I added this apache conf lines:

  Code:
ProxyPass /cds/ http://localhost:23424/cds/
ProxyPassReverse /cds/ http://localhost:23424/cds/


After restart and try again, it still behaves the same way.

All I see in logs is the webapp makes an OPTION request to /cds/login which apache forwards to http://localhost:23424/cds/login...

Any idea of how to get this working?
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Oct 09, 2012 6:42 am

Re: Setup mediabrowser access through apache mod_proxy

Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

plalloni

Serviio newbie

Posts: 3

Joined: Tue Oct 09, 2012 12:15 am

Post Tue Oct 09, 2012 12:42 pm

Re: Setup mediabrowser access through apache mod_proxy

@will, thanks for your answer, it worked removing the ending / character in all uris I was using.

So it ended up like this:

  Code:
ProxyPass /serviio http://localhost:23424/mediabrowser
ProxyPassReverse /serviio http://localhost:23424/mediabrowser
ProxyPass /cds http://localhost:23424/cds
ProxyPassReverse /cds http://localhost:23424/cds


Now if only mediabrowser media player were working...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 09, 2012 9:00 pm

Re: Setup mediabrowser access through apache mod_proxy

plalloni wrote:Now if only mediabrowser media player were working...

What's not working?
<<

plalloni

Serviio newbie

Posts: 3

Joined: Tue Oct 09, 2012 12:15 am

Post Wed Oct 10, 2012 9:56 am

Re: Setup mediabrowser access through apache mod_proxy

zip wrote:What's not working?

The flash player in mediabrowser, when we try to play any content after showing the 'loading indicator' for a while it reports "200, Stream not found, ..." and the URI of what seems to be the content stream.

This happens both through apache and directly browsing mediabrowser http server, so I was about to post this on a new thread... but since you asked... thanks for asking.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 10, 2012 10:38 am

Re: Setup mediabrowser access through apache mod_proxy

Look at the log, I presume it's FFmpeg failing. Make sure you have an up-to-date version or build it from the sources on Serviio download page.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 28 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.