From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 09:07:25 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AE9316A4CE for ; Tue, 25 Jan 2005 09:07:25 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBC0143D1F for ; Tue, 25 Jan 2005 09:07:24 +0000 (GMT) (envelope-from gjbailey@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so29886wra for ; Tue, 25 Jan 2005 01:07:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=okPb0CShJcyswgDadzOBELYPddTuge5BWij4ARkOIFyBkeEGCknZsW62Pj6uzOK05aDm/UykVkeCUqhl3B3YXNLgG2PatCpla0Bqe9WIHfj+VpzW5z0ovydgdnUhW7ksdiU5vtFEt7/Xugy8MBg0ecwIRrl+FqJvIX0+DLnnRPE= Received: by 10.54.23.3 with SMTP id 3mr510544wrw; Tue, 25 Jan 2005 01:07:24 -0800 (PST) Received: by 10.54.23.57 with HTTP; Tue, 25 Jan 2005 01:07:24 -0800 (PST) Message-ID: <48a5f32a05012501075d2ebef5@mail.gmail.com> Date: Tue, 25 Jan 2005 11:07:24 +0200 From: Gareth Bailey To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: A simple CGI question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gareth Bailey List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 09:07:25 -0000 Hi there, I have what i think is a really simple question regarding cgi scripts. I have an apache chpasswd cgi script that i want to make available so that users can browse to the url and change their own passwords. If a cgi script is in my /usr/local/www/cgi-bin directory, what url would i use to access the cgi from the web. Would i need to copy the cgi into my data directory? - i tried this and the browser treated it as a download. Please advise. Thanks!