Hi, on Solaris 7/Sparc, I'm trying to get Apache-DBILogin-1.5 to work
and apparently it needs IPC-SysV for some reason. IPC-SysV-1.03 make'd
ok, but make test fails on t/sem as below.
Is this test failure anything to worry about anybody?
IPC-SysV-1.03 [ 178 ] make test
PERL_DL_NONLAZY=1
That got it. I cannot thank you enough. The sites are smokin' now.
Recap for interested parties:
* Solaris 2.7
* mod_perl 1.21
Observed bugs:
* occassional httpd processes stop responding
* they stay in 'run' state (via 'top')
* only print 'brk(...)' on
Hi all,
Currently, Apache::AuthCookie uses:
$r-err_header_out("Set-Cookie" = ...
to set its cookie.
However, if you're authentication or authorization routines also sets
a cookie, then it will get overwritten by the above code.
Below is a proposed patch to AuthCookie.pm that I believe
Hi:
We're planning on migrating to an Apache::Session + mysql approach for
managing session state, for a large-ish site hosted on multiple servers.
While there have been many useful discussions on this list concerning the
technologies involved, I haven't seen many war stories from the field,
Simon Rosenthal [EMAIL PROTECTED] wrote:
b) Does anyone have redundant database servers ? If so ... are there any
implementation gotchas ? and if you have a single server, how does session
management work when it goes down ? (I'm pretty happy with the hardware -
Suns - which we have, but a
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.
Dan Rench wrote:
On Mon, 13 Dec 1999, Doug MacEachern wrote:
are you still stuck on this?
Yes. To reiterate:
Solaris 2.5.1
I am getting the following error when trying to
use Apache::URI
---
[Thu Dec 16 11:52:28 1999] [error] Apache::WebSQL: `Can't locate loadable object for
module Apache::URI in @INC (@INC contains: .
Hi!
I've got some problems here in compiling mod_perl with DSO support on a
solaris server.
I always get a "relocation error: ... :symbol main: referenced symbol not
found"
Anybody could help me with this ?
-- Mirko
Hi Simon,
This is not an answer to any of your questions, but your mail reminded
me of a "gotcha" relating to Apache::Session and Apache::DBI that is
probably totally obvious to the gurus on this list.
When Apache::Session::DBI connects to a database, it calls:
$self-{dbh} = DBI-connect(
Hi Andrea,
Have you looked at
http://perl.apache.org/guide/porting.html#Sometimes_it_Works_Sometimes_it_?
This may not answer your question directly, but at least may give you some
ideas on how to approach the problem...
Cheers
Dmitry
At 10:05 AM 12/16/99 , Andrea Brugiolo wrote:
Read about how Perl passes parameters :-)
You shift the value of your parameter into $bb, now you modifiy $bb, but $bb
is a variable of it's own, it has nothing to do with the parameter you pass.
Reread my example and write your sub like this:
[$ sub TTEST $]
[- $aa = 3; -]
p$aa is
I use Apache config file with
PerlTransHandler entry. Yes I set
DECLINED, but actually it doesn't matter
in this case, because the LAST
handler out of all installed PerlTransHandlers in the
file actually gets invoked by Apache in my test.
If it be the FIRST, I would suspect that I
messed up
My apologies to Alex... I wasn't expecting Parand Darugar to forward this
to the modperl list in the first place.
I do still feel the same way that I did when I first wrote the letter,
though... Focus on vender support instead of compairing it to mod_perl, I
think it is a better marketing
On 14 Dec 1999, Randal L. Schwartz wrote:
Sounds to me like they are precisely at odds with anyone doing the
kind of blocking that I want to do.
That seems like a weird policy, though. nmap, for example, helps people
do dastardly things, but that doesn't mean nmap is a bad program; it's how
Hi everybody!
I set
DocumentRoot /home/httpd
in httpd.conf
However I am getting $r-document_root()
as '/home/httpd/html' in my first Translation handler.
I am wondering is there another place where it
might be soft/hard coded? I use prebuilt version
of Apache coming with Linux
PerlPostReadRequestHandler 'sub { Apache-request(shift) }'
doug,
thanks for the response. I had tried the bandaid with no luck.
Probably should have said that in the post :-) I will try to get a simple
example out today that shows the problem in full. I have worked around it
by creating
raptor wrote:
hi,
Is there Session module that has capability more like ASP::Session
rather than Apache::Session.(I mean hanlidng the cookies too, Joshua is
it easy to extract Session functionality from ASP as a standalone module
:")).
OR
what mostly the MASON people use to handle
Waa!!! So far nobody who answered even doubted that
it should be possible to have more then one
PerlTransHandler. The "Eagle" book also says
that it should be possible. People suggested that
either my mod_perl built with wrong flags or I messed
up return codes OK/DECLINED (which I didn't!).
Is
Hi there,
On Fri, 17 Dec 1999, Robert Locke wrote:
If you use Apache::DBI, make sure that you call "connect" with the
same arguments as above in your other scripts or you will find
yourself with more than one connection/process to the database, which
may not be your intention.
See the
Hi there,
On Mon, 13 Dec 1999, Albert Liu wrote:
It works, but I never thought i can use this way to pass parameter. Indeed
i never read this in "Programming Perl" book. Perhaps it is at some where
it the book
Second edition, pages 111 to 121 inclusive.
73
Ged.
"Michael" == Michael Plump [EMAIL PROTECTED] writes:
Michael Teleport Pro, by default, is setup to be a nice little web
Michael robot. Just because one user configures the program to be
Michael evil doesn't mean you should stop other people who are trying
Michael to play nice. And since you
What is Apache-DBILogin-1.5 using IPC for?
if it is semaphores - it is not going to work.
looks like there is a bad arg length. I don't
use that package so I am not sure what is in line 135
of Semaphore.pm but you might be able to modify it
to work with Solaris.
cliff rayman
genwax.com
"Brian
All hail the Guide! :-)
However, I would like to say that Apache::Session::DBIStore does the
following:
$self-{dbh} = DBI-connect(
$datasource,
$username,
$password,
{ RaiseError = 1, AutoCommit = 1 }
);
so, if, somewhere else,
On Fri, 17 Dec 1999, Robert Locke wrote:
If you use Apache::DBI, make sure that you call "connect" with the
same arguments as above in your other scripts or you will find
yourself with more than one connection/process to the database, which
may not be your intention. I spotted this by
check out the mail archive.
there is alot of discussion on compiling solaris with DSO support.
http://www.geocrawler.com/search/?config=182words=solaris+DSO
cliff rayman
genwax.com
"Schlottke, Mirko (ARD-aktuell)" wrote:
Hi!
I've got some problems here in compiling mod_perl with DSO
What obvious thing am I missing?
During make test this gets written to the error log:
Can't locate CGI.pm in @INC at /mod_perl-1.21/t/net/perl/cgi.pl line 7.
Ok, so I print out @INC in cgi.pl.
78) %head t/net/perl/cgi.pl
#!/usr/local/bin/perl
BEGIN {
print STDERR join("\n", @INC), "\n";
}
[EMAIL PROTECTED] (Robert Locke) wrote:
Below is a proposed patch to AuthCookie.pm that I believe solves this
problem. Basically, I replaced each occurrence of the above with:
$r-err_headers_out-add("Set-Cookie" = ...
I think you've got the patch backwards.
PS. Who's the current maintainer
Randal Yes, it's possible to configure it so that it works correctly,
Randal but if I recall, I also saw it fetch /cgi/whatever, even though
Randal that was in /robots.txt. I *must* block anything that doesn't
Randal respect /robots.txt. Once they fix that, I might let it loose.
Teleport
On Thu, 16 Dec 1999, you wrote:
Waa!!! So far nobody who answered even doubted that
it should be possible to have more then one
PerlTransHandler. The "Eagle" book also says
that it should be possible. People suggested that
either my mod_perl built with wrong flags or I messed
up return
Allow me to better describe what's happening.
Here's the summary:
The site I'm working on built a new version of perl. Old 5.005, and the
new is 5.005_03.
I can build mod_perl fine using the old 5.005, but not the new 5.005_03.
I'm not building any of this as root, but that shouldn't be a
This is the same problem I've been struggling with.
What has fixed it for me is building Apache and mod_perl from the tar
archives and linking Apache statically (no .so's).
I haven't investigated much further, but even after I built Perl, Apache,
and mod_perl by hand it still happened. Only
31 matches
Mail list logo