Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 26033 invoked from network); 6 Apr 2006 11:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2006 11:34:05 -0000 Received: (qmail 88856 invoked by uid 500); 6 Apr 2006 11:33:56 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 88720 invoked by uid 500); 6 Apr 2006 11:33:55 -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 88652 invoked by uid 99); 6 Apr 2006 11:33:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 04:33:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [195.228.194.36] (HELO SRVEXCHANGE.axis.hu) (195.228.194.36) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 04:33:53 -0700 Received: from [192.168.1.90] ([192.168.1.90]) by SRVEXCHANGE.axis.hu with Microsoft SMTPSVC(6.0.3790.0); Thu, 6 Apr 2006 13:32:01 +0200 Message-ID: <4434FC31.7090907@axis.hu> Date: Thu, 06 Apr 2006 13:32:01 +0200 From: =?ISO-8859-2?Q?Graf_L=E1szl=F3?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: modperl@perl.apache.org Subject: mod_perl 2.0 - redirect Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Apr 2006 11:32:01.0940 (UTC) FILETIME=[B928BD40:01C6596D] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I made a mod_perl 2.0 module that connects to an IMAP server, retrieves the undeleted mails and generates HTML output. OK, it works fine. When I access 'http://localhost/wimap', the module generates the content and displays it. But what if I want to write the output into a file in the Apache2's document root? Let's name the output file index.html. Now, if I access 'http://localhost/wimap/index.html', all my log messages are written 11 times and it complains that the request exceeded the limit of 10 internal redirects. " Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace." My httpd.conf contains these lines: LoadModule perl_module modules/mod_perl.so PerlRequire /usr/local/apache2/conf/mod_perl/imap_start.pl SetHandler perl-script PerlResponseHandler Wimap::Wimap Thank you, -- Graf L�szl�