Transmission WebUI - strange redirect behavior

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
theCrank
Posts: 249
Joined: Sat Jun 28, 2008 8:01 am
Location: Karlsruhe, Germany

Transmission WebUI - strange redirect behavior

Post by theCrank »

My setup:

Transmission 1.71 on Ubuntu 9.04. A lighttpd server acts as proxy for my transmission WebUI. The lighty-config looks like this:

Code: Select all

$HTTP["host"] == "bt.mydomain.net:443" {
  proxy.server  = ( "" => ( ( "host" => "127.0.0.1", "port" => 9091 )))
}
Please note, that i'm listening on HTTPS (443), not HTTP (80). Everything works fine if i listen on HTTP, but as soon as i use the config above i run into trouble. as far as i can see the request to https://bt.mydomain.net is passed to the webui which tries to redirect to http://bt.mydomain.net/transmission/web/. You may noticed, that the redirect pointed to HTTP://bt..... not HTTPS://bt... .

I don't know if i did something wrong or if Transmission always redirects to a HTTP-address. I don't (want to) serve my webui (and other stuff) over plain HTTP.
theCrank
Posts: 249
Joined: Sat Jun 28, 2008 8:01 am
Location: Karlsruhe, Germany

Re: Transmission WebUI - strange redirect behavior

Post by theCrank »

I forgot to mention that adding /transmission/web/ by rewriting the url doesn't work either. Adding it manually (when the rewrite rule is not active) works perfectly.
Post Reply