Modify ↓
#13070 closed defect (cantfix)
Graphwiz png file not found
| Reported by: | Massimo | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Component: | TracWorkflowAdminPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.2 |
Description
Hi, the graphwiz png file has only a placeholder and is not found by the webserver:
404 Not Found
http://project/trac/chrome/site/tracworkflowadmin/a9ba01cbc1573b54760e99a4496a24de.png?=1486984262
I'm serving chrome/site directly by Nginx like this:
location ~ /(.*?)/chrome/site/ {
rewrite /(.*?)/chrome/(.*)/(.*) /$1/static/htdocs/$2/$3 break;
root /mnt/data/trac/projects;
}
If this is the reason for breaking the preview, this plugin is the only issue I have with that rewrite.
Attachments (0)
Change History (3)
comment:1 Changed 9 years ago by
| Resolution: | → cantfix |
|---|---|
| Status: | new → closed |
comment:2 Changed 9 years ago by
Please ask on mailing list, first.
Also, why .* is used?
location ~ ^/([^/]+)/chrome/site/ {
rewrite ^/([^/]+)/chrome/([^/]+)/(.*) /$1/static/htdocs/$2/$3 break;
root /mnt/data/trac/projects;
}
comment:3 Changed 9 years ago by
As it seems to be the only plugin serving dynamic content here, I solved it by:
location ~ ^/([^/]+)/chrome/([^/]+)/(?!tracworkflowadmin) {
rewrite ^/([^/]+)/chrome/([^/]+)/(.*) /$1/static/htdocs/$2/$3 break;
root /mnt/data/trac/projects;
}
Maybe describe this issue in the wiki. Sry, will contact the list first next time.
Note: See
TracTickets for help on using
tickets.



Configuration issue.