From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Oh136-0002rO-Mz for garchives@archives.gentoo.org; Thu, 05 Aug 2010 14:03:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7B9CE09D1 for ; Thu, 5 Aug 2010 14:03:55 +0000 (UTC) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 08D8DE0800 for ; Thu, 5 Aug 2010 13:53:53 +0000 (UTC) Received: by qyk7 with SMTP id 7so2772690qyk.19 for ; Thu, 05 Aug 2010 06:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=ydSa/ZdkaX9JbCl0ILnAAtcSoR02WG7ciWl6KDYkH2k=; b=Mo0KZrA0WXqc6oLFAmqJvN79h9GVspIMhT4N7LivTdwNJ2dsktIrjIuKg95/65fPLL gmfU+AGSi3a0Wn4rHwXINbnYx9Z9knlkJ466vTUsOgZL6PTm6x9N//METESMDMJx0UEE JHj5JNrZX/kR0rYS3aDeI3jkit5Prz/F26JuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y2Zl+R5WTTdMpaxR6EM+blhvRd6LPjYZ2yZJITolmqlXeIENxo2ZARZmOZHYH5p+Ew FcJG8LfpBzmXE3EkU4DIUh8aOYlsY9J6d3l2c3gS0kvuN6vaNjSj2M/fSYWTmOspZJjf vBIrSRfHWuaKJGrUhU/1KcLMkWRzDEPpImLmg= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.224.96.150 with SMTP id h22mr5028695qan.173.1281016433145; Thu, 05 Aug 2010 06:53:53 -0700 (PDT) Received: by 10.229.183.74 with HTTP; Thu, 5 Aug 2010 06:53:53 -0700 (PDT) In-Reply-To: References: Date: Thu, 5 Aug 2010 06:53:53 -0700 Message-ID: Subject: Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why. From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=00c09f9c976672f929048d13e195 X-Archives-Salt: d68da47e-8075-4bc5-9264-b16129cf5f13 X-Archives-Hash: 3db77d8f39de2f87732fc40dc1766367 --00c09f9c976672f929048d13e195 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Aug 4, 2010 at 10:04 AM, Kyle Bader wrote: > >> AddHandler cgi-script cgi py > >> > > Thanks, Kyle, you've been getting me closer and closer. > > If I'm starting to "get" the new stuff, AddHandler declares certain > > extensions. Up until last month, extensions were not required, and in > fact > > my CGI programs have never had them. It used to be enough to use > > ScriptAlias, and put an executable in the directory. If it was a script > > with a shebang, or a compiled ELF program all was well. If I were going > to > > use extensions, it would be .py or possibly .python, not .cgi or .pl. > > I totally meant to have it be py instead of pl, I guess pounding away > at perl all day yesterday warped my mind. > > It can have that effect :o) As near as I can tell from the logs, my problems started during a re-emerge of apache, not a new version (reasons unknown -- portage seems to be doing that more than I'm used to). I've started to wonder if I didn't just screw up the usual config file stuff I do with dispatch-conf, not realizing zapping the new would be best. Anyway, I'm going to be exploring. Do you have cgi working on apache2 (2.2.15), and if so, how things are arranged? I'll be trying to make a cgi out of a hello world in C, to see if my current config can CGI at all. If not, I'll be trying to back out config changes. What a mess! -- Kevin O'Gorman, PhD --00c09f9c976672f929048d13e195 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Wed, Aug 4, 2010 at 10:04 AM, Kyle Bader <kyle.bader@gmail.= com> wrote:
>> AddHandler cgi-script cgi py
>>
> Thanks, Kyle, you've been getting me closer and closer.
> If I'm starting to "get" the new stuff, AddHandler decla= res certain
> extensions.=A0 Up until last month, extensions were not required, and = in fact
> my CGI programs have never had them.=A0 It used to be enough to use > ScriptAlias, and put an executable in the directory.=A0 If it was a sc= ript
> with a shebang, or a compiled ELF program all was well.=A0 If I were g= oing to
> use extensions, it would be .py or possibly .python, not .cgi or .pl.<= br>
I totally meant to have it be py instead of pl, I guess pounding away=
at perl all day yesterday warped my mind.

It can have that effect :o)

As near as I can t= ell from the logs, my problems started during a re-emerge of
apache, not= a new version (reasons unknown -- portage seems to be doing that
more t= han I'm used to). =A0 I've started to wonder if I didn't just s= crew up the usual
config file stuff I do with dispatch-conf, not realizing zapping the new wo= uld be
best.=A0 Anyway, I'm going to be exploring.

Do you hav= e cgi working on apache2 (2.2.15), and if so, how things are arranged?

I'll be trying to make a cgi out of a hello world in C, to see if m= y current config
can CGI at all.=A0 If not, I'll be trying to back o= ut config changes.=A0=A0 What a mess!


=
--
Kevin O'Gorman, PhD

--00c09f9c976672f929048d13e195--