The following reply was made to PR other/2882; it has been noted by GNATS. From: [EMAIL PROTECTED] (Ruediger Kuhlmann) To: [EMAIL PROTECTED] Cc: Subject: Re: other/2882 Date: Sat, 24 Oct 1998 20:42:45 +0200 (CES)
>>Number: 2882 >>Category: other >>Synopsis: UseCanonicalName off doesn't work when accessing cgi's f= rom SSI documents? >>Confidential: no >>Severity: non-critical >>Priority: medium >>Responsible: apache >>State: closed >>Class: sw-bug >>Submitter-Id: apache >>Arrival-Date: Thu Aug 20 07:40:00 PDT 1998 >>Last-Modified: Thu Aug 20 13:50:01 PDT 1998 >>Originator: [EMAIL PROTECTED] >>Organization: >>Release: 1.3b5 Amiga >>Environment: >Amiga Os 3.0 , Ixemul.library v 47.3 >>Description: >When you access a cgi directly the "UseCanonicalName off" function works = gr8. But when you access the cgi from a ssi document it uses the original S= ervername specified in httpd.conf.=20 >>How-To-Repeat: >it works great with: http://ns.amiga.tm/cgi-bin/test-cgi >but when you access http://ns.amiga.tm/test.shtml it does'nt work. >test.shtml just loads /cgi-bin/test-cgi >>Fix: > >>Audit-Trail: >State-Changed-From-To: open-closed >State-Changed-By: marc >State-Changed-When: Thu Aug 20 12:59:12 PDT 1998 >State-Changed-Why: >I'm afraid that I can _not_ reproduce the problem you are having. >Since 1.3b5 is an old beta which we don't support any more, >plus we have nothing at all to do with whatever changes >whoever makes to make it run on the Amiga, we can't support >their changes. > >My guess would be that perhaps they didn't properly >update their code when the directive was introduced. You >should contact whoever made the version you are using run >on the Amiga and try to resolve it with them. It is possible >that it is something in the base Apache code at fault, but >since I can't reproduce your problem it isn't really something >we can debug because of the fact that it isn't Apache, but >someone's modifications to Apache, that you are running. Well, this PR is already closed, but the explaination to this problem might be that in Bert Vortman's 1.3b3 the ap_os_canonical_filename() wasn't implemented, but a couple of hacks in main/util.c instead. This is fixed in the meantime; there is a (nearly) working 1.3.3 on Aminet (I'm responsible for that), the remaining troubles are at exit when transmissions are killed and have to do with fork() missing on Amiga. By the way: what about adding a partial Amiga support to Apache? What I am thinking of is creating an os/amiga directory and populating it with os.h, os.c, os-inline.c and Makefile.tmpl and adding a few lines to src/configure. And a os-amiga bug report directory would be fine - all entries could be forwarded to Bert Vortman ([EMAIL PROTECTED]), Jeff Shepherd ([EMAIL PROTECTED]) and me ([EMAIL PROTECTED]). If anyone can tell me whether ap_os_canonical_filename() is expected to shrink path/path/./path/path to path/path/path/path and /foo/bar/../path to foo/path, I could contribute the files for os/amiga. By the way: can someone remove my stupid PR #3203? I didn't know about ap_os_c_f() at that time either... I apologise for that. Thank you very much. Yours, R=FCdiger. --=20 Does war decide who's right? Only who's left. ----------------------------------------------------------------------- eMail: [EMAIL PROTECTED] Homepage: http://www.uni-karlsruhe.de/~Ruediger.Kuhlmann
