From owner-freebsd-cvsweb Fri Sep 13 10:46:33 2002 Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DF8B37B400; Fri, 13 Sep 2002 10:46:30 -0700 (PDT) Received: from rly-ip04.mx.aol.com (rly-ip04.mx.aol.com [64.12.138.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68E6B43E88; Fri, 13 Sep 2002 10:46:25 -0700 (PDT) (envelope-from rushing@sdsu.edu) Received: from logs-tn.proxy.aol.com (logs-tn.proxy.aol.com [152.163.207.5]) by rly-ip04.mx.aol.com (v87.21) with ESMTP id RELAYIN4-0913134605; Fri, 13 Sep 2002 13:46:05 -0400 Received: from RushingLaptop (AC942207.ipt.aol.com [172.148.34.7]) by logs-tn.proxy.aol.com (8.10.0/8.10.0) with SMTP id g8DHjeh80469; Fri, 13 Sep 2002 13:45:40 -0400 (EDT) From: "Lance Rushing" To: =?iso-8859-1?Q?Ville_Skytt=E4?= Cc: Subject: RE: FW: Unlimited redirect - CGI wrapper / Contribute Code Date: Fri, 13 Sep 2002 10:45:38 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-reply-to: <1031429174.1744.10.camel@bobcat.ods.org> X-Apparently-From: Lancerushing@aol.com Sender: owner-freebsd-cvsweb@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here Is the env dump, the only place I see the wraper identified is the SCRIPT_FILENAME key. SERVER_SOFTWARE Apache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.1.2 mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25 GATEWAY_INTERFACE CGI/1.1 DOCUMENT_ROOT /home/sites/site01/web REMOTE_ADDR 172.129.46.119 REQUEST_METHOD GET QUERY_STRING HTTP_ACCEPT */* REMOTE_PORT 1314 SERVER_ADDR 216.99.124.130 HTTP_ACCEPT_LANGUAGE en-us REDIRECT_UNIQUE_ID PX-XddhihvIAAEJoSH8 HTTP_ACCEPT_ENCODING gzip, deflate REDIRECT_STATUS 200 SCRIPT_FILENAME /usr/cgiwrap/cgiwrap SERVER_NAME www.mydomain.com SERVER_PORT 80 PATH_TRANSLATED /home/sites/site01/web/env.cgi SERVER_ADMIN admin UNIQUE_ID PX-XddhihvIAAEJoSH8 REDIRECT_URL /env.cgi SCRIPT_URI http://www.mydomain.com/env.cgi SCRIPT_URL /env.cgi SERVER_SIGNATURE SERVER_PROTOCOL HTTP/1.1 HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin HTTP_CONNECTION Keep-Alive REDIRECT_SCRIPT_URI http://www.mydomain.com/env.cgi SCRIPT_NAME /env.cgi REDIRECT_SCRIPT_URL /env.cgi REQUEST_URI /env.cgi PATH_INFO /env.cgi HTTP_HOST www.mydomain.com -----Original Message----- From: Ville Skyttä [mailto:scop@FreeBSD.org] On Sat, 2002-09-07 at 11:46, Lance Rushing wrote: > I modified cvsweb.cgi to work with a cgi wrapper (specifically for a Cobalt > RaQ4) > > Should/Where/How/Who I should contact to add this change to the cvsweb > project? Hello Lance, thanks for the patch, the freebsd-cvsweb mailing list is the correct place. However, I haven't applied your patch yet, basically because I see it somewhat hacky, especially the portion of detecting cgiwrap based on directory/file name. Could you post the full contents of %ENV of cvsweb.cgi running under cgiwrap, so we could see if there's something else there to base the detection on? In case there isn't, I think I will apply this, but add a configuration variable for enabling that stuff, and default it to false. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-cvsweb" in the body of the message