Re: duplicate output with Registry.pm
Hi, I will try that out. It was something like that, it even rings a bell a bit. Thanks! I will let you know. Eric At 03:51 PM 7/16/02 +0200, Eric Cholet wrote: >--On Tuesday, July 16, 2002 06:44:10 -0400 Eric Frazier <[EMAIL PROTECTED]> >wrote: > >> Hi, >> >> It happens with the printenv script also. Again, I did this to myself >> before, but I can't remember how I fixed it. It was something very >> simple. >> >> Thanks, > >Seems like will happily match urls such as /perlrun. >Maybe you want to add trailing slashes to your Location and Alias >directives. > > >> Eric >> >> My http.conf perl stuff >> = >> >> # mod_perl config >> >> PerlRequire /usr/local/apache/conf/Start.pl >> PerlFreshRestart On >> PerlInitHandler Apache::StatINC >> PerlSetVar StatINC_UndefOnReload On >> Alias /perl /usr/local/apache/perl >> >> PerlWarn On >> >> PerlModule Apache::Registry >> >>PerlHandler Apache::Registry::handler >> SetHandler perl-script >> PerlHandler Apache::Registry >> PerlSendHeader On >> Options +ExecCGI >> >> >> Alias /perlrun /usr/local/apache/PerlRun >> >> >> >> SetHandler perl-script >> PerlHandler Apache::PerlRun >> PerlSendHeader On >> Options +ExecCGI >> >> >> >> http://www.kwinternet.com/eric >> (250) 655 - 9513 (PST Time Zone) >> >> "Inquiry is fatal to certainty." -- Will Durant >> >> >> > > > >-- >Eric Cholet > http://www.kwinternet.com/eric (250) 655 - 9513 (PST Time Zone) "Inquiry is fatal to certainty." -- Will Durant
Re: duplicate output with Registry.pm
--On Tuesday, July 16, 2002 06:44:10 -0400 Eric Frazier <[EMAIL PROTECTED]> wrote: > Hi, > > It happens with the printenv script also. Again, I did this to myself > before, but I can't remember how I fixed it. It was something very > simple. > > Thanks, Seems like will happily match urls such as /perlrun. Maybe you want to add trailing slashes to your Location and Alias directives. > Eric > > My http.conf perl stuff > = > > # mod_perl config > > PerlRequire /usr/local/apache/conf/Start.pl > PerlFreshRestart On > PerlInitHandler Apache::StatINC > PerlSetVar StatINC_UndefOnReload On > Alias /perl /usr/local/apache/perl > > PerlWarn On > > PerlModule Apache::Registry > >PerlHandler Apache::Registry::handler > SetHandler perl-script > PerlHandler Apache::Registry > PerlSendHeader On > Options +ExecCGI > > > Alias /perlrun /usr/local/apache/PerlRun > > > > SetHandler perl-script > PerlHandler Apache::PerlRun > PerlSendHeader On > Options +ExecCGI > > > > http://www.kwinternet.com/eric > (250) 655 - 9513 (PST Time Zone) > > "Inquiry is fatal to certainty." -- Will Durant > > > -- Eric Cholet
Re: duplicate output with Registry.pm
Hi, It happens with the printenv script also. Again, I did this to myself before, but I can't remember how I fixed it. It was something very simple. Thanks, Eric My http.conf perl stuff = # mod_perl config PerlRequire /usr/local/apache/conf/Start.pl PerlFreshRestart On PerlInitHandler Apache::StatINC PerlSetVar StatINC_UndefOnReload On Alias /perl /usr/local/apache/perl PerlWarn On PerlModule Apache::Registry PerlHandler Apache::Registry::handler SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader On Options +ExecCGI Alias /perlrun /usr/local/apache/PerlRun SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On Options +ExecCGI http://www.kwinternet.com/eric (250) 655 - 9513 (PST Time Zone) "Inquiry is fatal to certainty." -- Will Durant
Re: duplicate output with Registry.pm
Eric Frazier wrote: > Hi, > > I know this is a FAQ sort of question, but I can't find it in the faq > and I am going nuts. Like I know I know the answer to this, but I just > can't get it back in my head. Any output under Registry.pm gets > duplicated. One page = two doubled pages. I am using CGI::Application > and HTML::Template, but I believe this is a mod_perl problem since it > doesn't happen when I use the same scripts in a regular cgi-bin. > > Also if someone knows where I can find this on the web I would be > grateful. I just can't seem to get the keywords right today. Looks like an application logic bug. Can you strip the extra elements (HTML::Template, etc), create a *short* script that reproduces the problem and post it to the list? __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
duplicate output with Registry.pm
Hi, I know this is a FAQ sort of question, but I can't find it in the faq and I am going nuts. Like I know I know the answer to this, but I just can't get it back in my head. Any output under Registry.pm gets duplicated. One page = two doubled pages. I am using CGI::Application and HTML::Template, but I believe this is a mod_perl problem since it doesn't happen when I use the same scripts in a regular cgi-bin. Also if someone knows where I can find this on the web I would be grateful. I just can't seem to get the keywords right today. Thanks, Eric