Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH


Right.  Except there is no 2.2.5; 
2.2.5 is not released on the Apache web site. Those who want this 
version can get it at ApacheLounge.



Of course 2.2.4 essentially worked, while 2.2.7 will give the modperl'ers
on Windows something they have BEGGED for forever, the chance to see parsing
errors at startup from their httpd.conf file(!!!)
  

Yes! It's been egging me for the longest blistering time!




Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Foo JH wrote:
> 
>> Right.  Except there is no 2.2.5; 
> 2.2.5 is not released on the Apache web site. Those who want this
> version can get it at ApacheLounge.

They can get it from SVN too, that doesn't mean it's an ASF version.

The ASF specifically rejected it, which makes it's persistence a pretty
sorry state of affairs for the hoster :)

Bill


Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita

Regarding the best Apache for Windows, I have a problem running Apache under
windows and I think this thread might help me.

I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from
apachelounge, but they still don't work.

I read that Apache 2.2.6 from apachelounge should work with mod_perl. Isn't
this true?

They all install correctly, and I can even start the server with the default
httpd.conf. It gave an error just a single time with the default httpd.conf.

If I install mod_perl, the percentage of the times when Apache doesn't want
to start and give errors is much bigger, but still most of the times it
starts and works.

If I install Catalyst and use a certain Catalyst app (that doesn't have
errors), Apache can start very rarely.

When I try to start the server, it appears an error message "Visual Studio
just in time debugger" that doesn't give any helpful information. Most of
the times in the error log is not printed absolutely anything, and sometimes
it prints that the main thread couldn't start the child thread and that the
thread was closed, or sometimes it prints that the main thread received a
kill signal and that it closes.

I had VS6 and VS.net 2005 installed, but I've uninstalled them both. I have 
no program that starts with "Microsoft" in the Add-Remove programs list, but 
that Visual Studio just in time debugger appears.


Do you have any idea what could have happened? I think it should be a
problem of Apache for Windows, or a Windows issue, or a hardware issue, but 
I don't know how to

test it.

Thank you for any idea.

Octavian

- Original Message - 
From: "Foo JH" <[EMAIL PROTECTED]>

To: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, October 03, 2007 10:13 AM
Subject: Re: Best version of Apache for Win32 deployment





Right.  Except there is no 2.2.5;

2.2.5 is not released on the Apache web site. Those who want this version
can get it at ApacheLounge.


Of course 2.2.4 essentially worked, while 2.2.7 will give the modperl'ers
on Windows something they have BEGGED for forever, the chance to see
parsing
errors at startup from their httpd.conf file(!!!)


Yes! It's been egging me for the longest blistering time!






Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Octavian Rasnita wrote:
> 
> I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from
> apachelounge, but they still don't work.

Simply put; Apache 2.2.4 did work.

The one-off build at AL of 2.2.6 isn't 2.2.6; 2.2.5 represents an aborted
attempted at a release, none of the above represents what will be in 2.2.7
for you to move forward.  In light of this;

You are best off, needing this today, to see the earlier posts on this
list of which combinations of binaries for 2.2.4 were known to work.

Bill


Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH

Octavian Rasnita wrote:
Regarding the best Apache for Windows, I have a problem running Apache 
under

windows and I think this thread might help me.

I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from
apachelounge, but they still don't work.
I'm using 2.2.4 now on Win32, and it's running good for me. Much much 
better than the 2.x.x series from the Apache site. Works on XP and W2k3.


A point to note though is that you should not use the modperl 
compilation from AL. Use the standard-issue one from theoryx5. Install 
libapreq2 from theoryx5 also.


Apache 2.2.6 is not recommended for Win32 iirc. Don't touch it.

Of course, your problems may be compounded (but I'm not sure) by the 
other components you are using (Catalyst)? For me, I'm just living off 
HTML::Template, DBI, and some other libraries. You may want to be more 
explicit on the errors you're encountering, and at which points did the 
install break.


Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Foo JH wrote:
> Octavian Rasnita wrote:
>> Regarding the best Apache for Windows, I have a problem running Apache
>> under
>> windows and I think this thread might help me.
>>
>> I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from
>> apachelounge, but they still don't work.
> I'm using 2.2.4 now on Win32, and it's running good for me. Much much
> better than the 2.x.x series from the Apache site. Works on XP and W2k3.
> 
> A point to note though is that you should not use the modperl
> compilation from AL. Use the standard-issue one from theoryx5. Install
> libapreq2 from theoryx5 also.

EXACTLY.

Because you used theoryx5's perl/modperl/libapreq2 built for VC8, along with
the AL build of 2.2.4 ALSO built for VC8, everything is dandy.

Equally if you used ActiveState perl (built VC6) + a VC6 build of modperl and
libapreq2 with the ASF distribution of httpd 2.2.4, everything is dandy.

Mix and match at your own risk.


Header info

2007-10-03 Thread wardloockx

Hey,

I've written a basic authentication,authorization handler based on ldap
groups. Now the problem is that I need the found ldap groups in my PHP
applications. I've try'd adding the groups to the header but it failed. Here
is what goes wrong.

I Created the following .htaccess
AuthName "Besite LDAP Authentication"
AuthType Basic
require valid-user
PerlSetVar application ilsa
PerlAuthenHandler Apache::Ldap::ldap_auth
PerlAuthzHandler Apache::Ldap::ldap_authz
SetHandler modperl
PerlResponseHandler Apache::Ldap::ldap_response

I try'd to sent some basic message using headers in the responseHandler. But
I constantly see a blank page. Here is my responseHandler.

 package Apache::Ldap::ldap_response;
  use strict;
  use warnings;
  use Apache2::URI();
  use Apache2::Access;
  use Apache2::RequestRec();
  use Apache2::RequestUtil;
  use Apache2::Log;
  use Apache2::RequestIO;
  use Apache2::Const -compile => qw(OK);

  sub handler
  {
my $r = shift;
$r->log_error("Begin Response Handler");
$r->content_type('text/html');
$r->headers_out->set(usergroup => "ADMIN");
$r->rflush;
$r->log_error("Headers sent");
return Apache2::Const::OK;
}
1;

But the only things I see is a blank page. and not my PHP page with the
header info. but when I don't use the handler I can see the page with the
header info but without the extra usergoup field. Can somebody help? Is
there another way to get this info in my PHP application?

Thanks,
Ward
-- 
View this message in context: 
http://www.nabble.com/Header-info-tf4561339.html#a13017407
Sent from the mod_perl - General mailing list archive at Nabble.com.



Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Randy Kobes

On Wed, 3 Oct 2007, William A. Rowe, Jr. wrote:


Foo JH wrote:

Octavian Rasnita wrote:

Regarding the best Apache for Windows, I have a problem running Apache
under
windows and I think this thread might help me.

I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from
apachelounge, but they still don't work.

I'm using 2.2.4 now on Win32, and it's running good for me. Much much
better than the 2.x.x series from the Apache site. Works on XP and W2k3.

A point to note though is that you should not use the modperl
compilation from AL. Use the standard-issue one from theoryx5. Install
libapreq2 from theoryx5 also.


EXACTLY.

Because you used theoryx5's perl/modperl/libapreq2 built for VC8, along with
the AL build of 2.2.4 ALSO built for VC8, everything is dandy.

Equally if you used ActiveState perl (built VC6) + a VC6 build of modperl and
libapreq2 with the ASF distribution of httpd 2.2.4, everything is dandy.

Mix and match at your own risk.


Actually, I use VC6 to build all the ppm packages in our
theoryx5 repository, including mod_perl and libapreq2, so
as to be compatible with ActivePerl (also built with VC6).
But your point of mixing and matching at your own risk
is well-taken - the fact that the VC6 mod_perl package
appears to work with the AL build of Apache built with
VC8 may just mean that the testing done hasn't yet
encountered the problems that could in principle be
there; see, for example,
 http://search.cpan.org/src/SHAY/Win32-SharedFileOpen-3.36/INSTALL
for an instance that is known to illustrate the problem.

I haven't looked into this, but the fact that AL's
mod_perl (compiled, presumably, with VC8) doesn't
work with, again presumably, ActivePerl (compiled
with VC6) may be another example of the dangers
of mixing components compiled with VC6 and VC8.

--
best regards,
Randy


Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita

Here it is what it happened:

I've installed:
Apache/2.2.4 (Win32), Server built:   Jan  9 2007 23:17:20
perl, v5.8.8 built for MSWin32-x86-multi-thread built 822
latest mod_perl from TheoryX

After installing them, I started the web server and it worked fine and I 
could access the success page.

I have tried stopping and starting it for more times with success.

Then I've created a default Catalyst app named "Testing", using:

catalyst Testing

I was able to access the "Testing" application using its internal web 
server, so it is working.


Then I've created a virtual host for calling that Catalyst application. Here 
is the content of that virtualhost:



ServerName www.brk.ro
ServerAdmin [EMAIL PROTECTED]
DocumentRoot e:/web/Testare/root

ErrorLog e:/web/Testare/logs/error.txt
CustomLog e:/web/Testare/logs/access.txt common


PerlRequire "e:/web/Testare/script/preload.pl"


Options Indexes
Order allow,deny
Allow from all

SetHandler perl-script
PerlResponseHandler Testare




Of course, I created the directory "logs" under the "Testing" app directory, 
and I also created the program preload.pl that just "use" the "Testing" 
module.


And I tried starting the server, but it appeared an error window "Visual 
Studio just in time debugger" and it also printed the following errors in 
the command prompt:


net start apache2

The Apache2 service is starting.
The Apache2 service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.

In the error log it appeared the following errors:
...
[Wed Oct 03 20:19:38 2007] [notice] Child 3008: Starting 250 worker threads.
[Wed Oct 03 20:19:38 2007] [notice] Child 3008: Starting thread to listen on 
port 80.
[Wed Oct 03 20:19:59 2007] [notice] Parent: Received shutdown signal --  
Shutting down the server.
[Wed Oct 03 20:19:59 2007] [notice] Child 3008: Exit event signaled. Child 
process is ending.

[Wed Oct 03 20:20:00 2007] [notice] Child 3008: Released the start mutex
[Wed Oct 03 20:20:01 2007] [notice] Child 3008: Waiting for 250 worker 
threads to exit.
[Wed Oct 03 20:20:01 2007] [notice] Child 3008: All worker threads have 
exited.

[Wed Oct 03 20:20:01 2007] [notice] Child 3008: Child process is exiting

In order to be sure, I've repeated and I tried starting again the server for 
a few times.
2 times, the web server started with that Catalyst app, and I was able to 
use it.
The rest of the times it shown those errors. I didn't change absolutely 
anything between those trials, but I just tried stopping and restarting the 
server.


However it is strange that sometimes it works and sometimes it doesn't.

Thank you.

Octavian

- Original Message - 
From: "Randy Kobes" <[EMAIL PROTECTED]>

To: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Cc: "Foo JH" <[EMAIL PROTECTED]>; "Octavian Rasnita" 
<[EMAIL PROTECTED]>; 

Sent: Wednesday, October 03, 2007 7:26 PM
Subject: Re: Best version of Apache for Win32 deployment



On Wed, 3 Oct 2007, William A. Rowe, Jr. wrote:


Foo JH wrote:

Octavian Rasnita wrote:

Regarding the best Apache for Windows, I have a problem running Apache
under
windows and I think this thread might help me.

I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 
from

apachelounge, but they still don't work.

I'm using 2.2.4 now on Win32, and it's running good for me. Much much
better than the 2.x.x series from the Apache site. Works on XP and W2k3.

A point to note though is that you should not use the modperl
compilation from AL. Use the standard-issue one from theoryx5. Install
libapreq2 from theoryx5 also.


EXACTLY.

Because you used theoryx5's perl/modperl/libapreq2 built for VC8, along 
with

the AL build of 2.2.4 ALSO built for VC8, everything is dandy.

Equally if you used ActiveState perl (built VC6) + a VC6 build of modperl 
and

libapreq2 with the ASF distribution of httpd 2.2.4, everything is dandy.

Mix and match at your own risk.


Actually, I use VC6 to build all the ppm packages in our
theoryx5 repository, including mod_perl and libapreq2, so
as to be compatible with ActivePerl (also built with VC6).
But your point of mixing and matching at your own risk
is well-taken - the fact that the VC6 mod_perl package
appears to work with the AL build of Apache built with
VC8 may just mean that the testing done hasn't yet
encountered the problems that could in principle be
there; see, for example,
 http://search.cpan.org/src/SHAY/Win32-SharedFileOpen-3.36/INSTALL
for an instance that is known to illustrate the problem.

I haven't looked into this, but the fact that AL's
mod_perl (compiled, presumably, with VC8) doesn't
work with, again presumably, ActivePerl (compiled
with VC6) may be another example of the dangers
of mixing components compiled with VC6 and VC8.

--
best regards,
Randy 




Re: mod_perl success stories on ZDNet

2007-10-03 Thread Boysenberry Payne
If I have my own success story how would I go about adding it to the  
list?


-bop

On Oct 1, 2007, at 8:39 AM, Perrin Harkins wrote:


On 10/1/07, Carl Johnstone <[EMAIL PROTECTED]> wrote:

Is it me, or does that just link through to here:

http://www.oreillynet.com/digitalmedia/blog/2002/05/ 
perl_success_story_termiumplus.html


which doesn't require registration?


Yes.  Like I said, it's just content brought over from O'Reilly.  It's
not a new story.  We already have it on our success stories page.

- Perrin




Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Octavian Rasnita wrote:
> 
> And I tried starting the server, but it appeared an error window "Visual
> Studio just in time debugger" and it also printed the following errors
> in the command prompt:

That's a crash.  Studio will give you all the info but it's harder to
navigate, for some information on obtaining the dr watson backtrace see
http://httpd.apache.org/dev/debugging.html

Note you probably want to unpack

http://archive.apache.org/dist/httpd/binaries/win32/symbols/apache_2.2.4-win32-x86-no_ssl-symbols.zip
(or
http://archive.apache.org/dist/httpd/binaries/win32/symbols/apache_2.2.4-win32-x86-openssl-0.9.8d-symbols.zip
if you had installed the ssl version)

directly into your apache 2.2 tree.  I don't know of availability of the
ActiveState symbols, nor TheoryX's, but if they exist it will make reading
that backtrace sooo much clearer.

Bill


$|=1 not responding

2007-10-03 Thread FreiZz

Hi,

  I've been looking around all over for an answer, no luck yet.  
Maybe people from this list can help me.


I upgraded my server from an old distro(apache 1.3+mod_perl 1.x) to a  
centos5(apache 2.2 + mod_perl 2.x). It seems that $|=1; is not doing  
what it should do.


The code :


#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "---($¦)";
local $¦=1;
print "---($¦)";
print "12...";
sleep 5;
print "34...";
print "---($¦)";

The output :
---(0)---(1)12...34...---(1)

I should be getting :
---(0)---(1)12...34...---(1)

Server :
- CentOS release 5 (Final)
- mod_perl-2.0.2-6.3.el5
- httpd-2.2.3-7.el5.centos
Conf:

SetHandler perl-script
PerlResponseHandler ModPerl::RegistryPrefork
Options +ExecCGI
PerlOptions +ParseHeaders
Options FollowSymLinks ExecCGI




Any hints ?

Thanx in advance.

FreiZz

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita
Ok, but the strange thing is that the error appears even though I've 
uninstalled both VS6 and VS.net 2005.


A few days ago I had VS6 and VS.net installed, and that error provided some 
debug information (that I couldn't understand). So I went in VS.net and I 
set it to not show the debug info because I thought that that window might 
not appear anymore.


After that moment, the "Just in time debugger" error window use to appear 
but with a different message, telling that:


"""
Visual Studio Just-In-Time Debugger
An unhandled win32 exception occurred in httpd.exe [2996]. Just-In-Time 
debugging this exception failed with the following error: No installed
debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time 
debugging

can be enabled from Tools/Options/Debugging/Just-In-Time.
Check the documentation index for 'Just-in-time debugging, errors' for more 
information.

OK
"""

Well, I've uninstalled VS6 and VS.net, but this message still appears, so I 
have no where to go in Tools/Options/...


Octavian

- Original Message - 
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>

To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc: "Randy Kobes" <[EMAIL PROTECTED]>; "Foo JH" 
<[EMAIL PROTECTED]>; 

Sent: Wednesday, October 03, 2007 9:20 PM
Subject: Re: Best version of Apache for Win32 deployment



Octavian Rasnita wrote:


And I tried starting the server, but it appeared an error window "Visual
Studio just in time debugger" and it also printed the following errors
in the command prompt:


That's a crash.  Studio will give you all the info but it's harder to
navigate, for some information on obtaining the dr watson backtrace see
http://httpd.apache.org/dev/debugging.html

Note you probably want to unpack

http://archive.apache.org/dist/httpd/binaries/win32/symbols/apache_2.2.4-win32-x86-no_ssl-symbols.zip
(or
http://archive.apache.org/dist/httpd/binaries/win32/symbols/apache_2.2.4-win32-x86-openssl-0.9.8d-symbols.zip
if you had installed the ssl version)

directly into your apache 2.2 tree.  I don't know of availability of the
ActiveState symbols, nor TheoryX's, but if they exist it will make reading
that backtrace sooo much clearer.

Bill 




RE: $|=1 not responding

2007-10-03 Thread Adam Prime x443
Is this any help?

http://perl.apache.org/docs/2.0/api/Apache2/RequestIO.html#C_rflush_

I'm not sure off hand if $r->print() and print behave differently with
regards to flushing.  There's a thread in the archive talking about this
stuff. (http://marc.info/?t=11255795481&r=1&w=2) but it doesn't seem
to offer any resolution.  It does note that if you're running output
filters they could potentially break flushing.

Adam

-Original Message-
From: FreiZz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 03, 2007 2:49 PM
To: modperl@perl.apache.org
Cc: FreiZz
Subject: $|=1 not responding

Hi,

  I've been looking around all over for an answer, no luck yet. Maybe
people from this list can help me.

I upgraded my server from an old distro(apache 1.3+mod_perl 1.x) to a
centos5(apache 2.2 + mod_perl 2.x). It seems that $|=1; is not doing
what it should do.

The code : 



#!/usr/bin/perl 
print "Content-Type: text/html\n\n"; 
print "---($|)"; 
local $|=1; 
print "---($|)"; 
print "12..."; 
sleep 5; 
print "34..."; 
print "---($|)";

The output : 
---(0)---(1)12...34...---(1)

I should be getting : 
---(0)---(1)12...34...---(1)

Server : 
- CentOS release 5 (Final) 
- mod_perl-2.0.2-6.3.el5 
- httpd-2.2.3-7.el5.centos 
Conf: 
 
SetHandler perl-script 
PerlResponseHandler ModPerl::RegistryPrefork 
Options +ExecCGI 
PerlOptions +ParseHeaders 
Options FollowSymLinks ExecCGI 





Any hints ?

Thanx in advance.

FreiZz



Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Octavian Rasnita wrote:
> 
> Well, I've uninstalled VS6 and VS.net, but this message still appears,
> so I have no where to go in Tools/Options/...

You didn't bother to finish reading;

>> http://httpd.apache.org/dev/debugging.html

Which tells you how to enable/override drwtsn32 as your default error handler
(-i flag I think, offhand).


Apache 2.2.6 and mod_perl 2.0.3

2007-10-03 Thread Tracy E Schreiber
Hi,

I believe that mod_perl 2.0.3 is not compatible with Apache 2.2.6. Starting 
Apache gives this error:

httpd.exe: Syntax error on line 31 of D:/Apache/conf/httpd.conf: Cannot load
D:/Apache/modules/mod_perl.so into server: The specified module could not be 
found.

This worked fine under 2.2.4, so the configuration is not the problem. The 
mod_perl.so was retrived using ppm install 
http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd.

Any one able to get mod_perl.so to work with Apache 2.2.6

Thanks,
Tracy






Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH



Because you used theoryx5's perl/modperl/libapreq2 built for VC8, along with
the AL build of 2.2.4 ALSO built for VC8, everything is dandy.

Equally if you used ActiveState perl (built VC6) + a VC6 build of modperl and
libapreq2 with the ASF distribution of httpd 2.2.4, everything is dandy.
  
Is there a VC6 build of modperl + libapreq2? I've been following the 
links on the ASF site, so it's always been theoryx5.


To date I've been using ActivePerl all the way, so it's still a combo of 
VC6 Perl + VC8 modperl. But so far so good...



Mix and match at your own risk.
  




Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH



I haven't looked into this, but the fact that AL's
mod_perl (compiled, presumably, with VC8) doesn't
work with, again presumably, ActivePerl (compiled
with VC6) may be another example of the dangers
of mixing components compiled with VC6 and VC8.

Point taken.



Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH
Sorry man, I'm not too familiar with Catalyst, so I can't pinpoint the 
problem. But if your tests are good with a clean install of Apache2 + 
mp2, you may want to check compiler used to build Catalyst (see Randy's 
email on the VC used for ActivePerl, Apache, and modperl). I suppose 
Catalyst is not a pure-perl implementation?


Re: Apache 2.2.6 and mod_perl 2.0.3

2007-10-03 Thread Foo JH
You may want to hold back on 2.2.6. Use either 2.2.4 from ASF or 2.2.5 
from ApacheLounge.


Tracy E Schreiber wrote:

Hi,

I believe that mod_perl 2.0.3 is not compatible with Apache 2.2.6. Starting 
Apache gives this error:


httpd.exe: Syntax error on line 31 of D:/Apache/conf/httpd.conf: Cannot load
D:/Apache/modules/mod_perl.so into server: The specified module could not be 
found.


This worked fine under 2.2.4, so the configuration is not the problem. The 
mod_perl.so was retrived using ppm install 
http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd.


Any one able to get mod_perl.so to work with Apache 2.2.6

Thanks,
Tracy




  




Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Octavian Rasnita
Catalyst uses very many CPAN modules, and I am sure that not all of them are 
pure perl.


I've compiled Catalyst using VS6, so if ActivePerl is compiled with the same 
compiler, and Apache and mod_perl the same, I don't think it should be a 
problem.


I have also tried using an older ppm binary of Catalyst but with the same 
results.


But I think I might have a problem with the hardware, because sometimes 
right after booting the system the computer doesn't start, but just keeps 
restarting and nothing appears on the display, and I need to power it off, 
wait a little then power it up again in order to make it boot.
That problem might be the same that causes Apache not work and I think the 
issue might be the motherboard.


So I will try to change it, because it is under the warranty, and I hope 
after that Apache will also work.


Octavian

- Original Message - 
From: "Foo JH" <[EMAIL PROTECTED]>

To: "Octavian Rasnita" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; 
Sent: Thursday, October 04, 2007 8:34 AM
Subject: Re: Best version of Apache for Win32 deployment


Sorry man, I'm not too familiar with Catalyst, so I can't pinpoint the 
problem. But if your tests are good with a clean install of Apache2 + mp2, 
you may want to check compiler used to build Catalyst (see Randy's email 
on the VC used for ActivePerl, Apache, and modperl). I suppose Catalyst is 
not a pure-perl implementation? 




Re: Apache 2.2.6 and mod_perl 2.0.3

2007-10-03 Thread Jeff Pang
Hello,
Does apache2.2+mp2 have much advantage than apache2.0+mp2?

2007/10/4, Foo JH <[EMAIL PROTECTED]>:
> You may want to hold back on 2.2.6. Use either 2.2.4 from ASF or 2.2.5
> from ApacheLounge.
>
> Tracy E Schreiber wrote:
> > Hi,
> >
> > I believe that mod_perl 2.0.3 is not compatible with Apache 2.2.6. Starting
> > Apache gives this error:
> >
> > httpd.exe: Syntax error on line 31 of D:/Apache/conf/httpd.conf: Cannot load
> > D:/Apache/modules/mod_perl.so into server: The specified module could not be
> > found.
> >
> > This worked fine under 2.2.4, so the configuration is not the problem. The
> > mod_perl.so was retrived using ppm install
> > http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd.
> >
> > Any one able to get mod_perl.so to work with Apache 2.2.6
> >
> > Thanks,
> > Tracy
> >
> >
> >
> >
> >
>
>


Re: Apache 2.2.6 and mod_perl 2.0.3

2007-10-03 Thread Randy Kobes

On Wed, 3 Oct 2007, Tracy E Schreiber wrote:


Hi,

I believe that mod_perl 2.0.3 is not compatible with Apache 2.2.6. Starting
Apache gives this error:

httpd.exe: Syntax error on line 31 of D:/Apache/conf/httpd.conf: Cannot load
D:/Apache/modules/mod_perl.so into server: The specified module could not be
found.

This worked fine under 2.2.4, so the configuration is not the problem. The
mod_perl.so was retrived using ppm install
http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd.

Any one able to get mod_perl.so to work with Apache 2.2.6

Thanks,
Tracy


For Apache/2.2.x, you want the mod_perl ppm package, not
mod_perl-2.0; see
 http://perl.apache.org/docs/2.0/os/win32/install.html#PPM_Packages
for details. Having said that, I'd also suggest holding off 
using 2.2.6, as others have suggested - stick with 2.2.4

for the time being. Note that the 2.2.5 package from
ApacheLounge is not an official ASF release, and the 2.2.6
from the same location contains hacks that won't be in
the next official ASF release that addresses certain
Win32 problems. See
   http://marc.info/?t=11913767701&r=1&w=2
for a discussion of this and related issues.

--
best regards,
Randy Kobes