On Sunday, October 17, 1999 5:24 AM, Miguel A.L. Paraz [SMTP:[EMAIL PROTECTED]] wrote:
> Hi all,
>
> I would like to know if this is at all possible with the "stock" modules,
> or if I have to rolly my own.
>
> I want to make a "membership" site where users can access their private
> pages ats h
Is it possible to access data from an arbitrary $Session object from the
$Application object. For example, say for each Session opened, I store the
username in $Session->{'user'}. Can I get a list of all the users currently
connected to the server? What about arbitrary data currently stored in
[CC'ing this to modperl list, this is something of general interest and
a good topic for an interesting thread]
> Just reading through your excellent mod_perl guide and the section regarding
> using accelerator/cache proxies made me think of the following question:
>
> What about HTTP/1.1 and k
Doug MacEachern wrote:
>
> very wierd. do you have PerlFreshRestart On? try turning it Off. there
> was a report a while ago about one of the MIME:: modules pulling a stunt
> at the file-scope level, that is only exposed if the module is reloaded
> (which FreshRestart does)
>
> -Doug
I do no
On Mon, 18 Oct 1999, Gerald Richter wrote:
> Your config looks ok to me, the result is strange! Did the "make test" of
> Embperl work for you without errors?
>
> Gerald
>
Here is my make test in embperl:
esip 27# make test
PERL_DL_NONLAZY=0 /usr/sbin/perl -Iblib/arch -Iblib/lib
-I/us
Hi, all
Geoffrey S Young and David Harris created both the RPM and documented the
logic and possible pitfals with installing mod_perl from RPMs. Those of
you that have asked for help regarding RPMs, would you please go thru the
document and see whether it answers your woes, and of course the RPM
Hi.
I have an apache server (1.3.6/Solaris 5.6) running mod_perl/1.21.
For it, I have a fairly complex handler involving several classes, some
of which bind to libraries (one of them is ImageMagick).
The server is configured to only allow requests for this module, and does
not serve any s
Hi, as I can see, my first letter didn't get any attention. I think such
"behavior" is very weird:
Lets consider two separate files, with different names:
first.html
[-$qstr="/trtickets/solvermodules/contract_ver2_refuse.html?$fdat{blaah}";-]
Blaah
[-$qstr="/trtickets/solvermodules/contract_ve
On Monday, October 18, 1999 5:42 PM, Marc D. Spencer [SMTP:[EMAIL PROTECTED]] wrote:
> Hi.
>
> I have an apache server (1.3.6/Solaris 5.6) running mod_perl/1.21.
>
> For it, I have a fairly complex handler involving several classes, some
> of which bind to libraries (one of them is ImageMagi
I've my apache loglevel currently set to crit, but Embperl errors such as the
one below continue to show up in my error_log.
[3396892]ERR: 30: Line 1: Not found /usr/lund/wwwfiles/wnetdoc/map.c.html
Only if my LogLevel is set to error or a more verbose level should this error
find its way to th
given the process pid, there are two ways to find out where it's hanging:
depending on os:
% truss -p $pid
or
% strace -p)
and
% gdb /usr/local/apache/bin/httpd $pid
(gdb) where
-Doug
> > > I would like to load the following modules at start up (I have them in
>startup.perl file
> > >END failed--cleanup aborted.
> > > END {
> > > DBI->trace_msg("-> DBI::END\n", 2); ##LINE
>311
wait, this happens at startup? you must have mod_perl c
Adi wrote:
>
> Is it possible to access data from an arbitrary $Session object from the
> $Application object. For example, say for each Session opened, I store the
> username in $Session->{'user'}. Can I get a list of all the users currently
> connected to the server? What about arbitrary dat
Thanks for your help. I guess I was wondering if one could get a reference
to the $Session object directly without needing to add each value to
$Application as it is stored. So to access arbitrary Session data from
Application I need to store it in Application at the same time it's stored
in Se
Adi wrote:
>
> Thanks for your help. I guess I was wondering if one could get a reference
> to the $Session object directly without needing to add each value to
no, you have access to the current $Session, but not to other users'
$Sessions.
> $Application as it is stored. So to access arbitra
>
> I've my apache loglevel currently set to crit, but Embperl errors
> such as the
> one below continue to show up in my error_log.
>
> [3396892]ERR: 30: Line 1: Not found /usr/lund/wwwfiles/wnetdoc/map.c.html
>
> Only if my LogLevel is set to error or a more verbose level
> should this error
>
apache-1.3.9
mod-ssl-2.4.2
OpenSSL-0.9.4
mod-perl-1.21
HTML-Embperl-1.2b10
Irix-6.5
Regards,
Christian
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Gerald Richter
> Sent: Monday, October 18, 1999 2:48 PM
> To: Christian Gilmore; ModPerl Mailing
> Starting httpd... pid = 8057 ok
>
> Testing mod_perl mode...
>
> ascii... 8057:/usr/local/apache/bin/httpd: rld:
> Fatal Error: attempted access to unresolvable symbol in
> blib/arch/auto/HTML/Embperl/Embperl.so: mod_perl_sent_header
As long as "make test" did not w
>
> apache-1.3.9
> mod-ssl-2.4.2
> OpenSSL-0.9.4
> mod-perl-1.21
> HTML-Embperl-1.2b10
> Irix-6.5
>
That should work. Could you search in the file epmain.c, in function
LogError the line
log_error (sText, r -> pApacheReq -> server) ;
and the line
fprintf (stderr, "%s\n", sText) ;
and comme
Joshua Chamas wrote:
> > Do you think there are any advantages to adding a "Get_Session" method to
> > $Application that will return a reference to the Session object with a given
> > ID? e.g.
> >
>
> Only if you do. Why would you want to do such a thing ? There
> may be other ways around your
At 12:30 PM -0400 10/18/99, Doug MacEachern wrote:
>given the process pid, there are two ways to find out where it's hanging:
>
>depending on os:
>% truss -p $pid
> or
>% strace -p)
>
>and
>
>% gdb /usr/local/apache/bin/httpd $pid
>(gdb) where
>
>-Doug
Unfortunatly,
Bin there, did that...
truss
Marc,
this is mighty weird. truss usually reports the last call the application
made, if it is really hanging (poll() and select() and that kind of stuff).
I've never seen just printing "nothing".
If you're on Solaris, have you tried the /usr/proc/bin stuff. "pflags
[pid]", "pstack [pid]" ?
Tobi
Gerald,
Nothing gets reported to the error log when those lines are commented out, no
matter apache's LogLevel setting. The entry in the logfile that I'm seeing is
apparently coming from the printing to stderr. I also have the same problem
under a simpler configuration on Solaris (no ssl, no adde
> > Starting httpd... pid = 8057 ok
> >
> > Testing mod_perl mode...
> >
> > ascii... 8057:/usr/local/apache/bin/httpd: rld:
> > Fatal Error: attempted access to unresolvable symbol in
> > blib/arch/auto/HTML/Embperl/Embperl.so: mod_perl_sent_header
>
> As long as "ma
Doug MacEachern wrote:
>
> > > > I would like to load the following modules at start up (I have them in
>startup.perl file
>
> > > >END failed--cleanup aborted.
> > > > END {
> > > > DBI->trace_msg("-> DBI::END\n", 2);
>##LINE 311
>
> wait, this happen
> >% gdb /usr/local/apache/bin/httpd $pid
> >(gdb) where
> Unfortunatly,
>
> Bin there, did that...
what about attaching with gdb?
Adi wrote:
>
> I suppose I could do it all through an Application->{SessionID} structure,
> but then I wouldn't be using the Session object at all. And I do have some
> locking going on, which would make this very unwise. There could be serious
> bottleneck if everyone is just using Application
System:
Solaris 2.6
Apache 1.3.9/mod_perl 1.19/gcc 2.8.1/perl-5.004.04
I'm using SecurID to authenticate for an Apache proxy server. I've
written a little perl module that uses a username/tokencode returned by
basic auth to validate a user and return a session cookie. The SecurID
auth works f
On Mon, Oct 18, 1999 at 12:00:07PM +0200, Stas Bekman wrote:
>
> [CC'ing this to modperl list, this is something of general interest and
> a good topic for an interesting thread]
:)
I'm not currently subscribed to this as I'm extremely new to mod_perl. I
hope people keep me on the cc list until
Another question on the issue of slow (modem) connections and having a
lightweight front-end to the mod_perl servers...
A slow modem connection would typically exist between a client computer and
an ISP; the ISP would have a fast network connection to the Internet. Are
there any ISPs that do sig
Hi,
I have to use Apache::ASP for a project of mine.
The client wants to have a java applet which will send
some information in an encrypted fashion to the ASP .
The ASP will have to recieve this encrypted
information and then send it to the apache server.
I want to know if this is possible
Hmmm. On Friday night one of my servers (Solaris 5.6, modperl 1.21,
Apache 1.39) was hosed. Logging in to it, I found about 20 httpd children
spinning, eating cpu cycles.
I didn't dig into it, just killed the parent server (ungracefully) and
restarted, but mentioning it here in case this is som
I've been using mod_perl with Raven's SSL package for some time now, but I'm
building a refresh of our environment with new versions of everything and I
ran into trouble. I decided to use APXS this time instead of building
mod_perl statically. Everything compiled and installed fine but Apache
im
Devarajan MN wrote:
>
> Hi,
> I have to use Apache::ASP for a project of mine.
> The client wants to have a java applet which will send
> some information in an encrypted fashion to the ASP .
> The ASP will have to recieve this encrypted
> information and then send it to the apache server.
>
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 PerlTransHandler to do a sort of dynamic mod_rewrite
functionality.
Thanks,
Bill
begin:vcard
n:Deegan;William
tel;fax:650-638-7890
tel;work:650-638-
At 22:00 16/10/1999 +0200, Stas Bekman wrote:
>After reworking the initial design based on the comments I've received,
>the next version was release at SourceGarden see
>http://modperl.sourcegarden.org/ - it's being created by Site::Builder -
>you can retrieve it from the garden's Safari pet:
>
>h
This message was sent from Geocrawler.com by "Darko Krizic" <[EMAIL PROTECTED]>
Be sure to reply to that address.
I have a PerlHandler (content handler) like this:
SetHandler perl-script
PerlHandler BSB::MyScript
PerlInitHandler Apache::StatINC
PerlSendH
Does anyone know of any good open source test builders for
regression/performance-testing a mod_perl app?
This is the essence of what I would want such a suite to do:
RECORD:
-set up a proxy server to forward HTTP requests to a mod_perl'd server.
-capture all GET/POST requests from the client and
> Devarajan MN wrote:
> >
> > Hi,
> > I have to use Apache::ASP for a project of mine.
> > The client wants to have a java applet which will send
> > some information in an encrypted fashion to the ASP .
> > The ASP will have to recieve this encrypted
> > information and then send it to the
> >I'm very excited about you picking the flag and actually doing the
> >redesign. Since modperl.sourcegarden.org is a sister site of
> >perl.apache.org, the two will be tighlty reconnected. We are going to
> >absorb some of the pages from the current mod_perl site. I'm talking about
> >3rd party
> Does anyone know of any good open source test builders for
> regression/performance-testing a mod_perl app?
>
> This is the essence of what I would want such a suite to do:
> RECORD:
> -set up a proxy server to forward HTTP requests to a mod_perl'd server.
> -capture all GET/POST requests from
Tim Bunce writes:
> On Fri, Oct 15, 1999 at 11:42:29AM +0100, Matt Sergeant wrote:
> > On Fri, 15 Oct 1999, Perrin Harkins wrote:
> > > On Thu, 14 Oct 1999, Jeffrey Baker wrote:
> > > > Zero optimization: 41.67 requests/second
> > > > Stage 1 (persistent connections): 140.17 requests/second
On Mon, Oct 18, 1999 at 07:08:09AM -0700, Michael Peppler wrote:
> Tim Bunce writes:
> > On Fri, Oct 15, 1999 at 11:42:29AM +0100, Matt Sergeant wrote:
> > > On Fri, 15 Oct 1999, Perrin Harkins wrote:
> > > > On Thu, 14 Oct 1999, Jeffrey Baker wrote:
> > > > > Zero optimization: 41.67 requests
On Fri, Oct 15, 1999 at 11:42:29AM +0100, Matt Sergeant wrote:
> On Fri, 15 Oct 1999, Perrin Harkins wrote:
> > On Thu, 14 Oct 1999, Jeffrey Baker wrote:
> > > Zero optimization: 41.67 requests/second
> > > Stage 1 (persistent connections): 140.17 requests/second
> > > Stage 2 (bound parameters):
Hi,
I keep persistent db connections and would like to
explicitly disconnect db when killing httpd.
I have custom module where I initialize db connection, prepare sth's
( will use them in Mason components ) once for per children
and several methods which have deal with my database. Here I have
D
45 matches
Mail list logo