Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 84461 invoked from network); 20 Feb 2004 15:55:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Feb 2004 15:55:02 -0000 Received: (qmail 16262 invoked by uid 500); 20 Feb 2004 15:54:43 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 16248 invoked by uid 500); 20 Feb 2004 15:54:42 -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 16226 invoked from network); 20 Feb 2004 15:54:42 -0000 Received: from unknown (HELO www.meirion-dwyfor.ac.uk) (194.82.228.2) by daedalus.apache.org with SMTP; 20 Feb 2004 15:54:42 -0000 Received: from wwwcache.meirion-dwyfor.ac.uk (wwwcache.meirion-dwyfor.ac.uk.229.82.194.in-addr.arpa [194.82.229.6] (may be forged)) by www.meirion-dwyfor.ac.uk (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id i1KGFZxW004263 for ; Fri, 20 Feb 2004 16:15:35 GMT Received: from spac1.meirion-dwyfor.ac.uk ([10.4.0.2]) by wwwcache.meirion-dwyfor.ac.uk (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i1KGLv40008075 for ; Fri, 20 Feb 2004 16:21:58 GMT Received: from gandalf.local ([10.4.0.12]) by spac1.meirion-dwyfor.ac.uk (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i1KGjYIF010124 for ; Fri, 20 Feb 2004 16:45:35 GMT From: Geraint Jones Organization: Coleg Meirion-Dwyfor To: users@httpd.apache.org Date: Fri, 20 Feb 2004 15:46:38 +0000 User-Agent: KMail/1.5.4 References: <200402201208.42654.geraint.jones@meirion-dwyfor.ac.uk> <200402201437.34870.geraint.jones@meirion-dwyfor.ac.uk> <40362A89.9000300@pp.inet.fi> In-Reply-To: <40362A89.9000300@pp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402201546.38560.geraint.jones@meirion-dwyfor.ac.uk> X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/) X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Newbie - need help with running cgi from a userdir X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bao - I added your suggestion to the "Userdir" block which was in "default-server.conf". It's a step forward because now I get an error 403 "Access forbidden" message instead of a printout of the script. I get this in the error log: [Fri Feb 20 15:40:28 2004] [error] [client 127.0.0.1] Options ExecCGI is off in this directory: /home/geraint/public_html/cgi-bin/inv-main.cgi Thanks. On Friday 20 February 2004 15:40, BAO RuiXian wrote: > Geraint Jones wrote: > >Just tried it - no change. I forgot to mention that my Perl CGI script > > code is displayed. My problem is that Apache isn't executing it and the > > instructions from the manual don't work for me. Maybe I'm missing > > something small? Maybe there's something in the conf files I'm supposed > > to alter that isn't mentioned in the docs? Could someone go through the > > steps to allowing CGI to execute from a directory outside the > > "DocumentRoot" please? > > You need to add the following to your userdir block in your httpd.conf: > > Options +ExecCGI > AddHandler cgi-scirpt .pl > > Best > > Bao --------------------------------------------------------------------- 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