Opened 10 years ago

Closed 10 years ago

#4386 closed Enhancement (fixed)

Allow Custom URL Prefix for Web Client When Used Behind Proxy

Reported by: mankyd Owned by:
Priority: Normal Milestone: None Set
Component: Web Client Version: 2.33
Severity: Normal Keywords:
Cc: bulljit@…

Description

I tried putting a Transmission client behind an Apache proxy. In particular, I set it up so that if I visited https://example.com/t/, it would load up the Transmission Web client that was running on a different server.

The client loads ok - the html and static content all display, but it tries to make posts requests to https://example.com/transmission/rpc which is an invalid url with the proxy in place.

It would be most excellent if there was a way to specify a prefix-url for the web client so that it knows to prefix "/t" to the urls (or whatever prefix is set).

Change History (7)

comment:1 Changed 10 years ago by jordan

Unless I'm misunderstanding this ticket, it sounds a lot like #1538, which was added in 2.20.

comment:2 Changed 10 years ago by mankyd

I guess maybe? I was more hoping for a configuration setting rather than a source change that requires recompiling binaries.

comment:3 Changed 10 years ago by jordan

It is a configuration. #1538 added the "rpc-url" key to settings.json.

comment:4 Changed 10 years ago by mankyd

That helps then, yeah. I didn't see that called out explicitly in the ticket, nor is it documented on the wiki page (https://trac.transmissionbt.com/wiki/EditConfigFiles) nor was it in my default config file. I will update the wiki. Thanks!

comment:5 Changed 10 years ago by mankyd

I lied - I don't think I have permissions to update the wiki.

comment:6 Changed 10 years ago by bulljit

  • Cc bulljit@… added

comment:7 Changed 10 years ago by jordan

  • Resolution set to fixed
  • Status changed from new to closed

mankyd, I've given you wiki permissions. Thanks!

Note: See TracTickets for help on using tickets.