Re: install/config mod_perl-2(1.99_08)

2002-10-06 Thread Randy Kobes

On Thu, 3 Oct 2002, Paul Simon wrote:

> If I try to call index.cgi under /test/index.cgi, the page just
> hangs. index.cgi works as a straight CGI page. Here it is:
> #!C:/Perl/bin/Perl.exe
> 
> print "Content-type: text/plain\n\n";
> print "mod_perl 2.0 rocks!\n";
[ .. ]

I just upgraded all the Win32 binaries on our site for both
mod_perl-2 and mod_perl-1, including the ppm files and the
all-in-one packages, to use the latest Apache sources (2.0.43 and
1.3.27), in light of the security concerns in older versions.  
All the mod_perl tests for the various packages passed on my
system, and in particular simple registry scripts work OK with
perl-5.6.1 and this mod_perl-2 - you may want to give this a try.
Note that the mod_perl version hasn't changed with these
upgrades, so if you install via ppm, you may have to uninstall
the current package first, or else force the install.

-- 
best regards,
randy




Re: install/config mod_perl-2(1.99_08)

2002-10-03 Thread Paul Simon
Randy Kobes <[EMAIL PROTECTED]>wrote: 

On Thu, 3 Oct 2002, Paul Simon wrote:> > Is there something in the configuration not jiving?> > Windows 2000, Apache 2.0.42, mod_perl-2(1.99_08-dev via ppm)> > In http.conf I have:> Include conf/test.conf> AddHandler cgi-script .cgi> > In test.conf I have:> PerlRequire "C:/Apache2/conf/startup.pl"> > Options +ExecCGI> SetHandler perl-script> PerlResponseHandler ModPerl::Registry> PerlOptions +ParseHeaders> > #ScriptAlias /test/ "C:/Apache2/htdocs/test/"> > startup.pl looks like:> #!C:/Perl/bin/Perl.exe> use Apache2();> use ModPerl::Registry ();> 1;> > Apache starts up. I can see mod_perl loaded in via> server-status. And when I call just the directory /test/, this> what I get in the error log:> > [error] 1932: ModPerl::Registry: C:/Apache2/htdocs/test/ not> found or unable to statThis is OK - you normally don't want a directory listingfor locations that have scripts in them.> If I try to call index.cgi under /test/index.cgi, the page just> hangs. index.cgi works as a straight CGI page. Here it is:> #!C:/Perl/bin/Perl.exe> > print "Content-type: text/plain\n\n";> print "mod_perl 2.0 rocks!\n";> > --- I'll keep trying. Hopefully, there's an easy solution> to this. Thanks.Maybe not easy :) Using perl-5.6.1, and Apache-2.0.42, I foundthe above to also hang ... However, it worked as expected usingthe perl-5.8/Apache2 binary of perl-5.8-win32-bin.tar.gz underftp://theoryx5.uwinnipeg.ca/pub/other/. As there's issues withthreads on Win32 with perl-5.6.1, eventually perl-5.8 will be therecommended Win32 Perl for mod_perl-2; if possible, you may wantto give this a try.-- best regards,randy kobes
 
Almost easy.  I have it running now with perl5.8. I'm going to pilot it... Thanks. PaulDo you Yahoo!?
New DSL Internet Access from SBC & Yahoo!

RE: install/config mod_perl-2(1.99_08)

2002-10-03 Thread Randy Kobes

On Thu, 3 Oct 2002, Ben Mathews wrote:

> You say eventually perl 5.8 will be recommended.  Why is it not the
> recommended version now?  

That's really Doug's call, but perhaps one consideration holding
back a recommendation of 5.8 on Win32 is that ActiveState won't
be making a perl-5.8 binary in the immediate future, and may wait
until a 5.8.1 is released (5.8 and 5.6 aren't binary compatable,
so this is a major step). And there are some portability things,
for example, with unicode - some modules which rely on the way
5.6.1 deals with this need changes with 5.8.

> I am developing a windows application currently and started out with
> activestate perl 5.6.1, apache 2, and mod_perl 1.99.  I ran into a lot
> of problems and blamed them on mod_perl because it is still rather new.
> Things have progressed smoothly enough using apache versions 1.x and
> mod_perl 1.x
> 
> I didn't think of trying perl 5.8, but would be glad to if that is going
> to help things.  I would like the capabilities that Apache and mod_perl
> 2.x give.
> 
> Ben

I've found that using 5.8 often is more "stable" than 5.6.1,
as far as mod_perl-2 goes - it's definitely worth trying out
for development.

-- 
best regards,
randy




RE: install/config mod_perl-2(1.99_08)

2002-10-03 Thread Ben Mathews

You say eventually perl 5.8 will be recommended.  Why is it not the
recommended version now?  

I am developing a windows application currently and started out with
activestate perl 5.6.1, apache 2, and mod_perl 1.99.  I ran into a lot
of problems and blamed them on mod_perl because it is still rather new.
Things have progressed smoothly enough using apache versions 1.x and
mod_perl 1.x

I didn't think of trying perl 5.8, but would be glad to if that is going
to help things.  I would like the capabilities that Apache and mod_perl
2.x give.

Ben


-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 03, 2002 8:30 AM
To: Paul Simon
Cc: [EMAIL PROTECTED]
Subject: Re: install/config mod_perl-2(1.99_08)

Maybe not easy :) Using perl-5.6.1, and Apache-2.0.42, I found
the above to also hang ... However, it worked as expected using
the perl-5.8/Apache2 binary of perl-5.8-win32-bin.tar.gz under
ftp://theoryx5.uwinnipeg.ca/pub/other/. As there's issues with
threads on Win32 with perl-5.6.1, eventually perl-5.8 will be the
recommended Win32 Perl for mod_perl-2; if possible, you may want
to give this a try.

-- 
best regards,
randy kobes





Re: install/config mod_perl-2(1.99_08)

2002-10-03 Thread Randy Kobes

On Thu, 3 Oct 2002, Paul Simon wrote:

> 
> Is there something in the configuration not jiving?
> 
> Windows 2000, Apache 2.0.42, mod_perl-2(1.99_08-dev via ppm)
> 
> In http.conf I have:
> Include conf/test.conf
> AddHandler cgi-script .cgi
> 
> In test.conf I have:
> PerlRequire "C:/Apache2/conf/startup.pl"
> 
>  Options +ExecCGI
>  SetHandler perl-script
>  PerlResponseHandler ModPerl::Registry
>  PerlOptions +ParseHeaders
> 
> #ScriptAlias /test/ "C:/Apache2/htdocs/test/"
> 
> startup.pl looks like:
> #!C:/Perl/bin/Perl.exe
> use Apache2();
> use ModPerl::Registry ();
> 1;
> 
> Apache starts up. I can see mod_perl loaded in via
> server-status.  And when I call just the directory /test/, this
> what I get in the error log:
> 
> [error] 1932: ModPerl::Registry: C:/Apache2/htdocs/test/ not
> found or unable to stat

This is OK - you normally don't want a directory listing
for locations that have scripts in them.

> If I try to call index.cgi under /test/index.cgi, the page just
> hangs. index.cgi works as a straight CGI page. Here it is:
> #!C:/Perl/bin/Perl.exe
> 
>   print "Content-type: text/plain\n\n";
>   print "mod_perl 2.0 rocks!\n";
> 
> --- I'll keep trying.  Hopefully, there's an easy solution
> to this. Thanks.

Maybe not easy :) Using perl-5.6.1, and Apache-2.0.42, I found
the above to also hang ... However, it worked as expected using
the perl-5.8/Apache2 binary of perl-5.8-win32-bin.tar.gz under
ftp://theoryx5.uwinnipeg.ca/pub/other/. As there's issues with
threads on Win32 with perl-5.6.1, eventually perl-5.8 will be the
recommended Win32 Perl for mod_perl-2; if possible, you may want
to give this a try.

-- 
best regards,
randy kobes