[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#75648: marked as done (apache: Apache fails to run CGI's with symlink path)



Your message dated 15 Jul 2003 20:49:31 +0200
with message-id <87isq362x0.fsf@yiwaz.raw.no>
and subject line suexec bug, fixed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Oct 2000 18:38:07 +0000
>From panupa@iki.fi Thu Oct 26 13:38:07 2000
Return-path: <panupa@iki.fi>
Received: from m2ep.pp.htv.fi (m2.pp.htv.fi) [::ffff:212.90.64.98] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13orue-0008FG-00; Thu, 26 Oct 2000 13:38:05 -0500
Received: from m7.pp.htv.fi (m7.pp.htv.fi [212.90.64.22])
	by m2.pp.htv.fi (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id VAA11373;
	Thu, 26 Oct 2000 21:37:26 +0300 (EETDST)
From: panupa@iki.fi
Received: from sammakko.cavenet (cs87089.pp.htv.fi [212.90.87.89])
	by m7.pp.htv.fi (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id VAA22846;
	Thu, 26 Oct 2000 21:37:26 +0300 (EETDST)
Received: by iki.fi
	via sendmail from stdin
	id <m13osog-001dFtC@sammakko.cavenet> (Debian Smail3.2.0.111)
	for panupa@iki.fi; Thu, 26 Oct 2000 21:35:58 +0200 (EET) 
Message-Id: <m13osog-001dFtC@sammakko.cavenet>
Date: Thu, 26 Oct 2000 21:35:58 +0200 (EET)
Subject: apache: Apache fails to run CGI's with symlink path
To: submit@bugs.debian.org
X-Mailer: bug 3.3.6
MIME-Version: 1.0
Content-Type: text/plain; charset=unknown-8bit
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by m2.pp.htv.fi id VAA11373
Delivered-To: submit@bugs.debian.org

Package: apache
Version: 1.3.12-2.1
Severity: normal

Suppose we have Apache setup in the following way:
-defaults from clean install
-AddHandler cgi-script .cgi   set in httpd.conf
-Options ExecCGI FollowSymlinks   set for /home/*/public_html

Now, if I have a script "my.cgi" in ~/public_html it works well.

But if I have a symlink in public_html so that
   sammakko:~/public_html$ ls -l
   total 0
   lrwxrwxrwx    1 panupa   panupa         19 loka=A0=A0 26 21:29 my.cgi =
-> ../myscripts/my.cgi


...then Apache will say "500 Internal server error" and in the error.log =
I get
   [Thu Oct 26 21:31:31 2000] [error] [client 10.0.0.1] Premature end of =
script headers: /home/panupa/public_html/my.cgi

Ordinary files work well through a symlink path but the cgis seem to have=
 problems.



-- System Information
Debian Release: woody
Kernel Version: Linux sammakko 2.4.0-test1 #5 SMP ti elo=A0=A0=A0 29 23:4=
0:28 EEST 2000 i686 unknown

Versions of the packages apache depends on:
ii  apache-common  1.3.12-2.1     Support files for all Apache webservers
ii  libc6          2.1.95-1       GNU C Library: Shared libraries and Tim=
ezone
ii  libdb2         2.7.7-2.2      The Berkeley database routines (run-tim=
e fil
ii  libgdbmg1      1.7.3-26.2     GNU dbm database routines (runtime vers=
ion).
ii  mime-support   3.9-1          MIME files 'mime.types' & 'mailcap', an=
d sup
ii  perl-5.004     5.004.05-6     Larry Wall's Practical Extracting and R=
eport
	^^^ (Provides virtual package perl5)
perl	Not installed or no info



    Panu


--=20
 Panu H=E4llfors, panupa@iki.fi  |  Internet Application Developer, Vilok=
e Oy
  http://www.iki.fi/panupa/    |             http://www.viloke.fi

---------------------------------------
Received: (at 75648-done) by bugs.debian.org; 15 Jul 2003 18:49:43 +0000
>From tfheen@yiwaz.raw.no Tue Jul 15 13:49:33 2003
Return-path: <tfheen@yiwaz.raw.no>
Received: from vawad.samfundet.no [129.241.93.49] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19cUrl-0000yM-00; Tue, 15 Jul 2003 13:49:33 -0500
Received: from yiwaz.raw.no (s135.ifi.uio.no [129.240.72.135])
	by vawad.samfundet.no (Postfix) with ESMTP id CAD371DE37
	for <75648-done@bugs.debian.org>; Tue, 15 Jul 2003 20:49:31 +0200 (CEST)
Received: by yiwaz.raw.no (Postfix, from userid 1000)
	id 596689659F; Tue, 15 Jul 2003 20:49:31 +0200 (CEST)
Sender: tfheen@yiwaz.raw.no
Original-Sender: Tollef Fog Heen <tfheen@raw.no>
X-URL: http://raw.no/
To: 75648-done@bugs.debian.org
Subject: suexec bug, fixed
Mail-Copies-To: never
From: Tollef Fog Heen <tfheen@raw.no>
Date: 15 Jul 2003 20:49:31 +0200
Message-ID: <87isq362x0.fsf@yiwaz.raw.no>
Lines: 9
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 75648-done@bugs.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0
	tests=BAYES_30,USER_AGENT_GNUS_UA
	version=2.53-bugs.debian.org_2003_06_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp)


This is a bug with using user CGIs outside of ~/public_html.  It has
been solved by making suexec optional, so closing this bug.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



Reply to: