Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 32529 invoked from network); 25 Feb 2004 08:52:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Feb 2004 08:52:52 -0000 Received: (qmail 63731 invoked by uid 500); 25 Feb 2004 08:52:15 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 63714 invoked by uid 500); 25 Feb 2004 08:52:15 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 63701 invoked from network); 25 Feb 2004 08:52:14 -0000 Received: from unknown (HELO ns0b.swx.com) (146.109.240.235) by daedalus.apache.org with SMTP; 25 Feb 2004 08:52:14 -0000 Received: from gate0a.unix.swx.ch (gate0a [192.168.252.17]) by ns0b.swx.com (8.12.10/8.12.10) with ESMTP id i1P8qQHC021785 for ; Wed, 25 Feb 2004 09:52:26 +0100 (MET) Received: from SOMEXEVS001.ex.ordersx.org (localhost [127.0.0.1]) by gate0a.unix.swx.ch (8.12.10/8.12.10) with ESMTP id i1P8qPkm009956 for ; Wed, 25 Feb 2004 09:52:25 +0100 (MET) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Wed, 25 Feb 2004 09:52:25 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Priority: normal Importance: normal Thread-Topic: [users@httpd] CGI Scripts Thread-Index: AcP7IPotY2o3AbtdSy2WYhMD0lZvhAAW0piQ From: "Boyle Owen" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] CGI Scripts X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Jiang, Jing [mailto:jjiang@inovant.com] >=20 > Forbidden > You don't have permission to access=20 > /cgi-bin/cricket/grapher.cgi on this server. >=20 > I checked path along the way. All have 755 mode on directory=20 > and files. please help how to resolve this permission issue. thanks. The problem is not with filesystem permissions, the problem is that you have not allowed apache to server files from this directory. You need: Allow from all which will allow anyone, anywhere access to this dir. Read docs for Allow, Deny, Satisfy etc. if you need more specific control. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 > Jing. >=20 > -----Original Message----- > From: Boyle Owen [mailto:Owen.Boyle@swx.com] > Sent: Monday, February 23, 2004 12:20 AM > To: users@httpd.apache.org > Subject: RE: [users@httpd] CGI Scripts >=20 >=20 > Plain text please... >=20 > ScriptAlias is an "alias" - it provides a one-to-one mapping between a > URL and a filesystem path. So when you say: >=20 > ScriptAlias /cgi-bin/ "/www/cgi-bin/" >=20 > apache will map http://servername/cgi-bin/prog to /www/cgi-bin/prog.=20 >=20 > It *does not* create a searchable list of paths (like your $PATH > environment variable). So you can't have more than one=20 > ScriptAlias with > the *same* left-hand argument. That is, in your example, apache will > parse the first ScriptAlias and assign the URL "/cgi-bin" to > /www/cgi-bin. Then it will parse the second ScriptAlias, and re-assign > the URL "/cgi-bin" to /www/blast. So it will overwrite the first > ScriptAlias and forget about it. >=20 > If you need to have two directories with executable content, you have > two choices: >=20 > - Give them different URLs; >=20 > ScriptAlias /cgi-bin/ "/www/cgi-bin/" (use http://server/cgi-bin/prog) > ScriptAlias /blast-cgi/ "/www/blast/" (use=20 > http://server/blast-cgi/prog) >=20 > - Use "Addhandler" to define CGIs based on file extension rather than > directory; >=20 > AddHandler cgi-script .pl >=20 > You can apply this to specific directories for more fine-grained > control. See docs for more details. >=20 > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 >=20 > -----Original Message----- > From: Matthew Hagen [mailto:mhagen@bellsouth.net] > Sent: Samstag, 21. Februar 2004 14:43 > To: users@httpd.apache.org > Subject: [users@httpd] CGI Scripts >=20 >=20 > I have a software program that generates images through CGI Scripts. > However, the problem is that the scripts must be run in the same > directory as the software program. I believe the default directory of > where CGI scripts can be run in Apache is /cgi-bin from what I see in > the httpd.conf file : > =20 > ScriptAlias /cgi-bin/ "/www/cgi-bin/" > =20 > =20 > Is there a way I can add my software's directory to be added=20 > to run cgi > scripts ? > =20 > e.g. > =20 > ScriptAlias /cgi-bin/ "/www/cgi-bin/" > ScriptAlias /cgi-bin/ "/www/blast/" > =20 > Thanks in advance, > Matthew >=20 Diese E-mail ist eine private und pers=F6nliche Kommunikation. Sie hat keinen Bezug zur B=F6rsen- bzw. Gesch=E4ftst=E4tigkeit der SWX Gruppe. = This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le pr=E9sent e-mail = est un message priv=E9 et personnel, sans rapport avec l'activit=E9 = boursi=E8re du Groupe SWX. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.=20 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org