Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 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

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

Resolution: cantfix
Status: newclosed

Configuration issue.

comment:2 Changed 8 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 8 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
Action
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.