deleting it did not reproduce this
error.
Software specs:
Apache 1.3.27
mod_perl 1.27
Apache::Session 1.54
MySQL 4.0.13
Thanks,
Dan
I have apache 2.044 installed on win2k. I want to install the mod_perl which comes with apache included (version 2.046).What do I need to do with the current 2.044 version before installing the new version? Do I uninstall it, stop it, or nothing?Once I install the new version what are the steps to
On Wed, Feb 26, 2003 at 11:45:32AM -0700, [EMAIL PROTECTED] wrote:
On Wed, Feb 26, 2003 at 01:09:46AM -0500, Dan Brosemer wrote:
Here's the thread to date:
http://marc.theaimsgroup.com/?l=apache-modperlm=104586287823510w=2
helo;
I am seeing problems with mod_perl in OpenBSD 3.2
chroot
Here's the thread to date:
http://marc.theaimsgroup.com/?l=apache-modperlm=104586287823510w=2
On Sun, Feb 23, 2003 at 10:27:22AM -0500, Dan Brosemer wrote:
On Sun, Feb 23, 2003 at 04:35:39AM -0800, Ask Bjoern Hansen wrote:
Hi. I'm new here, and hoping someone can help me. I've installed
On Sun, Feb 23, 2003 at 04:35:39AM -0800, Ask Bjoern Hansen wrote:
On Fri, 21 Feb 2003, Dan Brosemer wrote:
Hi. I'm new here, and hoping someone can help me. I've installed the
latest -current version of OpenBSD, and loaded mod_perl as a DSO. That gets
me Apache 1.3.27, Perl 5.8.0
On Sun, Feb 23, 2003 at 04:26:51PM +0100, Dr. Helmut Zeilinger wrote:
Hi Dan,
i had a similar problem with DBI. Did you reinstall (recompile) the
DBI module after you installed Perl 5.80 from a previous Perl version (and
maybe all DBD drivers)?
No. This was a fresh install of OpenBSD 3.3
at my wit's end, so any help would be greatly appreciated. I've pased a
backtrace from 'httpd -X' and the script I've been using to test.
Thanks in advance for any help.
-Dan
These are taken using DBD::mysql. I'd be happy to provide backtraces using
other modules if they'd be useful
This makes the syntax tree dump work for Apache::Status
--- lib/Apache/Status.pm.orig Tue May 28 09:33:28 2002
+++ lib/Apache/Status.pmTue Sep 24 12:09:56 2002
-345,6 +345,7
sub noh_b_terse {
my $r = shift;
+return unless eval { require B::Terse };
.
My question is this...can I run my application using this purified perl
under mod_perl to track down potential memory leaks and other problems? Are
there any issues with running Perl for testing with Purify on a mod_perl
enabled webserver?
Thanks for the advice.
--Dan
I understand. But, given a new 'purified' perl binary I could build using
Purify, would it allow me to diagnose or trace memory leaks back to my Perl
code? I'm asking from a theoretical basis here, since I agree with you, I
doubt I have any memory leaks.
Thanks.
--Dan
-Original Message
At 6:56 PM -0700 5/21/02, Doug MacEachern wrote:
On Tue, 21 May 2002, Dan Wilga wrote:
I am using Perl 5.6.1, modperl 1.25, and yes it's a DSO. It's compiled with:
with 1.25, you can also set the PERL_DESTRUCT_LEVEL environment variable
to 2, either before starting the server:
export
At 8:41 AM -0700 5/22/02, Doug MacEachern wrote:
On Wed, 22 May 2002, Dan Wilga wrote:
Interesting. When I do that, I get the same problem I did when I
tried to run with 1.25_01 and 1.26: Apache core dumps. I think I'll
have to try compiling it again with the latest version of mod_perl
being run, beyond
initialization. (I use a PerlRequire to load a bunch of libraries at
startup.)
Are there any FAQs that address the reason for such large leakage? Or
is this just an unavoidable problem with graceful restarts?
Dan Wilga [EMAIL PROTECTED
compiled with:
USE_APACI=1 SSL_BASE=/usr/local/ssl DO_HTTPD=1
So I guess the solution is to go to 1.26 or newer; I'll try that
later in the week.
Dan Wilga [EMAIL PROTECTED]
Web Technology Specialist http://www.mtholyoke.edu
Mount Holyoke
I would also suggest using BerkeleyDB.pm, but with the
DB_INIT_MPOOL|DB_INIT_CDB flags. In this mode, only one writer is
allowed at a time, and Berkeley automatically handles all the locking
and flushing. Just don't forget to use db_close() to close the file
before untie'ing it.
Dan Wilga
=DB_CREATE,
-Filename=$file,
-Env=$env );
die Can't open $file: $! .$BerkeleyDB::Error.\n if !$db_key;
return $db_key;
}
Dan Wilga [EMAIL PROTECTED]
Web Technology Specialist
Hi,
I'm writing a filter using modperl-2.0, and trying to figure out how to
get per-directory configuration information passed into it. I've tried
both PerlSetVar and PerlSetEnv, but nothing seems to be getting
through. Below is a section of the httpd.conf and the code.
The attempt to
of this somewhat convoluted load/clear/add
procedure is for the static modules to end up in the right spots in
the module list relative to all the DSOs, rather than all bunched up
at one end, since the order does matter (a lot).
--
Dan Riley [EMAIL PROTECTED]
Mr
the
environment, which is needed for DB's internal locking.
In a production environment with thousands of hits per hour coming in
on multiple threads, I really don't trust flock() to do the job.
Dan Wilga [EMAIL PROTECTED]
Web Technology Specialist
,
-Filename=$file,
-Env=$env );
die Can't open $file: $! .$BerkeleyDB::Error.\n if !$db_key;
return $db_key;
}
Dan Wilga [EMAIL PROTECTED]
Web Technology Specialist http
At 1:32 PM -0500 3/21/02, Perrin Harkins wrote:
Dan Wilga wrote:
If I either use DB 3.x or even run this from the commandline
(bypassing mod_perl) under DB 4 the problem goes away: only one
locker is allocated per loop, and therefore the total number used
does not increase unexpectedly
At 1:55 PM -0500 3/21/02, Perrin Harkins wrote:
Dan Wilga wrote:
What surprises me is that all I have to do to introduce the problem
is run it under mod_perl. It acts normally when run from the
commandline.
Well, let's see, what would be different...
Is it possible that the problem
figured out that the problem persists even when mod_perl is
completely disabled, so the problem must lie in either Apache or
Berkeley DB. (As a diagnostic, I think I'll try disabling
mod_auth_db.* and mod_ssl, since they both use DB.)
Thanks for the quick responses, folks!
Dan Wilga
of those times I really wish I could go back and edit my
posts :-). Anyone reading this thread will now be seriously confused.
So I'll try Aaron's suggestion of writing it as a handler. Any other
suggestions are welcome.
Dan Wilga [EMAIL PROTECTED]
Web
doing it as a handler, using the configuration below (and the
appropriate changes in the source) and the problem persists. So it
doesn't seem to be Registry's fault.
Location /dan
SetHandler perl-script
PerlHandler DanTest
/Location
source code
#!/usr/bin/perl
package
?
---
Marc Slagle wrote:
Maybe you can try Apache::PerlRun instead of Apache::Registry for the
directories that you need to run those scripts. The perldocs show how to
set it up.
Marc Slagle
- Original Message -
From: Dan Baker [EMAIL PROTECTED]
To: [EMAIL PROTECTED
Rick Myers wrote:
On Feb 27, 2002 at 21:14:00 -0700, Dan Baker wrote:
I am working with a host that has everything under /cgi-bin running
mod_perl by default, and well as using EmbPerl to run the dynamic pages
This begs the question, how are they doing that?
I mean, if they're
that a specific
sub-dir uses regular perl.
Dan
.
#!/usr/bin/perl
unless (-t STDIN) {
@a = STDIN;
} else {
print No file\n;
}
HTH!
--
Dan Boger
Linux MVP
brainbench.com
I've read through the previous messages on this topic, and have modified
my blib/lib/Apache/test.pm as did export PERL_HTTP_URI_CLASS=URI::URL .
Now when I make test I get:
Can't locate URI/URL/_generic.pm in @INC (@INC contains: . ../blib/lib
../blib/arch /usr/lib/perl5/5.6.0/i386-linux
I got mod_perl installed with Apache, but then couldn't get libapreq added
Dan
-Original Message-
From: úÁÑÃ á.á. [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 8:14 PM
To: [EMAIL PROTECTED]
Subject: mod-perl with cygwin
Hello modperl,
Can anybody install mod_perl
is not
installed. ppm -query mod_perl suggests that it is installed correctly by
ppm. I have tried installing and reinstalling, but to no avail.
I have also entered:
LoadModule perl_module modules/mod_perl.so
in httpd.conf, which parses okay.
Any ideas?
Dan
CU, cheers for this -
2 Things:
1. I reinstalled apache in c:/apache
2. I added AddModule mod_perl.c as you mentioned below. I did try with my
old installation, but it didn't seem to parse. I don't know what was
different this time other than my installation directory
Thanks again
Dan
Sorry - I forgot to say that after I reinstalled apache in included
AddModule mod_perl.c it all worked okay
cheers
Dan
-Original Message-
From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 10:09 PM
To: Dan Horne
Subject: Re[2]: Installing
equest/../blib/arch/auto/libapreq -lapreq
make[1]: *** [../blib/arch/auto/Apache/Request/Request.dll] Error 1
make[1]: Leaving directory `/tmp/libapreq-0.33/Request'
make: *** [subdirs] Error 2
__END__
Has anyone got this working? I'd certainly appreciate some feedback
Thanks
Dan
On Tue, Sep 18, 2001 at 04:07:59PM -0700, Nick Tonkin wrote:
Heh, as Nat maybe saw the worm doesn't always request ?/c+dir, so until I
can figure out a better way to identify it we'll have to go with
cmd.exe|root.exe
Here's a sample Nimda hit (courtesy of 'nc -l -p 80' -- try it yourself
on
ning when AutoCommit is on, but seems to
solve the problem.
Dan
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
://webhsot.riverside.ca.us/users/dan
Summary: 20 years C, 5 years Perl, 5 years CGI, 1 year mod_perl
and HTML::Mason.
Dan Mahoney
[EMAIL PROTECTED]
requests to go through the encrypted side so
the passwords is never passed in plain text.
We do this via an old-fashioned 403 handler on the unencrypted side
that returns a 302 redirect to an https URL. The vhost for the
encrypted side overrides the 403 handler with our standard handler.
--
Dan Riley
.
Thanks,
Dan
Setting up Apache with mod_proxy to cache content from a mod_perl server
The documentation for mod_proxy can be found at
http://httpd.apache.org/docs/mod/mod_proxy.html. Unfortunately, aside
from the configuration parameters, not much detail
unsubscribe modperl
On Thu, 10 Aug 2000, Roger Espel Llima wrote:
I'm trying to set up a proxy front-end server to my heavy mod_perl
backend, and I'm having some trouble with name-based virtual hosts.
Basically, with a rule like "RewriteRule ^/(.*) http://10.36.1.10/$1 [P]",
the proxy sends an http request to
On Fri, 4 Aug 2000, Vivek Khera wrote:
"NT" == Nathan Torkington [EMAIL PROTECTED] writes:
NT I see some programmers don't check header_only(). Are there
NT bad things in store if you don't? Or will Apache or the browser
NT simply ignore the body that gets created?
My experience is
On Thu, 3 Aug 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Rob Giseburt) wrote:
Are .htaccess files secure? I don't want users to be able to use
perl.../perl sections or any other mod_perl constructs (setting scripts
to run via the Registry, for example) in .htaccess files. However, I
reciate hearing from you!
TIA,
--Dan
--
Dan O'Connor
On Matters of Most Grave Concern
http://www.mostgraveconcern.com
FreeBSD Cheat Sheets
http://www.mostgraveconcern.com/freebsd/
2.02.
--
Dan Campbell
I had a situation where a pnotes() key set in one phase had a value I
did not expect in a later phase. Here's a small module that I wrote
as a HeaderParserHandler to illustrate:
package Ii::Apache::pnotes;
use Apache::Constants 'OK';
sub handler {
my $r = shift;
On Wed, 12 Jul 2000, Greg Leidreiter wrote:
Firstly becuase the Eagle book seems very rigorous to me, and such an
oversight as forgetting to push a path into @INC should have been picked up
well before now. I've never heard mention of this problem...
mod_perl automatically adds {ServerRoot}
On Mon, 19 Jun 2000, Matt Sergeant wrote:
On Mon, 19 Jun 2000, Edwin Pratomo wrote:
how to get configuration values at run-time, such as DirectoryIndex?
I don't think you can - that configuration directive is specific to
mod_index, and only mod_index can access it, AFAIK.
Yes you
On Fri, 23 Jun 2000, Steve van der Burg wrote:
Taking your remote_ip hint, and reading the Eagle a bit more closely,
I came up with this:
In httpd.conf:
Location /cgi-bin/VENDOR
PerlAccessHandler LHSC::FakeRemoteIP
/Location
Why an Access handler? I realize it works, but a more
On Sun, 4 Jun 2000, Ben Cohen wrote:
The problem is that when a mod_perl script modifies the PATH
environment variable, this change seems to become global and
affects even plain old mod_cgi scripts.
While I also wonder (as another respondent did) why a mod_perl script would
need to alter
ith
CGI.pm, or with the interaction between the two. Hopefully someone involved
with that area of the code can take a look.
I guess I'll go ahead with my installation and hope everything's okay
despite the failure.
--
Dan Harkless
[EMAIL PROTECTED]
time it worked with no
problem.
--
Dan Harkless
[EMAIL PROTECTED]
nformation, etc.
-jwb
Are you using Apache::ASP to generate sessions?
Has anyone tried using Tie::DBI to store Apache::ASP sessions in a db?
That might solve problems with NFS sharing issues, though it might also
bog things down.
Dan
and a
given user has to be consistently sent back to the same machine? Can
round-robin DNS be counted on to send people back to the same server
over the life of a given session?
Dan
$Response-{ContentType} setting overridden.
I commented out the $r-content_type line in Apache::SSI and now
everything works fine. Is there a compelling reason for keeping that
setting in there? I can imagine people might use SSI to spit out more
than HTML code.
Dan
Details:
Apache::SSI 2.21
from this site or from mod_perl
programmers.
Which may cause some headscratching.
Dan
ust goes away.
My specs:
apache 1.3.12
mod_perl 1.21 static (upgrading to 1.22 now to see if it fixes anything)
Apache::ASP 0.18
perl 5.005_03
Redhat 6.1 / kernel 2.2.12
Dan
René Seindal wrote:
I have a problem thats bothering me. Sometimes one of the httpd childs
start to send normal output to th
On Thu, 16 Dec 1999, Eugene Miretskiy wrote:
Recently I experienced similar problems on Solaris.
I had to rebuild perl as shared libperl.so Perl library for mod_perl
to work -- see perl intall manpages.
Thanks! This appears to have fixed my problem (though it may have broken
CPAN.pm --
password as expected. It all works. However, my customer has asked for
either a
timeout, a [Logout] button, or both so that the browser basically
'forgets' the
user id. This would then remove the requirement for the user to close down
the
browser when they leave their system.
Exactly.
' for module
DBI: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI/DBI.so: undefined
symbol: PL_dowarn at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
169.
Would someone kindly point me in the right direction?
Thanks,
Dan
I did some experimenting with my Solaris2.5.1/mod_perl/Data::Dumper/Storable
problem that I wrote about last week. A grid:
| mod_perl 1.21 | 1.21-dev (19991101174047)
-+---+--
perl5.004_05 | works fine| didn't try
perl5.005_03 |
We use a TransHandler to (among other things) manage name-based virtual
hosts (simply put, given the incoming Host: header plus URI, map to a file).
We (of course) sanitize the incoming URI and Host. It works fine.
I "save" the sanitized hostname like so:
$r-header_in('Host',$host);
On Fri, 29 Oct 1999, I wrote:
I can only think of a couple options: hack http_core.c to do what I want,
or write a custom LogHandler that uses the sanitized host.
We've decided on another option: if you're sending a Host: header that
needs "sanitation," then either 1) you're trying to run
s on where I ought to look next?
Dan Mahoney
[EMAIL PROTECTED]
TYPE 1
PARENT undef
KIDS 1 (1 active)
IMP_DATA undef in 'DBD::mysql::dr'
dbih_clearcom 0x3c5cbc (com 0x58d3c8, type 1) done.
Are you using the latest drivers?
I hope so! I'll go check now.
Dan
apache/smtp/perl-scripts/IEO/headline.pm line 25.
[Wed Oct 27 17:30:23 1999] null: We got -2 records
[Wed Oct 27 17:30:23 1999] null: DBD::mysql::st fetchrow failed: fetch() without
execute() at /usr/local/apache/smtp/perl-scripts/IEO/headline.pm line 29.
For some reason the $sth-execute() works ok
I'm having problems with modules that use DynaLoader (Data::Dumper and
Storable, specifically) under mod_perl on Solaris machines.
These modules work fine in standalone scripts, or when run under mod_cgi
or mod_fastcgi, but as soon as I put a "use Storable" in a mod_perl handler,
I get this in
On Tue, 19 Oct 1999, Mark Cogan wrote:
On Tuesday, October 19, 1999 4:13 AM, William Deegan
[SMTP:[EMAIL PROTECTED]] wrote:
How can I change the environment variables that get passed to a perl
script running under Apache::Registry from a PerlTransHandler?
I'm using the
auth ac1ee78e subscribe modperl [EMAIL PROTECTED]
70 matches
Mail list logo