Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 27189 invoked from network); 23 Aug 2005 14:01:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2005 14:01:28 -0000 Received: (qmail 51278 invoked by uid 500); 23 Aug 2005 14:01:18 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 51269 invoked by uid 500); 23 Aug 2005 14:01:18 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 51256 invoked by uid 99); 23 Aug 2005 14:01:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 07:01:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [62.97.205.150] (HELO grieg.imaker.no) (62.97.205.150) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 07:01:35 -0700 Received: from localhost (localhost [127.0.0.1]) by grieg.imaker.no (Postfix) with ESMTP id C51C4316C96 for ; Tue, 23 Aug 2005 16:01:08 +0200 (CEST) Received: from grieg.imaker.no ([127.0.0.1]) by localhost (grieg.imaker.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15876-05 for ; Tue, 23 Aug 2005 16:01:07 +0200 (CEST) Received: from [10.0.3.142] (unknown [10.0.3.142]) by grieg.imaker.no (Postfix) with ESMTP id F23C33129EA for ; Tue, 23 Aug 2005 16:01:06 +0200 (CEST) Message-ID: <430B2C27.4080809@imaker.no> Date: Tue, 23 Aug 2005 16:01:11 +0200 From: Ivar Bratberg User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at imaker.no X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] cgi permission denied for C++ but not for perl X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Problems with cgi permissions. Hello, I have just intalled Apache 2.0.1 on fedora core 4, gnome I manage to use a perl script for a cgi script by putting the perl file "first.pl" in /var/www/cgi-script/ BUT if I do the following: Make a simple c++ program writing to stout "hello world" try to compile using g++ 4.0.something, renaming the file to world.cgi chmod 755 world.cgi i get You don't have permission to access /cgi-bin/ttt.cgi on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. In the errorlog it says : [Tue Aug 23 15:53:56 2005] [error] [client 127.0.0.1] (13)Permission denied: access to /cgi-bin/world.cgi denied [Tue Aug 23 15:53:56 2005] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico I have tried to fix thins in the httpd.conf file, even though I think it should not be necessary: -----------snip------------------- ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options ExecCGI Order allow,deny Allow from all ------snip----------------- I hope somebody can help me with this. Best regards, IB --------------------------------------------------------------------- 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