I have a requirement to change the context root URL of Allura. With the hint from a TurboGears forum, I could change the context root URL by making this change in development.ini
use = egg:PasteDeploy#prefix
prefix = /my-site
use = egg:Allura
full_stack = true
filter-with = proxy-prefix
With this change, all the Allura pages go through http://localhost:8080/my-site.
But the issue is that taskd tasks don't work anymore. Allura.log shows up this warning:
16:23:25,927 WARNI [taskd:forgetracker.tasks.update_bin_counts:61237e1fe992b56fe76a7387:allura.command.taskd] Unexpected http response from taskd request: 404 Not Found. Headers: [('Cache-Control', 'no-cache'), ('Pragma', 'no-cache'), ('Content-Type', 'text/html; charset=utf-8'), ('Content-Length', '4448'), ('Set-cookie', '_session_id=b03d71ba8fd1fdb753e1582f86a4260a7d5f5ce613411d1012cd6e51ebd4dae0191bd6adb0f879b7; Path=/')]
Any pointers on how to make taskd aware of the context root url change?
Log in to post a comment.