Return-Path: Delivered-To: apmail-perl-asp-archive@www.apache.org Received: (qmail 58738 invoked from network); 23 Dec 2003 21:19:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Dec 2003 21:19:21 -0000 Received: (qmail 13990 invoked by uid 500); 23 Dec 2003 21:19:07 -0000 Delivered-To: apmail-perl-asp-archive@perl.apache.org Received: (qmail 13970 invoked by uid 500); 23 Dec 2003 21:19:07 -0000 Mailing-List: contact asp-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list asp@perl.apache.org Received: (qmail 13902 invoked from network); 23 Dec 2003 21:19:06 -0000 Received: from unknown (HELO theoryx5.uwinnipeg.ca) (142.132.1.82) by daedalus.apache.org with SMTP; 23 Dec 2003 21:19:06 -0000 Received: from theoryx5.uwinnipeg.ca (localhost.localdomain [127.0.0.1]) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8) with ESMTP id hBNLEewK026127; Tue, 23 Dec 2003 15:14:40 -0600 Received: from localhost (randy@localhost) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8/Submit) with ESMTP id hBNLEe0W026123; Tue, 23 Dec 2003 15:14:40 -0600 Date: Tue, 23 Dec 2003 15:14:40 -0600 (CST) From: Randy Kobes To: Ted Byers cc: asp@perl.apache.org Subject: RE: I see only the text of the script rather than whatever the script is supposed to produce In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 23 Dec 2003, Ted Byers wrote: > Hi Randy, > > Thanks. > > This is the perl-5.8/Apache-2 distribution. > > I will therefore change "" to: > PerlModule ModPerl::Registry > > SetHandler perl-script > PerlHandler ModPerl::Registry > Options +ExecCGI > PerlSendHeader On > allow from all > > > I had used "Apache::Registry" because that is what I saw in the > documentation, so someone probably wants to ensure that the documentation is > updated WRT this. This was probably from a mod_perl 1 document - for Apache 2, you want mod_perl 2 (http://perl.apache.org/ has separate mod_perl 1 and 2 sections, including some Win32 specific information). > The "the sample mod_perl registry, hello-world handler, > and Apache::ASP" don't work. When I try to go to them, I > get an error message saying they can't be found (though > the registy handler gives a configuration error instead). > But, I am puzzled as to why http://localhost/perl-status > works (or seems to). > > I wonder if the problem might lie in the following: > > > Include conf/perl.conf > > > I start Apache using "Apache2\bin\apache -DSSL -k start", > and I am wondering if the reason it isn't working is that > Apache isn't processing perl.conf when it is started. If > this is true, how would I change the command I use to > start Apache (or can I safely get rid of the IfModule > lines above and below it). This is probably a bit off-topic for the asp list. What I'd suggest is, starting from the original configuration files that came with the distribution, trying to start things up (which should pull in conf/perl.conf, as mod_perl is enabled by default), and then try the sample ModPerl::Registry and Apache::ASP pages. If these don't work, send me (privately) what happens for each, and also what is recorded in Apache2's logs/error.log. Thanks. -- best regards, randy --------------------------------------------------------------------- To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org For additional commands, e-mail: asp-help@perl.apache.org