Thread: transmission-daemon isn't playing nice: "409: Conflict"
error occurs when apache not running. i've tried zillion different proposed solutions involving rewriterules , proxypasses golly i'm clueless. me?409: conflict
request had invalid session-id header.
fix this, follow these steps:
when reading response, x-transmission-session-id header , remember it
add updated header outgoing requests
when 409 error message, resend request updated header
requirement has been added prevent csrf attacks.
following apache thing, y'know, in case.
code:<virtualhost *:80> rewriteengine on documentroot /var/www <directory /> options followsymlinks allowoverride none </directory> <directory /var/www/> options indexes followsymlinks multiviews allowoverride none order allow,deny allow </directory> scriptalias /cgi-bin/ /usr/lib/cgi-bin/ <directory "/usr/lib/cgi-bin"> allowoverride none options +execcgi -multiviews +symlinksifownermatch order allow,deny allow </directory> errorlog ${apache_log_dir}/error.log # possible values include: debug, info, notice, warn, error, crit, # alert, emerg. loglevel warn customlog ${apache_log_dir}/access.log combined alias /doc/ "/usr/share/doc/" <directory "/usr/share/doc/"> options indexes multiviews followsymlinks allowoverride none order deny,allow deny allow 127.0.0.0/255.0.0.0 ::1/128 </directory> ############here transmission part#################### rewriterule /transmission[/]?$ /transmission/web [r=permanent] proxypass /transmission http://127.0.0.1:9091/transmission proxypassreverse /transmission http://127.0.0.1:9091/transmission redirect permanent / /transmission/web <location /transmission> order allow,deny allow # make pictures, scripts , 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> </virtualhost>
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] transmission-daemon isn't playing nice: "409: Conflict"
Ubuntu
Comments
Post a Comment