Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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


Hi, the graphwiz png file has only a placeholder and is not found by the webserver:

404 Not Found


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 7 years ago by Jun Omae

Resolution: cantfix
Status: newclosed

Configuration issue.

comment:2 Changed 7 years ago by Jun Omae

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 7 years ago by Massimo

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.