Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 48849 invoked from network); 23 May 2005 17:54:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 17:54:55 -0000 Received: (qmail 87941 invoked by uid 500); 23 May 2005 17:54:47 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 87921 invoked by uid 500); 23 May 2005 17:54:47 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 87907 invoked by uid 99); 23 May 2005 17:54:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from theoryx5.uwinnipeg.ca (HELO theoryx5.uwinnipeg.ca) (142.132.65.108) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 23 May 2005 10:54:46 -0700 Received: from theoryx5.uwinnipeg.ca (localhost.localdomain [127.0.0.1]) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8) with ESMTP id j4NHnwH3029431; Mon, 23 May 2005 12:49:58 -0500 Received: from localhost (randy@localhost) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8/Submit) with ESMTP id j4NHnwlE029427; Mon, 23 May 2005 12:49:58 -0500 Date: Mon, 23 May 2005 12:49:58 -0500 (CDT) From: Randy Kobes To: Robert cc: modperl@perl.apache.org Subject: Re: mos_perl2 on Windows In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mon, 23 May 2005, Robert wrote: > I just installed it via PPM (for ActiveStates 5.8.6.811). > I had my site working under Apache1/CGI without problem. > > I upgraded to Apache2/mod_perl and I configured my site conf like so (per > the docs): > > alias /reports "C:\path\to\reports" > > PerlModule ModPerl::PerlRun > > > SetHandler perl-script > PerlResponseHandler ModPerl::PerlRun > PerlOptions +ParseHeaders > Options +ExecCGI > > > My httpd.conf looks like: > > # > # MOD_PERL 2.0 > # > LoadFile "C:/Perl/bin/perl58.dll" > LoadModule perl_module modules/mod_perl.so > #PerlRequire "C:/Apache2/conf/extra.pl" <--- this errors out on APR.DLL > even though it is there...Apache won't start unless I comment this out > > Apache starts without errors but I get the following error when trying to > server up the page: > > [Mon May 23 11:46:57 2005] [error] [client 10.149.82.49] Attempt to serve > directory: C:/path/to/reports/ I take it this is for a request of http://localhost/reports You probably do want Apache to refuse; for security reasons, you wouldn't want a user to get a listing of scripts in such a directory. Do requests for http://localhost/reports/some_script_that_does_exist succeed? -- best regards, randy kobes