Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8413 closed defect (wontfix)

Problem returning chrome images when accessed via https

Reported by: it@… Owned by:
Priority: normal Milestone:
Component: rendering Version: 0.12dev
Severity: normal Keywords: https chrome images
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When accessing the trac project I've setup for a client via https, images accessed from chrome are not found and a 404 is returned.

In the attached access log you can see that when accessing the ticket browser, the main page, css and js pages are all found but all dependent images are not found. All functionality is correct apart from this.

Version is 0.12 multirepos using the mercurial plugin with no changes to site templates. I haven't tried a released version yet, but I don't think its to do with the version as the *same* project when accessed from http works perfectly - all images are found.

Is there a workaround I could use temporarily - something I've missed in the config perhaps?

I normally wouldn't be bothered by this, but it's a client site, has to look good, and has to be accessed over https and hosted in the secure area of my site so I can't simply serve it over normal http.

Attachments (1)

secure-access.log (3.2 KB ) - added by it@… 15 years ago.
Apache access log

Download all attachments as: .zip

Change History (6)

by it@…, 15 years ago

Attachment: secure-access.log added

Apache access log

comment:1 by anonymous, 15 years ago

Note - to get past askimet, the referrer urls have been removed but I've verified they're all correct.

comment:2 by ebray, 15 years ago

Have you set base_url to use HTTPS?

in reply to:  2 comment:3 by it@…, 15 years ago

Replying to ebray:

Have you set base_url to use HTTPS?

I appreciate the quick response - thanks.

Just tried this your suggestion. No difference, but to be honest, I'm not particularly surprised as css/js are returned fine.

To me, the fact that https://.../chrome/common/blah.css and https://.../chrome/common/blah.js are requested and returned correctly but https://.../chrome/common/blah.png is not, points to the fact that images are handled differently to css/js by the chrome handler.

I wondered if it was something to do with the referrer being a chrome url as I first spotted the problem where background images given in the stylesheet weren't being loaded, but it also happens when the referring page is a trac page.

Let me know if there are any tests I could try. In the meantime, I'll have a look at the code myself if I find some time - any pointers to the appropriate area would be greatly appreciated in this case.

comment:4 by Christian Boos, 15 years ago

Most certainly an InstallationIssue - you might try asking on the MailingList, as you'll reach a wider number of people that might help you.

comment:5 by Christian Boos, 15 years ago

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.