Return-Path: Delivered-To: apmail-perl-asp-archive@www.apache.org Received: (qmail 8154 invoked from network); 21 Jan 2007 13:25:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2007 13:25:05 -0000 Received: (qmail 2766 invoked by uid 500); 21 Jan 2007 13:25:11 -0000 Delivered-To: apmail-perl-asp-archive@perl.apache.org Received: (qmail 2748 invoked by uid 500); 21 Jan 2007 13:25:11 -0000 Mailing-List: contact asp-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list asp@perl.apache.org Received: (qmail 2735 invoked by uid 99); 21 Jan 2007 13:25:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jan 2007 05:25:11 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hellsong@hotmail.fr designates 65.54.246.83 as permitted sender) Received: from [65.54.246.83] (HELO bay0-omc1-s11.bay0.hotmail.com) (65.54.246.83) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jan 2007 05:25:00 -0800 Received: from hotmail.com ([65.55.130.108]) by bay0-omc1-s11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sun, 21 Jan 2007 05:24:39 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 21 Jan 2007 05:24:39 -0800 Message-ID: Received: from 65.55.130.123 by by125fd.bay125.hotmail.msn.com with HTTP; Sun, 21 Jan 2007 13:24:36 GMT X-Originating-IP: [90.0.246.222] X-Originating-Email: [hellsong@hotmail.fr] X-Sender: hellsong@hotmail.fr From: "SPiRiT_oF_HeLLSoNG serveur" To: hz@hzlabs.de Cc: asp@perl.apache.org Subject: Re: Can't call method "item" --> ASP.pm line 1521 Date: Sun, 21 Jan 2007 13:24:36 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 21 Jan 2007 13:24:39.0478 (UTC) FILETIME=[80C2B560:01C73D5F] X-Virus-Checked: Checked by ClamAV on apache.org Hello, here the output (no error at least): COMSPEC DOCUMENT_ROOT GATEWAY_INTERFACE HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING HTTP_ACCEPT_LANGUAGE HTTP_CACHE_CONTROL HTTP_CONNECTION HTTP_COOKIE HTTP_HOST HTTP_KEEP_ALIVE HTTP_USER_AGENT MOD_PERL MOD_PERL_API_VERSION PATH PATHEXT QUERY_STRING REMOTE_ADDR REMOTE_PORT REQUEST_METHOD REQUEST_URI SCRIPT_FILENAME SCRIPT_NAME SERVER_ADDR SERVER_ADMIN SERVER_NAME SERVER_PORT SERVER_PROTOCOL SERVER_SIGNATURE SERVER_SOFTWARE SystemRoot TEMP WINDIR From: Helmut Zeilinger To: SPiRiT_oF_HeLLSoNG serveur CC: asp@perl.apache.org Subject: Re: Can't call method "item" --> ASP.pm line 1521 Date: Sat, 20 Jan 2007 20:27:24 +0100 >Hi Spirit, > >could you test this script below: > >... ><% >my $variables = $Request->{'ServerVariables'}; >print join '
', sort keys %$variables; >%> >... > >What is the output, if any (error messages)? > >Helmut > > >SPiRiT_oF_HeLLSoNG serveur schrieb: >>Hello, >> >>I don't have any 'PATH_INFO' nor 'PATH_TRANSLATED' in my httpd.conf file, >>I've added PerlOptions +SetupEnv but the error is the same, >> >>>What about other Server Variables like >>> >>>eg. QUERY_STRING, REQUEST_URI? >>> >>>Do they exist / work? >> >>nope, i don't have any of them. >> >> >>Romain. >> >>>From: Helmut Zeilinger >>>To: SPiRiT_oF_HeLLSoNG serveur , Apache-ASP >>> >>>Subject: Re: Can't call method "item" --> ASP.pm line 1521 >>>Date: Thu, 18 Jan 2007 09:04:36 +0100 >>> >>>Hi Spirit, >>> >>>it is most likely because there exist no Server Variables >>> >>>'PATH_INFO' and >>>'PATH_TRANSLATED' >>> >>>at least on my linux system. >>> >>>But may be on windows they should exist, >>>which i can't test now for some reason..? >>> >>>Did you try to add >>> >>>PerlOptions +SetupEnv >>> >>>in your http / vhost-conf? >>> >>>What about other Server Variables like >>> >>>eg. QUERY_STRING, REQUEST_URI? >>> >>>Do they exist / work? >>> >>> >>>Helmut >>> >>> >>> >>> >>>SPiRiT_oF_HeLLSoNG serveur schrieb: >>>>Hi and thaanks for your answer. >>>>Here my httpd.conf: >>>> >>>>PerlRequire C:/startup.pl >>>>PerlModule Apache::ASP >>>> >>>>SetHandler perl-script >>>>PerlHandler Apache::ASP >>>>PerlSetVar Global . >>>>PerlSetVar StateDir C:/tmp/asp >>>> >>>>----------------------- >>>>inside C:/startup.pl: >>>> >>>>#!/usr/bin/perl >>>> >>>>use Apache2::compat; >>>>1; >>>>----------------------- >>>>the hello.asp file is some sample from the sample library installed with >>>>apache-asp >>>> >>>><%@ LANGUAGE = PerlScript %> >>>> >>>> >>>> >>>> Hello World >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>
>>>>>>>ALT="ActiveState PerlScript" BORDER=0>

>>>>

>>>> >>>><% >>>>for ($i = 3; $i < 8; $i++) { >>>>%> >>>>> >>>>"Hello World!" >>>> >>>>
>>>><% >>>>} >>>>%> >>>> >>>>
>>>><% >>>>$url = $Request->ServerVariables('PATH_INFO')->item; >>>>$_ = $Request->ServerVariables('PATH_TRANSLATED')->item; >>>>s/[\/\\](\w*\.asp\Z)//m; >>>>$params = 'filename='."$1".'&URL='."$url"; >>>>$params =~ s#([^a-zA-Z0-9&_.:%/-\\]{1})#uc '%' . unpack('H2', $1)#eg; >>>>%> >>>> Return >>>> >>>>

view the source

>>>> >>>> >>>> >>>> >>>>----------------------- >>>> >>>>>From: Helmut Zeilinger >>>>>To: SPiRiT_oF_HeLLSoNG serveur >>>>>Subject: Re: Can't call method "item" --> ASP.pm line 1521 >>>>>Date: Mon, 15 Jan 2007 16:41:44 +0100 >>>>> >>>>>Hi Spirit, >>>>> >>>>>could you supply your httpd config (the relevant section only!) >>>>>and the content of your hello.asp? >>>>> >>>>>Helmut >>>>> >>>>>SPiRiT_oF_HeLLSoNG serveur schrieb: >>>>>>Hello ASP community, >>>>>> >>>>>>Here my problem: >>>>>>I run a little server with Apache/2.0.53 (Win32) mod_perl/2.0.3 >>>>>>Perl/v5.8.8 >>>>>>and i have recently installed Apache::ASP but, none of the samples >>>>>>work. >>>>>>They just give me an error 500 and my log show this error: >>>>>>[Thu Jan 11 17:57:15 2007] [error] [asp] [4996] [error] Can't call >>>>>>method >>>>>>"item" on an undefined value at C:/webapache/asp/hello.asp line 38. >>>>>><--> , >>>>>>C:/usr/site/lib/Apache/ASP.pm line 1521 >>>>>> >>>>>>Any idea? >>>>>> >>>>>>_________________________________________________________________ >>>>>>Windows Live Messenger sur i-mode� : dialoguez avec vos amis depuis >>>>>>votre mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/ >>>>>> >>>>>> >>>>>>--------------------------------------------------------------------- >>>>>>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org >>>>>>For additional commands, e-mail: asp-help@perl.apache.org >>>>>> >>>>> >>>>> >>>> >>>>_________________________________________________________________ >>>>Ten : Messenger en illimit� sur votre mobile ! >>>>http://mobile.live.fr/messenger/ten/ >>>> >>> >>> >>>-- >>>HZ.labs >>>Dr. Helmut Zeilinger >>>Wiesengrund 2 >>>D-86 684 Holzheim >>>Tel. 08276 58767 >>>Fax. 08276 58787 >>>Mobil 0160 91 55 61 68 Internet http://www.hzlabs.de >>>Mail hz@hzlabs.de >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org >>>For additional commands, e-mail: asp-help@perl.apache.org >>> >> >>_________________________________________________________________ >>Gagnez des pc Windows Vista avec Live.com http://www.image-addict.fr/ >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org >>For additional commands, e-mail: asp-help@perl.apache.org >> > > >-- >HZ.labs >Dr. Helmut Zeilinger >Wiesengrund 2 >D-86 684 Holzheim >Tel. 08276 58767 >Fax. 08276 58787 >Mobil 0160 91 55 61 68 Internet http://www.hzlabs.de >Mail hz@hzlabs.de > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org >For additional commands, e-mail: asp-help@perl.apache.org > _________________________________________________________________ Windows Live Spaces : cr�ez votre blog � votre image ! http://www.windowslive.fr/spaces --------------------------------------------------------------------- To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org For additional commands, e-mail: asp-help@perl.apache.org