Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 55915 invoked by uid 500); 9 May 2003 00:03:56 -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 55902 invoked from network); 9 May 2003 00:03:55 -0000 Received: from simmts7.bellnexxia.net (HELO simmts7-srv.bellnexxia.net) (206.47.199.165) by daedalus.apache.org with SMTP; 9 May 2003 00:03:55 -0000 Received: from BICLES.ns.sympatico.ca ([142.177.198.117]) by simmts7-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030509000401.QKQN8530.simmts7-srv.bellnexxia.net@BICLES.ns.sympatico.ca> for ; Thu, 8 May 2003 20:04:01 -0400 Message-Id: <5.2.0.9.0.20030508210230.01b28a40@pop1.ns.sympatico.ca> X-Sender: hchs#ns.sympatico.ca@pop1.ns.sympatico.ca X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 08 May 2003 21:03:21 -0300 To: users@httpd.apache.org From: Cody Harris In-Reply-To: References: <5.2.0.9.0.20030508204938.01b25700@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508202344.01b1bda8@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508201233.01cd5ae0@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508181843.01a53828@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508175012.01a07c78@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508171704.01bc8ed8@pop1.ns.sympatico.ca> <001301c3159c$6f7e8570$1401a8c0@genocide> <8D383084B1578A4A8D9A2227838210C9F5C366@venus.cometsystems.com> <5.2.0.9.0.20030508181843.01a53828@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508201233.01cd5ae0@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508202344.01b1bda8@pop1.ns.sympatico.ca> <5.2.0.9.0.20030508204938.01b25700@pop1.ns.sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] CGI Error Ok, i did the chmod thang, but: [root@vectec root]# apachectl restart Shutting down httpd-perl: [ OK ] Shutting down httpd: [ OK ] Starting httpd-perl: [ OK ] Starting httpd: [ OK ] [root@vectec root]# httpd -l Compiled-in modules: http_core.c mod_so.c suexec: enabled; valid wrapper /usr/sbin/suexec [root@vectec root]# What did i do wrong? What should i check? At 07:57 PM 5/8/2003 -0400, you wrote: >On Thu, 8 May 2003, Cody Harris wrote: > > >Now type > > >chmod -x /usr/sbin/suexec > > >then restart apache and try your cgi script again. > > > > Error 500 (Still) > > > > >This will disable suexec which, since you had no idea you where using it, > > >seems like a good idea. > > > > Oh? isn't it needed? > >No. It has a specific purpose, but it is not necessary. See: >http://httpd.apache.org/docs-2.0/suexec.html >if you are interested. > >As far as your problem goes, please make absolutely sure that you followed >my directions correctly (type httpd -l again and make sure it says "suexec >disabled" and make absolutely sure that you restarted apache). > >We have already found two different configuration problems that >independently would have prevented you from executing cgi scripts. Having >a third would be unlikely, but possible. > >If it still isn't working, please try a trivial cgi-script like this: > >#!/bin/sh >echo Content-Type: text/plain >echo >echo Testing 1 2 3 > >Make sure it works from the command line, then try it from the web and >report the exact and full error messages that you get (if any). > >Joshua. > >--------------------------------------------------------------------- >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 --------------------------------------------------------------------- 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