On Mon, 13 May 2002, Peter Rothermel wrote:
Excellent document.
A slight enhancement request.
Could you give some details on how to separate
the modperl installation from the Perl installation?
I believe the latest binary release has the mod_perl
installed in a separate blib under the
On Mon, 13 May 2002, Peter Rothermel wrote:
When you built the mod_perl distribution did you use
perl Makefile.PL MP_AP_PREFIX=C\Apache2 MP_INST_APACHE2=1
LIB=C:\Apache2\blib\lib
Ah ... I just used
perl Makefile.PL MP_AP_PREFIX=C:\Apache2 MP_INST_APACHE2=1
and then copied the blib/
On Fri, 10 May 2002, Stas Bekman wrote:
Alessandro Forghieri wrote:
about combinatorial I think not only compat2 is involved here
in test suites I have ran
Wow. this is great detective work you have done Pascal.
Actually you didn't have to do the detective work. Apache::Test comes
with
On Wed, 8 May 2002, Alessandro Forghieri wrote:
The script that follows *DOES* in fact send a header (so my previous msg. is
partly wrong; I am used to read/write print
$q-header(-content_type=text/html) rather than simply print header,
but then I am rather long winded. OTOH the script
On Mon, 6 May 2002, pascal barbedor wrote:
I have the same problem : contree test fails and apache segfaults,
even with the latest cvs.
apache 2.0.37-dev
modperl 1.99_02-dev
win2k
perl 561
That's wierd - I have the same set-up, except using WinXP, and
this test passes ... What happens if
On Mon, 6 May 2002, pascal barbedor wrote:
error message is memory cant be read from perl56.dll
here is a complete report of first test in each directory that fails and
produces segfault (with perl t/test dirtest) :
dirtest=api:
api/access :ok
api/aplog : apache segfault
dirtest=apr
with apache\conftree doesn't occur for
me with the current cvs apache-2.0.37-dev.
best regards,
randy kobes
to load OK ... What is
your configuration that's failing? Did you copy the generated
mod_perl.so to $APACHE/modules?
best regards,
randy kobes
On Fri, 3 May 2002, Jean-Marc Paulin wrote:
Randy,
Thanks a lot. I thought I was not the only one.
In fact, this is not the test apache\post that hangs, but when running the
test apache\conftree that apache.exe dies.what happens after is because I've
aborted the script via Ctrl+Brk.
I
Hi,
I've started a document on getting and configuring
mod_perl-2 with Apache-2 on Win32 at
http://theoryx5.uwinnipeg.ca/win32_apache2.html
describing both building mod_perl-2 and getting binary packages.
Comments, omissions, corrections, etc. are very welcome. Thanks.
best regards,
randy
installed, so what's wrong?
I assume this is for mod_perl-1?
Do you have a
LoadModule perl_module modules/mod_perl.so
line in your httpd.conf file?
best regards,
randy kobes
problems ...
Does anybody know where I could find an already compiled module
for Win32?
A mod_perl-2 ppm package is available for installation via ppm as
ppm install
http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-2.ppd
best regards,
randy kobes
\lib\Apache2\Apache\HelloWorld.pm
Apache2.pm us useful if you want to install mod_perl-2
stuff in a Perl tree that already contains mod_perl-1
things under an Apache/ subdirectory.
best regards,
randy kobes
start OK from the console, does mod_perl
work with your application?
- if it doesn't start from the console, does moving the
effects of the PerlRequire statement to your application
work?
best regards,
randy kobes
to INC. Do you 'use Apache2' in your set-up? Does adding
that to your script help?
best regards,
randy kobes
On Tue, 16 Apr 2002, Arul, Rex wrote:
Randy:
Thanks for your response. Here are my responses:
A few things to perhaps look at ...
- does the service start OK, with mod_perl-2 enabled, if the
PerlRequire statement isn't there?
Yes! Apache2 server starts fine under the 'Apache Monitor
On Sat, 13 Apr 2002, pascal barbedor wrote:
Does the following, or some variation, work?
[ .. ]
sub handler {
my $r = shift;
my $key = $r-dir_config-get('TEST');
$r-content_type('text/plain');
$r-print($key);
Apache::OK;
}
yes it works perfectly well.
but
;
===
best regards,
randy kobes
On Fri, 12 Apr 2002, Ngoc Pham wrote:
Hi,
I have a test perl script:
#!C:\Program Files\Perl\bin\perl.exe
use CGI qw(:standard) ;
print header();
print Hello, world;
With apache_1.3.24-win32-x86-no_src.exe installation, the script runs fine.
With apache_2.0.35-win32-x86-no_ssl.msi
a 'PerlModule Apache2' in
httpd.conf, or else 'use Apache2 ()' in a startup script. Some
html docs on mod_perl-2 are included in the package which should
be placed in your Perl html tree.
best regards,
randy kobes
one person found that
building mod_perl as a dso outside of the Apache source
tree, as described at the end of INSTALL.apaci in the
mod_perl sources, worked.
best regards,
randy kobes
to look into
making one up for Win32.
best regards,
randy kobes
On Wed, 27 Mar 2002, Stas Bekman wrote:
Pete Kelly wrote:
I get the following errors when trying to build from
command line:
C:\mod_perl-1.26perl Makefile.PL
APACHE_SRC=\Apache_1.3.23 INSTALL_DLL=\Apache\
mod_perl
[ ... ]
Can't open s/sub mod_perl::hooks.*/sub mod_perl::hooks
{
).
best regards,
randy kobes
running 'perl Makefile.PL', and it dying at this point, is
there a file lib/mod_perl_hooks.pm? If not, try copying
lib/mod_perl_hooks.pm.PL to lib/mod_perl_hooks.pm and rerunning
'perl Makefile.PL'.
best regards,
randy kobes
in
the mod_perl cookbook listing 1.2 so the second method fails.
Did you install the libapreq ppm package from ActiveState's
repository, or from the repository at
http://theoryx5.uwinnipeg.ca/ppmpackages/? If it was
from Activestate's, maybe try the latter.
best regards,
randy kobes
of the Makefile.PL), but it does cause a
problem on other Win32s with different ActivePerl versions.
best regards,
randy kobes
::testUpload
Location /testUpload
SetHandler perl-script
PerlHandler Apache::testUpload
PerlSendHeader Off
/Location
best regards,
randy kobes
();
return OK;
}
1;
**
Apart from abbreviating the output, one difference between the
above and your original is the $q-parse() call within main().
best regards,
randy kobes
of INSTALL.apaci.
best regards,
randy kobes
in INSTALL.apaci in the mod_perl sources.
best regards,
randy kobes
in the INSTALL.apaci file
in the mod_perl sources.
best regards,
randy kobes
the latest Apache-2 and modperl-2 cvs
sources?
best regards,
randy kobes
ClearModuleList enabled somewhere in
your httpd.conf? If so, try commenting it out (as well as any
AddModule ... directives) and see if that helps.
best regards,
randy kobes
, but
you may have to specify the location and name of the apache
lib to link against.
best regards,
randy kobes
://httpd.apache.org/docs-2.0/, and for modperl-2, see the
information at http://perl.apache.org/ on subscribing to the
dev mailing list.
best regards,
randy kobes
On Thu, 3 Jan 2002, Ron Savage wrote:
Folks
Here's hoping I have not overlooked the obvious...
What follows is a report on trying to use
ftp://theoryx5.uwinnipeg.ca/pub/other/Apache2.tar.gz
-8-
Environment
===
WinNT 4 Sp 6a
File:
On Thu, 3 Jan 2002, Ron Savage wrote:
This is a copy of a msg I just sent to Randy instead of the list.
I'm sending it to the list so others, and the archiver, will see it.
- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: Ron Savage [EMAIL PROTECTED]
Cc: mod_perl
Hi,
Some Win32 specific docs related to compiling modperl,
using binary packages, and multithreaded issues are now
at http://perl.apache.org/#docs. Please let me know if
there's any errors/omissions in them, or if you have ideas
for additions.
best regards,
randy kobes
(text/html);
$r-send_http_header;
print reverse $fh;
warn Status is $status;
return OK;
}
1;
**
Does this work for you?
best regards,
randy kobes
On Sat, 22 Dec 2001, Gerald Menzel wrote:
- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: mod_Perl [EMAIL PROTECTED]
Sent: Saturday, December 22, 2001 5:51 PM
Subject: Re: Can't locate object method dir_config via package
Apache::RegistryFilter
://theoryx5.uwinnipeg.ca/ppmpackages/
or, if you compile it yourself, from the cvs sources.
best regards,
randy kobes
NAME
Apache::WinBitHack - An Apache module to emulate XBitHack on Win32
SYNOPSIS
In Apache's httpd.conf
comments about errors, omissions, inaccuracies, etc are
welcome - thanks.
best regards,
randy kobes
know what it missed. After that, the
Apache::ASP docs and web site are very good at describing
the configuration and use.
See an earlier post today by Joshua Chamas about a way to disable
flock() on Win98 within Apache::ASP, which will be needed for
MLDBM::Sync.
best regards,
randy kobes
:
This error message was produced by the line
LoadModule mod_perl modules/mod_perl.so
in the httpd.conf file.
Hi,
Try, in http.conf,
LoadModule perl_module modules/mod_perl.so
rather than
LoadModule mod_perl modules/mod_perl.so
best regards,
randy kobes
spread the load.
best regards,
randy kobes
On Wed, 21 Nov 2001, Alessandro Forghieri wrote:
Greetings.
Randy That's great that you thought this out and put it together;
Randy a few comments below appear below ...
Thanks for playing editor - and I am accepting all of your suggestions,
with the possible exception of what follows.
On Fri, 23 Nov 2001, Stas Bekman wrote:
Don't modify the guide, just throw some random and structured winXX
notes into a new doc,and we just add it to the guide as a new chapter.
Then people start sending patches and polish it, like the rest of the
chapters. The new 2.0 docs generation will
, if
possible.
best regards,
randy kobes
; at this stage the Win32 code for both
is alpha, but both compile and run on Win32.
best regards,
randy kobes
On Sun, 14 Oct 2001, Alexei Danchenkov wrote:
Hello, Randy and All,
I still can't compile mod_perl from source. I can compile other Perl modules
without problems, whether they are completely built on Perl or contain C/C#
modules (.xs). However, I still can't compile mod_perl with the same
perl -V:make
report make='nmake'? If not, edit the make=... line in
Perl's Config.pm. If this line is OK, can you build other
extensions?
best regards,
randy kobes
and HTML::Mason) at
http://theoryx5.uwinnipeg.ca/ppmpackages/
which you can install via the ppm utility in the same way that
the mod_perl package is installed from this location.
best regards,
randy kobes
,
randy kobes
On Mon, 10 Sep 2001, Matt Sergeant wrote:
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]]
On Sun, 9 Sep 2001, James Buchanan wrote:
I tried altering ppm of ActivePerl to point to the
repository to get the
mod_perl binary, but there was no such package
...
More details about what went wrong would help in improving
the docs, as well as what parts of the docs you found inaccurate ...
AGHHH!
...ah, feel better now. ;)
That's what we're here for :) Keep trying - it's worth it ...
best regards,
randy kobes
shouldn't have to reinstall mod_perl -
just move mod_perl.so to the new \Apache\modules directory).
best regards,
randy kobes
. Thanks.
Just to ensure that Apache was compiled without expat, does
grep -i xml /usr/local/apache/bin/httpd
match? Also, are all required modules, especially XS-based
ones like libapreq, compiled against the same mod_perl/apache
sources as AxKit was?
best regards,
randy kobes
. The recommendation is to recompile Apache
with --disable-rule=expat. Does this work?
best regards,
randy kobes
As well as what Rod says in another reply about this message arising
from incompatible Apache/mod_perl versions, this can also be caused
from not having the perl executable in your PATH environment variable
when starting Apache.
best regards,
randy kobes
in principle run into compatibility problems between
different mod_perl and Apache versions, but since you're running
Apache 1.3.20 you should be fine, as this was the version the
mod_perl-1.26 ppm package was compiled against.
best regards,
randy kobes
as reliability goes, Einstein teaches us that everything is
relative ... VC++ is probably the most prevalent compiler in the
MS Win32 world, so in that context is pretty stable. But if you
want to compare the reliability of MS tools to Linux tools ...
best regards,
randy kobes
one
of the standard modules.
best regards,
randy kobes
On Fri, 27 Jul 2001, Murugan K wrote:
Hai
I am not using Visual VC++ IDE for compiling. I am using command
line only.
After building , i am not getting src/modules/win32/Release/ realease
directory at all.
I tried with previos version od mod_perl also. Same result.
There must
libwww-perl and libwin32.
best regards,
randy kobes
building again
within a clean source tree. If this is a general problem, try
editing your ExtUtils\MM_Win32.pm file - search for the string
Unable to find. It's probably the backticks in the vicinity
that's causing this.
best regards,
randy kobes
information on Win32 on Perl. But really, the
book is still a very valuable resource, as you'll find once
you get going ...
best regards,
randy kobes
bother with this unless you're trying
to install the latest XML-Parser.
best regards,
randy kobes
on CPAN was compiled
against a fairly old Apache.
best regards,
randy kobes
are and
\Apache\Modules is where you want to put the mod_perl.so dll.
best regards,
randy kobes
/mod_perl.ppd
If neither of these work, do you have problems installing
modules from ActiveState's repository? eg, does
DOS ppm install GD
install GD.pm OK?
best regards,
randy kobes
Apache_1.3.15, the name of
the mod_perl dll that goes into your Apache modules/ directory was
changed from ApacheModulePerl.dll to mod_perl.so.
best regards,
randy kobes
in this environment.
Also, check http://perl.apache.org/, especially the mod_perl
guide, and http://take23.org/, for further information.
best regards,
randy kobes
If you get an error this way, does the ppm utility work at installing
other modules?
best regards,
randy kobes
On Fri, 22 Jun 2001, Castellon, Francisco wrote:
Hi Randy:
Yes i tried installing the perl_mod from that link but that was the error i
got when i went to that link. I havent really tried any other modules.
What my main concern was that i thought that the AvtivePerl MSI download had
to be
On Thu, 21 Jun 2001, Michael Heinen wrote:
Thanks Randy for your patch (it works).
[ ... ]
But now I have a new problem with nmake.
Here is the translatet error message:
makefile(861) : fatal error U1087: dependent elements of type : and of type
::
are not possible for the same target.
,
randy kobes
On Fri, 15 Jun 2001, Ender Josef wrote:
Hi Randy
[...] Would you happen to have
VC++ 5, and are using ActivePerl build 6xx? There is an
incompatibility
there, as ActiveState uses VC++ 6. If so, you could
- upgrade to VC++ 6
You're right. I used VC++ 5. Now I installed VC++ 6 SP4
Apache::Hello handler. Beyond
this, as was also mentioned, http://perl.apache.org/, especially
the guide, and http://take23.org/, are your friends.
best regards,
randy kobes
-DB thru the ppm utility: within your ppm utility shell,
set the repository to
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
and then install Apache-DB.
best regards,
randy kobes
it in the package.
It's available at ftp://theoryx5.uwinnipeg.ca/pub/other/,
with perl-win32-bin-0.7.readme containing some additional
instructions for configuring ppm, to reflect your install
location.
best regards,
randy kobes
. The included Apache httpd.conf contains some
sample directives for some common mod_perl modules, such as
Apache::Registry, HTML::Embperl, Apache::ASP, and HTML::Mason.
The included readme files contain directions for installation -
please let me know if you run into any problems.
best regards,
randy
for Win32 mod_perl and Apache_1.3.20
is that the service problem that several people ran into has been
solved.
best regards,
randy kobes
the dll named ApacheModulePerl,
without the .dll extension. What if you try, in httpd.conf-perl,
putting in
LoadModule perl_module modules/ApacheModulePerl.dll
(ie, with the extension).
best regards,
randy kobes
utility.
best regards,
randy kobes
done.
best regards,
randy kobes
,
randy kobes
On Sun, 29 Apr 2001, Carey Burgess wrote:
Yeah, I have ActivePerl.
So... I tried installing it using PPM... Well, here's a snippet of what
happened:
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM
server root
to the path of the apache binary. As a temporary fix,
in t\docs\startup.pl and t\docs\rl.pl, find occurrences of
$Apache::Server::CWD
and change this to the path to the mod_perl build directory
(eg, C:\mod_perl-1.25).
best regards,
randy kobes
\ExtUtils\*.pm that are NT-specific. Check the perl
win32-porters list on ActiveState's site for a recent thread on
how to fix things.
best regards,
randy kobes
this adjusted?
best regards,
randy kobes
On Wed, 11 Apr 2001 [EMAIL PROTECTED] wrote:
Win2000 SP1,
Apache-1.3.19,
mod_perl-1.25_01-dev (installed from randy kobes site using the Activestate
PPM install).
Apache installed at c:/Apache/Apache
whenever I attempt to start up with mod_perl.so or ApachePerlModule.dll
i get
::top_targets
or MY::install. See 'perldoc ExtUtils::MakeMaker', near the end,
for details.
best regards,
randy kobes
On Sat, 3 Mar 2001, Chris Winters wrote:
First: big thanks to Randy Kobes for making the mod_perl PPMs
available. This is a huge help to getting mod_perl running on Win32.
I've installed the mod_perl 1.25 + Apache 1.3.19 PPM without a
problem, and the mod_perl stuff runs fine. (It's loaded
- Original Message -
From: "David Kaufman" [EMAIL PROTECTED]
To: "Randy Kobes" [EMAIL PROTECTED]; "Garry Heaton"
[EMAIL PROTECTED]
Cc: "mod_Perl" [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 1:49 PM
Subject: Re: (beginner) Win32 installat
on Win32 this route
is probably the easiest, as everything you need to get started
comes with the ppm distribution. After that, the docs at
http://perl.apache.org/, especially the guide, and http://take23.org/
contain lots of resources to get you going.
best regards,
randy kobes
On Wed, 14 Feb 2001, Xavier Bouligaud wrote:
When i run dmake, I have
makefile: line 1051: error -- Expecting macro or rule defn, found neither
mod_perl on Win32 is currently set up for using VC++, and
consequently expects nmake.
best regards,
randy kobes
regards,
randy kobes
this patch applied ?
This patch is applied in the current mod_perl cvs version, which I think
was being used
best regards,
randy kobes
for NT.
A mod_perl binary distribution would contain the relevant
mod_perl modules for perl, plus the dll which you would copy
into an appropriate $APACHE/modules/ directory, where the
other apache modules are kept.
best regards,
randy kobes
201 - 300 of 342 matches
Mail list logo