RE: Your thoughts about authentication

1999-10-18 Thread Eric Cholet
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

Apache::ASP - accessing Session data from Application

1999-10-18 Thread Adi
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

KeepAlive in mod_perl/proxy setup is evil...

1999-10-18 Thread Stas Bekman
[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

Re: weird mod_perl startup problems

1999-10-18 Thread Eugene Miretskiy
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

RE: new for embperl...

1999-10-18 Thread Jearanai Vongsaard
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

RFC: new section: using RPM to install mod_perl + RPM itself!

1999-10-18 Thread Stas Bekman
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

hanging processes

1999-10-18 Thread Marc D. Spencer
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

code cache

1999-10-18 Thread Neeme Vool
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

RE: hanging processes

1999-10-18 Thread Eric Cholet
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

Embperl and Apache LogLevel configuration

1999-10-18 Thread Christian Gilmore
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

RE: hanging processes

1999-10-18 Thread Doug MacEachern
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

Re: weird mod_perl startup problems

1999-10-18 Thread Doug MacEachern
> > > 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

Re: Apache::ASP - accessing Session data from Application

1999-10-18 Thread Joshua Chamas
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

Re: Apache::ASP - accessing Session data from Application

1999-10-18 Thread Adi
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

Re: Apache::ASP - accessing Session data from Application

1999-10-18 Thread Joshua Chamas
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

RE: Embperl and Apache LogLevel configuration

1999-10-18 Thread Gerald Richter
> > 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 >

RE: Embperl and Apache LogLevel configuration

1999-10-18 Thread Christian Gilmore
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

RE: new for embperl...

1999-10-18 Thread Gerald Richter
> 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

RE: Embperl and Apache LogLevel configuration

1999-10-18 Thread Gerald Richter
> > 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

Re: Apache::ASP - accessing Session data from Application

1999-10-18 Thread Adi
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

RE: hanging processes

1999-10-18 Thread Marc D. Spencer
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

RE: hanging processes

1999-10-18 Thread Tobias Hoellrich
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

RE: Embperl and Apache LogLevel configuration

1999-10-18 Thread Christian Gilmore
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

RE: new for embperl...

1999-10-18 Thread Jearanai Vongsaard
> > 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

Re: weird mod_perl startup problems

1999-10-18 Thread Eugene Miretskiy
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

RE: hanging processes

1999-10-18 Thread Doug MacEachern
> >% gdb /usr/local/apache/bin/httpd $pid > >(gdb) where > Unfortunatly, > > Bin there, did that... what about attaching with gdb?

Re: Apache::ASP - accessing Session data from Application

1999-10-18 Thread Joshua Chamas
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

setting cookies?

1999-10-18 Thread Wyman Eric Miles
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

Re: KeepAlive in mod_perl/proxy setup is evil...

1999-10-18 Thread craig
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

mod_perl/proxy setup -- ISP buffering?

1999-10-18 Thread Jonathan A. Marshall
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

Apache::ASP

1999-10-18 Thread Devarajan MN
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

RE: hanging processes

1999-10-18 Thread Steve Reppucci
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

mod_perl with APXS plus Raven equals segfault

1999-10-18 Thread Steve Snodgrass
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

Re: Apache::ASP

1999-10-18 Thread Joshua Chamas
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. >

PerlTransHandler

1999-10-18 Thread William Deegan
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-

Re: [SITE] the great redesign of 1999

1999-10-18 Thread Robin Berjon
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

PerlHandler -> AUTH_REQUIRED?

1999-10-18 Thread Darko Krizic
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

load/regression test builders, monitoring tools for mod_perl apps

1999-10-18 Thread Ed Park
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

Re: Apache::ASP

1999-10-18 Thread Stas Bekman
> 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

Re: [SITE] the great redesign of 1999

1999-10-18 Thread Stas Bekman
> >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

Re: load/regression test builders, monitoring tools for mod_perl apps

1999-10-18 Thread Stas Bekman
> 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

Re: More on web application performance with DBI

1999-10-18 Thread Michael Peppler
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

Re: More on web application performance with DBI

1999-10-18 Thread Tim Bunce
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

Re: More on web application performance with DBI

1999-10-18 Thread Tim Bunce
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):

How to disconnect persistent db connections when killing httpd

1999-10-18 Thread Oleg Bartunov
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