From owner-freebsd-isp Mon Jun 8 15:23:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22861 for freebsd-isp-outgoing; Mon, 8 Jun 1998 15:23:06 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from db1.icorp.net ([204.107.221.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22849 for ; Mon, 8 Jun 1998 15:23:02 -0700 (PDT) (envelope-from mlistbsd@icorp.net) Received: from m (p319.accesscom.net [204.181.189.19]) by db1.icorp.net (8.8.6/8.8.6) with SMTP id WAA10521; Mon, 8 Jun 1998 22:21:54 GMT Message-Id: <3.0.1.32.19980608172131.006dcac8@icorp.net> X-Sender: mlistbsd@icorp.net X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Mon, 08 Jun 1998 17:21:31 -0500 To: Wm Brian McCane , isp@FreeBSD.ORG From: MP Subject: Re: apache configuration In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 01:12 PM 6/8/98 -0500, Wm Brian McCane wrote: >Greetings, > > I have looked at the apache documentation, but I guess I just >don't see it. How do I set up apache to have a shared directory >'/global/cgi-bin' that all of my customers can use, with generic >functions for counters, etc. My attempts have only succeeded in disabling >cgi scripts in '/cgi-bin/' for everyone so far 8). 1. Put the ScriptAlias directive outside of any constraint so it's global. 2. Make sure there is no filename conflict - you likely can't have: /cgi-bin and /global/cgi-bin coexist in the same configuration without problems, so I'd recommend using a different ScriptAlias such as: ScriptAlias /run/ /global/cgi-bin/ and tell your users to specify "/run/" as the cgi-bin directory for global scripts. Alternatively, you might be able to get away with something like: ScriptAlias /global /global/cgi-bin then create a subdirectory in global called "cgi-bin" and place your scripts there, but this is problemmatic, and may not work (haven't tested it). Hope this helps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message