440: Not found/rpc | 401: UnauthorizedUser
Posted: Fri Sep 25, 2009 11:43 am
So... I recently upgraded my headless Ubuntu server to Jaunty and thought that I'd test Transmission and see if Deluge or Transmission is best for me (I'm currently using Deluge). Clutch is a really nice WebUI but unforunatley it doesn't work for me.
I am using Transmission 1.74 from the Ubuntu PPA and I've followed all the guides I can find on how to configure the WebUI on Ubuntu. I am using Apache as a reverse proxy and when I visit my configured URL I get a password prompt, if I enter the username and password set in /etc/transmission-daemon/settings.json the WebUI show but I get an error that it couldn't connect to the daemon. When I click details Firefox/IE reports this error "404: Not found/rpc" if I do the samething with Safari I get the following error "401: UnauthorizedUnauthorized User".
Now if I try to connect to the daemon with "transsmission-remote -n username:password" I get a connection to the daemon with issues. Could someone please point me to where it goes wrong?
My /etc/transmission-daemon/settings.json:
My apache-confign for reverse proxy:
I am using Transmission 1.74 from the Ubuntu PPA and I've followed all the guides I can find on how to configure the WebUI on Ubuntu. I am using Apache as a reverse proxy and when I visit my configured URL I get a password prompt, if I enter the username and password set in /etc/transmission-daemon/settings.json the WebUI show but I get an error that it couldn't connect to the daemon. When I click details Firefox/IE reports this error "404: Not found/rpc" if I do the samething with Safari I get the following error "401: UnauthorizedUnauthorized User".
Now if I try to connect to the daemon with "transsmission-remote -n username:password" I get a connection to the daemon with issues. Could someone please point me to where it goes wrong?
My /etc/transmission-daemon/settings.json:
Code: Select all
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "\/var\/lib\/transmission-daemon\/downloads",
"download-limit": 100,
"download-limit-enabled": 0,
"encryption": 1,
"lazy-bitfield-enabled": true,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": false,
"rpc-authentication-required": true,
"rpc-bind-address": "127.0.0.1",
"rpc-enabled": true,
"rpc-password": "mypassword",
"rpc-port": 9091,
"rpc-username": "myusername",
"rpc-whitelist": "*.*.*.*",
"rpc-whitelist-enabled": true,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"umask": 18,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14
}
Code: Select all
# Redirect requests to /transmission to /transmission/web
RewriteRule /transmission[/]?$ /transmission/web [R=permanent]
# Forward all requests for /transmission to transmission-daemon
ProxyPass /transmission/ http://127.0.0.1:9091/
ProxyPassReverse /transmission/ http://127.0.0.1:9091/
<Location /transmission>
# !!! ONLY NEEDED FOR 1.5x AND EARLIER !!!
# Work-around for libT's non-conformance to the HTTP/1.1 standard for Redirect
# See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30"
# and http://trac.transmissionbt.com/ticket/1944
# Work-around no longer needed (see RewriteRule above)
# ProxyPassReverse http://127.0.0.1:9091/transmission
# Digest Auth enable
# See http://httpd.apache.org/docs/2.2/howto/auth.html#gettingitworking
Order Allow,Deny
Allow from All
#AuthType Digest
#AuthName "Transmission Web Interface"
#AuthDigestProvider file
#AuthUserFile "/usr/local/etc/apache22/htdigest.user"
#Require valid-user
# Make pictures, scripts and styling client-cacheable
<IfModule expires_module>
ExpiresActive On
ExpiresByType image/gif A43200
ExpiresByType image/png A43200
ExpiresByType application/javascript A43200
ExpiresByType text/css A43200
</IfModule>
</Location>