[OT] DALnet Explains DDOS

2002-11-08 Thread Jonathan M. Hollin
OFF TOPIC

Some of you probably know that DAlnet has been subject to a large-scale 
DDOS attack recently.  As a result of this, they (DALnet) have posted a 
series of articles in their ezine to explain to their users what's 
happening.

They have a wonderful Plain English explanation of DOS and DDOS that I 
thought some of you might like to read.  Use this when you need to 
explain DOS / DDOS to pointy-haired-bosses and civilians!  :-)

http://zine.dal.net/what-dos.php

Sorry for the off-topic post.

--
Jonathan M. Hollin

Technical Director:  Digital-Word Co. (http://digital-word.com/)
Co-ordinator:  WYPUG (http://wypug.pm.org/)



BUG in $r-uri ?

2002-11-08 Thread Lee Goddard

I know I shouldn't, but I have a URI that goes:

a_silly_clients_filename 2 . jpg

And when I try:

$r-log_error ( $r-uri );

the result is:

[Fri Nov 08 09:59:37 2002] [error] a_silly_clients_filename 2.jpg

Is this real, or is it me?

Thanks,
lee



Lee Goddard




Help mod_perl 1.27 and DB

2002-11-08 Thread Tony Simbine
Hallo,

i wrote a script in mod_perl, but often it loses the db-connection.
i'm using mysql as DB.

how can i stop this?

for example

GET http://www.myhost.com/myscript.perl
now I get the results as expect

GET http://www.myhost.com/myscript.perl
now I get an error

wenn i reload it, then sometimes i get the document or an error.


wenn i reload my apache-webserver, then i allways get the expected page.


how can i resolve it?


thanks in advance

tony simbine




make error compiling mod_perl on RH7.1

2002-11-08 Thread Witchy
Hi all,

Trying to compile mod_perl 2.0 for my RH7.1/Apache 2.0.39 server and it
falls over with this error:

apr_perlio.c: In function `apr_perlio_apr_file_to_glob':
apr_perlio.c:573: `IoTYPE_WRONLY' undeclared (first use in this function)
apr_perlio.c:573: (Each undeclared identifier is reported only once
apr_perlio.c:573: for each function it appears in.)
apr_perlio.c:577: `IoTYPE_RDONLY' undeclared (first use in this function)
make[3]: *** [apr_perlio.o] Error 1
make[3]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs/APR/PerlIO'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs/APR'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs'
make: *** [subdirs] Error 2

When I ran 'perl Makefile.PL' etc with the correct location for my apache
setup the only thing it complained about was the fact I was using Perl 5.6.0
and it recommended 5.6.1 or above. Before I trawl the dependencies tree
trying to install a later version has anyone seen that problem before and do
I really need to upgrade my perl installation?

Thanks in advance,

--
adrian/witchy
www.binarydinosaurs.co.uk - the online computer museum
www.snakebiteandblack.co.uk - monthly gothic shenanigans




Trouble building Apache 1.3.27 with mod_perl 1.27 on Solaris 8 x86

2002-11-08 Thread Svavar Örn Eysteinsson
Hi all.
I'm having a big trouble on my Solaris 8 x86.

I'm trying to compile Apache v1.3.27 with mod_perl 1.2.27.

As for now i'm running Apache/1.3.19 (Unix) PHP/4.0.4pl1 mod_perl/1.25.
with Perl 5.6.1 and GCC 3.0.3


First off all, i'm using the GNU ld in the compilation process.
And as i go into the mod_perl source directory and execute :

perl Makefile.PL APACHE_SRC=../apache_1.3.27/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
 make

Everything goes fine.. No errors.
And then i do make test 

and it results :

../apache_1.3.27/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...[Fri Nov  8 10:38:55 2002] [error] Can't load
'/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so' for
module Socket: ld.so.1: ../apache_1.3.27/src/httpd: fatal: relocation
error: file
/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so: symbol
main: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/XSLoader.pm line 75.
 at /usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 451
Compilation failed in require at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
BEGIN failed--compilation aborted at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
Compilation failed in require at (eval 2) line 1.
 
Syntax error on line 62 of
/export/home/admin/apachebuild/mod_perl-1.27/t/conf/httpd.conf:
Can't load
'/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so' for
module Socket: ld.so.1: ../apache_1.3.27/src/httpd: fatal: relocation
error: file
/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so: symbol
main: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/XSLoader.pm line 75.
 at /usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 451
Compilation failed in require at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
BEGIN failed--compilation aborted at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
Compilation failed in require at (eval 2) line 1.
 
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
make: *** [run_tests] Error 146


No httpd process is running for the test process.


Then i tried to use the built-in-solaris ld program for the
compilation process.
Everyting goes fine, until i do the make test :

../apache_1.3.27/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
make: *** [run_tests] Error 9

I see the httpd process running, and then i view the
mod_perl-1.27/t/logs/error.log file
and it contains :

[notice] Destruction-DESTROY called for $global_object
Prototype mismatch: sub Socket::INADDR_ANY vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 329.
Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 330.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 331.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 332.
[Fri Nov  8 10:41:50 2002] [warn] [notice] child_init for process 27195,
report any problems to [no address given]





Does anybody knows what is going on in my compilation process.
The last time i builded Apache and mod_perl it was 100% sucessfully
compiled(the version running today)

Any help would be very apriciated.

Best regards to all.

Svavar
Reykjavik - Iceland




Re: [Win32] nmake error compiling mod_perl.so

2002-11-08 Thread Randy Kobes
On Fri, 8 Nov 2002, jheckel wrote:

 Randy Kobes wrote:
 
  where this gets defined in general, but a temporary workaround
  for the above problem is to change in
  modperl-2.0/xs/Apache/Access/Apache__Access.h, about line 63, the
  call
 av_push(config, newSVpvf(..));
  to
 av_push(config, Perl_newSVpvf(..));
 
 Hi,
 thank you for your working fix:-)

The above does allow the build to complete, but just to
emphasize, I don't think it's the right fix - one shouldn't have
to do that there. And judging from the tests that fail, it may
not even be the right function to use there. I'll look at it some
more, but probably Doug or Stas will provide the proper way.

 
 But now I see another minor problem:
 
 Installing 
 W:\programme\Perl\site\lib\auto\Apache\RequestUtil\RequestUtil.dll
 Installing 
 W:\programme\Perl\site\lib\auto\Apache\RequestUtil\RequestUtil.exp
 Installing 
 W:\programme\Perl\site\lib\auto\Apache\RequestUtil\RequestUtil.lib
 Skipping W:\programme\Perl\site\lib\auto\Apache\RequestRec\RequestRec.bs 
 (unchanged)
 Cannot forceunlink 
 W:\programme\Perl\site\lib\auto\Apache\RequestRec\RequestRec.
 dll: No such file or directory at W:\programme\Perl\lib/File/Find.pm 
 line 519
 NMAKE : fatal error U1077: 'W:\programme\Perl\bin\perl.exe' : return 
 code '0xff'
 
 This is not important to me as the mod_perl.so has been compiled before 
 this happens.

Does 
 W:\programme\Perl\site\lib\auto\Apache\RequestRec\RequestRec.dll
exist? This problem may have arisen from an earlier, incomplete,
install, or perhaps trying to install/uninstall mod_perl while
the server was running. Maybe try making sure the server is
stopped, then doing an 'nmake install' again, perhaps twice.

-- 
best regards,
randy




Re: [Win32] nmake error compiling mod_perl.so

2002-11-08 Thread Juergen Heckel
Randy Kobes wrote:

Does 
 W:\programme\Perl\site\lib\auto\Apache\RequestRec\RequestRec.dll
exist? This problem may have arisen from an earlier, incomplete,
install, or perhaps trying to install/uninstall mod_perl while
the server was running. Maybe try making sure the server is
stopped, then doing an 'nmake install' again, perhaps twice.


Hi,
thank you, you helped me again:-)

Juergen



Re: Help mod_perl 1.27 and DB

2002-11-08 Thread Perrin Harkins
Tony Simbine wrote:


wenn i reload it, then sometimes i get the document or an error.



Well, what's the error?  Look at your log file.  Then look at 
http://perl.apache.org/docs/1.0/guide/troubleshooting.html and see if 
the error is listed there.

- Perrin



Re: Help mod_perl 1.27 and DB

2002-11-08 Thread Rafiq Ismail (ADMIN)
On Fri, 8 Nov 2002, Tony Simbine wrote:
 GET http://www.myhost.com/myscript.perl
  now I get the results as expect
 GET http://www.myhost.com/myscript.perl
  now I get an error
 wenn i reload my apache-webserver, then i allways get the expected page.
 how can i resolve it?

You know he's right?  It's always best to show what your errors actually
are.

Read the modperl guide and it will show you that this sort of behaviour
comes from globals bouncing between processes.  Scrop your variables and
you'll be a happy man.  Always use strict and .. it's a friday night, I'm
going to frag now.  Read the guide, it's in there.  It's under common
pitfalls or something of that nature.
byebye.








RE: Can't locate object method new via package Apache::Request (via Mason)...SOLVED

2002-11-08 Thread DeAngelo Lampkin
Huh?
It tells you EXACTLY what is wrong.


No, not really. 

One reason is that it's not immediately clear (to me) which file can't be loaded.  Is 
it Request.so or libapreq.so.1 that can't be loaded?  This ambiguity is further 
blurred when you know both files are installed.  

And of course the other reason is that if the solution to the problem was so obvious 
from the error message, somebody would have posted a solution before I figured it out 
(with help from you guys).

Searching the  mailing list archives indicates that method name resolution is not 
exacly a new problem with mod_perl.  Just ask this guy = 
http://lists.fsck.com/pipermail/rt-users/2002-September.txt.  It's the exact same 
problem with the exact same error message, only in different clothing (he's having 
trouble with the Apache::Cookie object rather than the Apache::Request object). 

In the interest of full disclosure, other possible solutions include resetting 
/etc/ld.so.conf or the LD_LIBRARY_PATH variable to include more places to look for 
shared object files (only recently figured this out).  But again, unless you're 
somewhat experienced or have encountered this class of bug before, this won't 
necessarily be the obvious place to look at first.

Anyway enough of my babbling.  Now that the answer is out there, hopefully it'll help 
out the poor souls who run into this issue in the future.

Later,

DeAngelo




-Original Message-
From: Ged Haywood [mailto:ged;www2.jubileegroup.co.uk]
Sent: Thursday, November 07, 2002 10:01 PM
To: DeAngelo Lampkin
Cc: mod_perl Mailing List
Subject: RE: Can't locate object method new via package
Apache::Request (via Mason)...SOLVED


Hi there,

On Thu, 7 Nov 2002, DeAngelo Lampkin wrote:

 A file called libapreq.so.1 was located in /usr/local/lib
 (should have been in /usr/lib) [snip] I ended up getting this thing:
 
 Syntax error on line 362 of /usr/local/apache/conf/httpd.conf:
 Can't load 
'/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/Request/Request.so'\
  for module Apache::Request: libapreq.so.1: cannot open shared object file:\
  No such file or directory [snip]
 
 This isn't the most helpful error message in the world.

Huh?

It tells you EXACTLY what is wrong.

73,
Ged.




RE: Can't locate object method new via package Apache::Request (via Mason)...SOLVED

2002-11-08 Thread DeAngelo Lampkin
Cool.  Will do.

-Original Message-
From: Tim Tompkins [mailto:timt;arttoday.com]
Sent: Thursday, November 07, 2002 12:27 PM
To: DeAngelo Lampkin; [EMAIL PROTECTED]
Subject: Re: Can't locate object method new via package
Apache::Request (via Mason)...SOLVED


 As a quick follow-up, the PerlModule Apache::Request line is NOT
 needed in the httpd.conf file for Mason to work.  However, it was a very
 valuable debugging tool.

That wasn't really the purpose, though.  The purpose was to pre-load the
module in the parent apache process for efficiency.  My suggestion did come
about because it appeared that Apache::Request wasn't being loaded at all.
I'm not exacly sure how that happened as Mason's ApacheRequest attempts to
require() Apache::Request a couple of places.  But just the same, my
suggestion to pre-load Apache::Request, as well as any other lib you
normally use, stands.

See:
http://perl.apache.org/docs/1.0/guide/performance.html#Preloading_Perl_Modul
es_at_Server_Startup


Regards,

Tim Tompkins
--
Programmer
http://www.clipart.com/
http://www.rebelartist.com/
--




Re: Can't locate object method new via package Apache::Request(via Mason)...SOLVED

2002-11-08 Thread Perrin Harkins
DeAngelo Lampkin wrote:


And of course the other reason is that if the solution to the problem 
was so obvious from the error message, somebody would have posted a 
solution before I figured it out (with help from you guys).


There is documentation related to this problem in the troubleshooting 
section, and if you'd like to generalize it a little so it will be 
easier for others to find when looking at this type of message, your 
help would be welcome.  The current documentation is here:
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#install_driver_Oracle__failed__Can_t_load__DBD_Oracle_Oracle_so__for_module_DBD__Oracle

- Perrin



[mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-08 Thread Marcin Kasperski
I use Apache::Util::escape_html to perform fast HTML-escaping of the
data before displaying it. Unfortunately, this function handles
, ,  and  but does not handle ' (single quote) - which 
can be escaped as apos;

It would be nice if apos was handled. After all, in HTML file it is
almost equivalent to double quote (it is only the matter of style
whether one uses a href=some url or a href='some url').
Moreover, there happen situation where on can not change quotation 
model like in (adapted real example I happened to have trouble with):

   a href=javascript:somefun('[%some_var%]')

(where some_var is a variable escaped with escape_html and unfortunately
 it can happen to contain apostrophe mark)

It seems to me that it would suffice to slightly change the 
function my_escape_html in src/modules/perl/Util.xs by
adding new else-if in both if sequences.

PS I do not know how the thing looks in modperl-2 but in case there is
similar problem, I would suggest similar solution.



-- 
( Marcin Kasperski   | A reusable framework that is developed by itself will )
( http://www.mk.w.pl |probably not be very reusable. (Martin))
()
( Z kart bezpieczniej? http://www.mk.w.pl/artykuly/karty_niebezpieczenstwa  )



[Win32] ActivePerl-5.8 beta released

2002-11-08 Thread Randy Kobes
Of relevance to mod_perl-2 Win32 users, ActivePerl just released
a beta version of their perl-5.8 binary; see
   http://www.activestate.com/Products/ActivePerl/
Because of binary incompatibilities with 5.6, there's a
separate 5.8 repository of ppm packages under
   http://www.activestate.com/ppmpackages/5.8-windows/
Such packages should be compatible with the perl-5.8 win32
binary we have under
  ftp://theoryx5.uwinnipeg.ca/pub/other/perl-5.8-win32-bin.tar.gz
if you've been using that.

Even though the ActivePerl package is beta, they've tested
it out beforehand and fixed some things compared to the
CPAN perl-5.8 sources; see
  ftp://ftp.activestate.com/ActivePerl/src/5.8/
for the diffs and for the complete sources used.

If you're using mod_perl-2 on Win32 with perl-5.6.1 and have run
into problems (such as hanging registry scripts), you may want to
try perl-5.8. Over the next few days I'll make up a 5.8 Win32 ppm
repository with mod_perl-2 and some other common packages; I'll
post something later with the details. Unless there's a large
demand for mod_perl-1 stuff, this repository will just include
mod_perl-2 packages.

-- 
best regards,
randy kobes




Re: [mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-08 Thread darren chamberlain
* Marcin Kasperski [EMAIL PROTECTED] [2002-11-08 16:22]:
 I use Apache::Util::escape_html to perform fast HTML-escaping of the
 data before displaying it. Unfortunately, this function handles
 , ,  and  but does not handle ' (single quote) - which 
 can be escaped as apos;

Hey, this is an easy one.  Apply the attached patch to
mod_perl-1.XX/src/modules/perl/Util.xs, and single quotes will be
turned into apos;

(darren)

-- 
If history teaches us anything, it's that everyone will be part of the
problem, but not everyone will be part of the solution.
-- Larry Wall

--- Util.xs.origFri Nov  8 16:42:42 2002
+++ Util.xs Fri Nov  8 16:44:49 2002
@@ -67,6 +67,10 @@ static SV *my_escape_html(char *s)
memcpy(SvPVX(x)[j], quot;, 6);
j += 5;
}
+   else if (s[i] == '\'') {
+   memcpy(SvPVX(x)[j], apos;, 6);
+   j += 5;
+   }
else
SvPVX(x)[j] = s[i];
 



Apache 1.3.27 + Mod_perl(sunOS Solaris) installation problem

2002-11-08 Thread Manish Anand
Hi !

I am trying to install Apache1.3.27 + Mod_perl 1.27... I was successful in
eventually installing the apache with mod-perl support. I verified that
mod-perl was installed by 'httpd -l' command. Everything seemd to be
working the way it shoudl, but when i run the server... it says 'httpd
server started' ... but actually the server is not started. The post is
inaccessible through the browser and when u give the command to stop the
http server, it says that the server is not running.

Kindly, let me know the cause of such a problem and remedies to overcome
them.

Thanking you,
Manish










Re: [mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-08 Thread Marcin Kasperski
darren chamberlain [EMAIL PROTECTED] writes:

 * Marcin Kasperski [EMAIL PROTECTED] [2002-11-08 16:22]:
  I use Apache::Util::escape_html to perform fast HTML-escaping of the
  data before displaying it. Unfortunately, this function handles
  , ,  and  but does not handle ' (single quote) - which 
  can be escaped as apos;
 
 Hey, this is an easy one.  Apply the attached patch to
 mod_perl-1.XX/src/modules/perl/Util.xs, and single quotes will be
 turned into apos;

Your patch seems to me to be partially wrong (you missed similar
addition a few lines above, while calculating the destination
size). Nevertheless, I write here about the problem because I would
really like having such a change in the mainstream modperl
distribution. Keeping my own patched modperl distribution, integrating
changes etc is a bit troublesome (organizationally).



RE: [Win32] ActivePerl-5.8 beta released

2002-11-08 Thread Beau E. Cox
Hi -

Just wondering about DBI modules in 5.8.

In both Randy's posted ppm packages list and via
5.8's ppm, I can't find:

DBI (plain 'ole)
DBD-ODBC
DBD-Mysql

I know this is beta, but are DBI modulrs such as
these forthcoming?

Aloha = Beau.

-Original Message-
From: Randy Kobes [mailto:randy;theoryx5.uwinnipeg.ca]
Sent: Friday, November 08, 2002 11:42 AM
To: [EMAIL PROTECTED]
Subject: [Win32] ActivePerl-5.8 beta released


Of relevance to mod_perl-2 Win32 users, ActivePerl just released
a beta version of their perl-5.8 binary; see
   http://www.activestate.com/Products/ActivePerl/
Because of binary incompatibilities with 5.6, there's a
separate 5.8 repository of ppm packages under
   http://www.activestate.com/ppmpackages/5.8-windows/
Such packages should be compatible with the perl-5.8 win32
binary we have under
  ftp://theoryx5.uwinnipeg.ca/pub/other/perl-5.8-win32-bin.tar.gz
if you've been using that.

Even though the ActivePerl package is beta, they've tested
it out beforehand and fixed some things compared to the
CPAN perl-5.8 sources; see
  ftp://ftp.activestate.com/ActivePerl/src/5.8/
for the diffs and for the complete sources used.

If you're using mod_perl-2 on Win32 with perl-5.6.1 and have run
into problems (such as hanging registry scripts), you may want to
try perl-5.8. Over the next few days I'll make up a 5.8 Win32 ppm
repository with mod_perl-2 and some other common packages; I'll
post something later with the details. Unless there's a large
demand for mod_perl-1 stuff, this repository will just include
mod_perl-2 packages.

-- 
best regards,
randy kobes






RE: [Win32] ActivePerl-5.8 beta released

2002-11-08 Thread Randy Kobes
On Fri, 8 Nov 2002, Beau E. Cox wrote:

 Hi -
 
 Just wondering about DBI modules in 5.8.
 
 In both Randy's posted ppm packages list and via
 5.8's ppm, I can't find:
 
 DBI (plain 'ole)
 DBD-ODBC
 DBD-Mysql
 
 I know this is beta, but are DBI modulrs such as
 these forthcoming?
 
 Aloha = Beau.

In ActiveState's announcement about the beta release they say
that they expect to support a complete 5.8 ppm repository when an
official release is made. There's no estimate given of when that
might be. The modules you mention above though I have compliled
and tested some with perl-5.8, and I'll add them to our
repository if they're not in ActiveState's.
 
-- 
best regards,
randy




Re: [Win32] nmake error compiling mod_perl.so

2002-11-08 Thread Randy Kobes
On Thu, 7 Nov 2002, jheckel wrote:

 Hi
 since two weeks I can no longer compile the mod_perl-2.0 package from 
 the snapshot server without errors. The last good compilation was 
 10/27/2002:-(
 
 Apache version 2.0.44-dev, WinXP, Perl 5.6.1 Build 633.
 
 My install commands:
 perl Makefile.PL MP_AP_PREFIX=f:/apache2
 nmake
 nmake install
 .
 C:\Programme\Microsoft Visual Studio\VC98\lib\msvcrt.lib -def:Access.def
 Creating library ..\..\..\blib\arch\auto\Apache\Access\Access.lib 
 and object
 ..\..\..\blib\arch\auto\Apache\Access\Access.exp
 Access.obj : error LNK2001: unresolved external symbol _newSVpvf
 ..\..\..\blib\arch\auto\Apache\Access\Access.dll : fatal error LNK1120: 
 1 unresolved externals

The following patch,
==
Index: xs/Apache/Access/Apache__Access.h
===
RCS file: /home/cvspublic/modperl-2.0/xs/Apache/Access/Apache__Access.h,v
retrieving revision 1.6
diff -u -r1.6 Apache__Access.h
--- xs/Apache/Access/Apache__Access.h   22 Oct 2002 15:13:22 -  1.6
+++ xs/Apache/Access/Apache__Access.h   9 Nov 2002 05:06:47 -
 -60,7 +60,7 
 const char *errmsg;
 AV *config = newAV();
 
-av_push(config, newSVpvf(%s %s, directive, val));
+av_push(config, Perl_newSVpvf(aTHX_ %s %s, directive, val));
 
 errmsg =
 modperl_config_insert_request(aTHX_ r,

===
allows this symbol to be found, and the associated access
tests pass with perl-5.8 on Win32.

-- 
best regards,
randy




Re: Signal Handling in mod_perl ...

2002-11-08 Thread Ged Haywood
Hi there,

On Sat, 9 Nov 2002, Sylbert L wrote:

 I have this response handler, within which I've written this signal
 handler. When I pass a signal to that particular process, it is
 handled only when a request is processed, not when the signal is
 really received

Apache has told its children to sleep until there's a request for them
to process.  That's what it does.

 What I'm trying to do is .. communicate between processes

There have been many posts to this List about IPC (Inter Process
Communication), with mod_perl, you might like to check the archives.
Without more information I wouldn't know if what you're trying to do
is a reasonable approach, but it sounds like hard work.

73,
Ged.




Re: Apache 1.3.27 + Mod_perl(sunOS Solaris) installation problem

2002-11-08 Thread Ged Haywood
Hi there,

On Fri, 8 Nov 2002, Manish Anand wrote:

 I am trying to install Apache1.3.27 + Mod_perl 1.27... I was successful in
 eventually installing the apache with mod-perl support. I verified that
 mod-perl was installed by 'httpd -l' command. Everything seemd to be
 working the way it shoudl, but when i run the server... it says 'httpd
 server started' ... but actually the server is not started. The post is
 inaccessible through the browser and when u give the command to stop the
 http server, it says that the server is not running.
 
 Kindly, let me know the cause of such a problem and remedies to overcome
 them.

You do not give enough information to say what might be wrong.  Please
read the documentation concerning what information should be given in
messages to this list, and then provide that information.  The first
document you should to read is

.../mod_perl-1.27/SUPPORT



73,
Ged.




Re: [Win32] nmake error compiling mod_perl.so

2002-11-08 Thread Juergen Heckel
Randy Kobes wrote:

Does 
 W:\programme\Perl\site\lib\auto\Apache\RequestRec\RequestRec.dll
exist? This problem may have arisen from an earlier, incomplete,
install, or perhaps trying to install/uninstall mod_perl while
the server was running. Maybe try making sure the server is
stopped, then doing an 'nmake install' again, perhaps twice.


Hi,
that was my fault: I forgot that Apache was still running on my W2k 
server in the LAN:-(

Juergen


Re: [Win32] ActivePerl-5.8 beta released

2002-11-08 Thread Juergen Heckel
Randy Kobes wrote:

Of relevance to mod_perl-2 Win32 users, ActivePerl just released
a beta version of their perl-5.8 binary; see
   http://www.activestate.com/Products/ActivePerl/


Hi,
thank you again. I was looking there the last days without finding the 
new version.

Juergen