Reverse proxy adding spaces in Linux

I’m on Ubuntu 12.04, and when I follow the wiki on adding a reverse proxy (dvr in my case) so that http:///dvr should direct me to Drone, instead it comes out http:///%20dvr%20/ on redirection.

This same entry used to work just fine when I had Sickbeard.

Looks like the XML creation on linux is messed up, juts make sure the XML is <UrlBase>dvr</UrlBase> for that line and it should be fine (I had the same issue when I tested exactly how the file was created). That would likely cause all sorts of issues with the config file, so I’ll get that fixed globally.

I did as you suggested with <UrlBase>dvr</UrlBase> before I posted. That’s when I only got 2 spaces.

When it was
<UrlBase> dvr </UrlBase>
I had LOTS of spaces.

I hope you understand what I mean, I can’t figure out how to make it show the url tags. :confused:

JUST updated.

Now Chrome tells me that http://mydomain/dvr has a redirect loop. But if I do http://mydomain:port then it resolves to http://mydomain:port/dvr

Not sure what to do . . .

Damn tags . . .

Use a tilde to show code blocks (its markdown).

Do you have something listening on http://mydomain/dvr that redirects to http://mydomain:port/dvr ? I assume thats your reverse proxy doing it, might be an issue with how the redirect is being done within drone, I’ll see what I can do.

I do have apache doing that. Hmm . . . I’ll see what happens if I comment that out.

So I commented it out, and now if I do http://mydomain/dvr it gives 404. But http://mydomain:port still works fine by redirecting to http://mydomain:port/dvr

Hope my feedback is helping. :slight_smile:

Personally, I consider this a minor issue, but it is nice. :slight_smile:

Alright, pretty sure its my redirect, I’ll take a look at how i’m doing it and test it behind a proxy to make sure it holds up. I’ll let you know once I have something working, because its pretty useless as-is :slight_smile:

I setup Apache on my Ubuntu 13.04 x64 VM, added reverse proxy and used this config:

ProxyPass /dvr/ http://localhost:8989/dvr/ ProxyPassReverse /dvr/ http://localhost:8989/dvr/

I am now able to access drone on port 80 locally and from my desktop using the URL of http://192.168.47.129/dvr/ I’m not seeing a redirect loop with this.

And sorry its backticks, not tilde’s for code blocks.

Mine worked by leaving off the trailing backslash.

So for me it was:

ProxyPass /dvr/ http://localhost:8989/dvr

Etc . . .

Cool, so its working for you?

Yep. Thanks. :slight_smile: