From: Shawn K. <sha...@ea...> - 2004-11-05 14:14:09
|
Ok -- I am going to write this down now -- while it's fresh in my mind. I believe that the file isn't <dynamic only>. so -- In tinkering with it -- I (1) changed the link to the link a url relative to the root "/swamp/CV/frame.tml"-- which (2 - probably) generated a cached html file -- and (3) -- I changed the link back -- which then (4) it worked as expected. Which (5) implies it is definitely broken. I don't have time to confirm this right now -- but I can look at it later today. Shawn -----Original Message----- From: tcl...@li... [mailto:tcl...@li...]On Behalf Of Colin McCormack Sent: Friday, November 05, 2004 6:22 AM To: Matthias Hoffmann Cc: Shawn Kielty; Tclhttpd users Subject: Re: [Tclhttpd-users] Problem with relative links? Hi, I wrote the modified logic, so please forward me any details you have and I'll attend to the problem as a matter of urgent priority. Colin On Fri, 2004-11-05 at 23:02, Matthias Hoffmann wrote: > Hi, > > I have the same problem with tclhttpd.3.5.1.1.kit. Links work for the first level URLs and for all .TMLs with > Doc_dynamic. For .TMLs without Doc_dynamic, some levels of the URL-hierarchy are removed, so the resulting .HTML isn't > returned. > > I have mailed this error to Brent Welch already, but he is too busy, I think.... > > It must have something to do with modified logic within lib/doc.tcl, fallback.tcl and/or template.tcl - but the whole > tclhttpd-logic is still a bit complex for me after several years of usage.... With my production environment (Tcl 8.4.4 > threaded with tclhttpd 3.4.2), no such problems exist. > > So I can't help with your problem, just confirm that this problem do exist with 3.5.x! > > Greetings! > > Shawn Kielty schrieb: > > > Howdy folks > > > > I am noticing that my relative links don't all work as they used to -- and I > > believe this may be a bug -- > > > > The file <DocRoot>/home/newhome.tml creates the following html: > > > > <td> > > <DEFANGED_span style="font-size:10.0pt;font-family:Arial;color:#F9E4C9"> > > <b><a href="../swamp/start.html" target="_top"> > > <DEFANGED_span style="color:#F9E4C9">More ...</DEFANGED_span></a></b></DEFANGED_span></td> > > <td> > > <DEFANGED_span style="font-size:10.0pt;font-family:Arial;color:#F9E4C9"> > > <b><a href="../swamp/CV/frame.html" target="_top"> > > <DEFANGED_span style="color:#F9E4C9">Still More ...</DEFANGED_span></a></b></DEFANGED_span></td> > > <td> > > > > > > > > Where the first link "../swamp/start.html" works -- but the second > > "../swamp/CV/frame.html" doesn't. > > > > clicking on the link results in the server trying to fetch > > <DEFANGED_DocRoot>/CV/frame.htm, which seems clearly wrong. it is interesting to > > note that the browser status bar does -- in fact -- display the correct > > location. This was working previously -- > > > > It's easy enough for me to fix -- in my own pages -- but I believe something > > is not happening as it should. > > > > Shawn > > > > Shawn Kielty > > http://www.shawnkielty.com > > (480)636-1524 > > (510) 828-9411 > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > TclHttpd-users mailing list > > Tcl...@li... > > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > > > > -- > Hamburg Münchener Krankenkasse, Hauptverwaltung > Matthias Hoffmann > Systemtechnik HV 202.1 > Schäferkampsallee 16 > D-20357 Hamburg > Tel. +49 40 41535-232 > Fax +49 40 41535-359 > Mail M.H...@hm... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users -- Colin McCormack <co...@ch...> ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users |