View Ticket
Not logged in
Ticket UUID: 2598a084de0ff4451fd6a763b7e9a488c0061b69
Title: Differing results for clickable image in wiki text with fossil ui and cgi
Status: Open Type: Incident
Severity: Important Priority:
Subsystem: Resolution:
Last Modified: 2011-05-13 21:25:29
Version Found In: d8221b9863
Description & Comments:
This is on an XAMPP Apache on Windows XP with, Fossil version [d8221b9863] 2011-05-12 14:56:52

When using a cgi-bin styled server with /fossils/ ScriptAliased to the cgi-bin dir (Thus allowing /cgi-bin/ogre-1_7-ffo/ and /fossils/ogre-1_7-ffo to both access the file ("ogre-1_7-ffo") which is defined as:

#!C:\home\feral\bin\fossil\fossil.exe
repository: C:\home\feral\dev\ogre-1_7-ffo\ogre-1_7-ffo.fossil

An wiki text such as: (front page and a ticket for sure)

<a href="/doc/tip/img/an_image.png"><img src="/doc/tip/img/an_image.png" width="320"/></a>
(I.e. a small image that when clicked takes one to the larger image)

Produces:

<a href="/doc/tip/img/an_image.png"><img src="/fossils/ogre-1_7-ffo/doc/tip/img/an_image.png" width="320"></a>
(I.e. the img has the correct path, yet the a-href does not.) (I.e. "/doc/tip/img/an_image.png"> vs. "/fossils/ogre-1_7-ffo/doc/tip/img/an_image.png")

Yet, with fossil ui produces:

<a href="/doc/tip/img/an_image.png"><img src="/doc/tip/img/an_image.png" width="320"></a>
(Which works as expected.)

I am fairly new to Apache and just started using fossil's cgi method so it is certainly plausible I have misconfigured something somewhere.

Best Regards,
~Feral