Project

General

Profile

Images not displayed for text formatting help under apache using an alias

Added by Anonymous almost 16 years ago

Hi, we have our redmine-0.7.1 installation running under Apache-2.2.8 using mod_fastcgi. We have an Alias directive pointing /redmine to the public folder and as such, have enabled the RewriteBase /redmine. Redmine runs fine except we don't get images in the text formatting help window. The apache log shows errors such as these:

[Mon Jun 02 10:38:23 2008] [error] [client 172.16.75.119] File does not exist: C:/www/favicon.ico, referer: http://server/redmine/issues/show/844
[Mon Jun 02 10:59:27 2008] [error] [client 172.16.75.119] File does not exist: C:/www/images, referer: http://server/redmine/help/wiki_syntax.html
[Mon Jun 02 10:59:27 2008] [error] [client 172.16.75.119] File does not exist: C:/www/images, referer: http://server/redmine/help/wiki_syntax.html
[Mon Jun 02 10:59:27 2008] [error] [client 172.16.75.119] File does not exist: C:/www/images, referer: http://server/redmine/help/wiki_syntax.html

It appears that the image requests and favicons aren't getting /redmine added in, and therefore not getting picked up by the alias directive in the apache config. The rest of redmine works correctly so the /redmine is getting added in elsewhere.

Anyone any ideas?

Cheeres

Russell


Replies (1)

RE: Images not displayed for text formatting help under apache using an alias - Added by Anonymous almost 16 years ago

OK, I've found the problem. The formatting help is just an HTML page. It is hard-coded to look for images in ../../images/ etc. Given our redmine install requires a prefix, then these should be re-written to /redmine/images. How do we get this done, because for now, it looks like the formatting help is broken for anyone who uses a prefix.

Cheers

Russell

    (1-1/1)