Changes between Version 1 and Version 2 of MovedToGitHub/WebInterface


Ignore:
Timestamp:
Feb 22, 2009, 10:41:33 PM (13 years ago)
Author:
wereHamster
Comment:

Add sample proxy configuration for lighttpd

Legend:

Unmodified
Added
Removed
Modified
  • MovedToGitHub/WebInterface

    v1 v2  
    11= Web Interface =
    22The Web Interface is a web-based frontend to most Transmission clients (eg. the daemon, GTK client and the Mac client, but not the cli).
     3
     4Once you have set it up, you can open a web browser and direct it to http://127.0.0.1:9091/transmission/web (replace 127.0.0.1 with the IP where Transmission is running, 9091 is the default port).
    35
    46== To Enable ==
     
    2729 1. {{{/usr/local/share/transmission/web}}}
    2830 1. {{{/usr/share/transmission/web}}}
     31
     32== Proxy Configuration ==
     33
     34Currently the web interface has a hardcoded URL {{{/transmission/web}}}. However for it to work it also needs to have access to {{{/transmission/rpc}}}, so it's best to redirect everything under {{{/transmission/}}} to Transmission.
     35
     36=== Lighttpd ===
     37
     38Sample configuration for [http://www.lighttpd.net/ lighttpd]:
     39{{{
     40server.modules += ( "mod_rewrite", "mod_auth", "mod_proxy" )
     41url.rewrite-once += ( "^/transmission[/]?$" => "/transmission/web" )
     42
     43$HTTP["url"] =~ "^/transmission/" {
     44  auth.backend = "plain"
     45  auth.backend.plain.userfile = "/var/www/transmission/users"
     46  auth.require = (
     47    "" => (
     48      "method"  => "digest",
     49      "realm"   => "Transmission Web Interface",
     50      "require" => "valid-user"
     51    )
     52  )
     53
     54  proxy.server = (
     55    "" => (
     56      (
     57        "host" => "127.0.0.1",
     58        "port" => 9091
     59      )
     60    )
     61  )
     62}
     63}}}