Jump to content

Reverse Proxy Issue


treason

Recommended Posts

treason

So to follow up with the other discussion here: http://mediabrowser.tv/community/index.php?/blog/1/entry-172-media-browser-server-beta-305518-released/

 

I personally use IIS_Rewrite to serve up mediabrowser over http. In my webconfig I do:

                <rule name="mediabrowser" stopProcessing="true">
                    <match url="mediabrowser/(.*)" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                    <action type="Rewrite" url="http://192.168.1.110:8096/mediabrowser/{R:1}" />
                </rule>

Then IIS does my cert management, and runs other services in other subdirectories.. /service1 /service2 etc...

 

The new server release busts that because 192.168.1.110:8096/mediabrowser/web/login.html requests resources outside of the /mediabrowser directory (check net tab in firebug)

192.168.1.110:8096/System/Info/Public 192.168.1.110:8096/Branding/Css  192.168.1.110:8096/users are all dead urls because they break out of the subdirectory

 

Also 192.168.1.110:8096/mediabrowser/ does a 302 redirect to 192.168.1.110:8096/web/login.html when IMO it should respect the original path and redirect to 192.168.1.110:8096/mediabrowser/web/login.html

 

 

Edited by treason
Link to comment
Share on other sites

Cerothen

Beautiful. You are fast as hell with these updates, thanks

 

Good Evening Treason,

 

I have been having an issue where nonlocal clients cant seem to play mp4 content when through the reverse proxy. I have confirmed the IIS has the appropriate MIME types (that I can think of) but from what I can tell it only applies to files in my library that are MP4. Thought I would check if you have the same problems.

Edited by Cerothen
Link to comment
Share on other sites

  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...