Re: Apache::Registry vs. Handlers

2000-11-20 Thread Stas Bekman
> > on 11/19/00 6:04 PM, Randal L. Schwartz at [EMAIL PROTECTED] > > uttered the > > > following: > > > > > > > When you're *really* good with mod_perl, you abandon Apache::Registry > > > > and move up to writing handlers or usi

Re: Apache::Registry vs. Handlers

2000-11-19 Thread Gunther Birznieks
At 10:42 PM 11/19/2000 -0800, [EMAIL PROTECTED] wrote: >[snip] > >Apache::Registry - use it only for backend or lowtraffic sites. It does >not cache anything, so when you do databases, and files, can be bad to >horrible to use. Using with small MySQL databases (50,000< records) you >can get medioc

Re: Apache::Registry vs. Handlers

2000-11-19 Thread spam
On Sun, 19 Nov 2000, E.S. wrote: > All other things being equal, what's the general performance difference > between writing your own handlers or using a templating system vs. using > your scripts under Apache::Registry? I've been running my old CGI scripts > under Apach

Re: Apache::Registry vs. Handlers

2000-11-19 Thread Robin Berjon
At 15:10 19/11/2000 -0700, E.S. wrote: >> on 11/19/00 6:04 PM, Randal L. Schwartz at [EMAIL PROTECTED] uttered the >> > When you're *really* good with mod_perl, you abandon Apache::Registry >> > and move up to writing handlers or using embedded templating systems

Re: Apache::Registry vs. Handlers

2000-11-19 Thread Gunther Birznieks
*really* good with mod_perl, you abandon Apache::Registry > > > and move up to writing handlers or using embedded templating systems > > > like EmbPerl, Mason, or Template Toolkit. > > >Question... > >All other things being equal, what's the general performance

Apache::Registry vs. Handlers

2000-11-19 Thread E.S.
> on 11/19/00 6:04 PM, Randal L. Schwartz at [EMAIL PROTECTED] uttered the > following: > > > When you're *really* good with mod_perl, you abandon Apache::Registry > > and move up to writing handlers or using embedded templating systems > > like EmbPerl, Mason,

Re: Chaining Perl and C handlers

2000-11-15 Thread Perrin Harkins
On Wed, 15 Nov 2000, Andrew Chen wrote: > The new parameter (which in the example was moe and not joe, my mistake) > will be a "webid", a unique identifier for each website that is parsed out > of the physical location of the file. > > For example, > www.joe-honda-dealer.com/inventory.jsp > cor

Re: Chaining Perl and C handlers

2000-11-15 Thread Andrew Chen
Ged, Thanks for the input-- here are my answers below... The new parameter (which in the example was moe and not joe, my mistake) will be a "webid", a unique identifier for each website that is parsed out of the physical location of the file. For example, www.joe-honda-dealer.com/inventory.js

Re: Chaining Perl and C handlers

2000-11-15 Thread G.W. Haywood
Hi there, On Tue, 14 Nov 2000, Andrew Chen wrote: > 1. Request comes in for t.jsp?test=1&joe=2 > 2. Handler steps in and adds another parameter, t.jsp?test=1&joe=2&moe=3 > 3. Request is then handled by BEA-Apache bridge so that it is forwarded to > Weblogic > 4. JSP runs on Weblogic, and the new

Re: Chaining Perl and C handlers

2000-11-14 Thread Andrew Chen
could either chain the handlers (have the custom handler alter the data in the request and then pass it onto the BEA-Apache bridge) or I could just put the custom handler in an earlier stage and alter the request then. I'm just not sure how to do it. Let me know if you need any more clarificat

Re: Chaining Perl and C handlers

2000-11-13 Thread Andrew Chen
According to my trusty Eagle book, I can chain Perl handlers (by using > > $r->pushhandlers(), but can I chain a C handler after a Perl handler?? > > Not until Apache 2.0, Eagle Book p175, "Chaining Content Handlers". > A C handler either handles the entire request or returs declined. > > 73, > Ged. >

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread Thomas Klausner
Hi! > If you use $r->pnotes, you can just put a reference to an arbitrary data > structure into it and it will still be there in the next handler. No > need to serialize it with Data::Dumper. Better than using a normal > global because it gets automatically cleaned up after the request. Thanks

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread Perrin Harkins
Thomas Klausner wrote: > If there isn't, could it be implemented by dumping the data > structure to $r->notes (with Data::Dumper) and have it eval'ed back > by the next handler? If you use $r->pnotes, you can just put a reference to an arbitrary data structure into it and it will still be there i

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread spam
On Sun, 12 Nov 2000, Dave Kaufman wrote: > > Is there a module that can do "Stacked Handler Pipelining", but > > doesn't pass around tied filehandles but data structures ? Can't you allocate some generic namespace, or better yet, create your own package called config and in that export function

Re: Passing data structures between Stacked Handlers

2000-11-12 Thread Dave Kaufman
"Thomas Klausner" <[EMAIL PROTECTED]> wrote: > Is there a module that can do "Stacked Handler Pipelining", but > doesn't pass around tied filehandles but data structures ? Andreas König's Apache::HeavyCGI is a nice alternative approach to the use

Passing data structures between Stacked Handlers

2000-11-11 Thread Thomas Klausner
Hi! Is there a module that can do "Stacked Handler Pipelining", but doesn't pass around tied filehandles but data structures ? If there isn't, could it be implemented by dumping the data structure to $r->notes (with Data::Dumper) and have it eval'ed back by the next handler? -- D_OMM

Re: Chaining Perl and C handlers

2000-11-07 Thread G.W. Haywood
Hi there, On Mon, 6 Nov 2000, Andrew Chen wrote: > According to my trusty Eagle book, I can chain Perl handlers (by using > $r->pushhandlers(), but can I chain a C handler after a Perl handler?? Not until Apache 2.0, Eagle Book p175, "Chaining Content Handlers". A C handler

Chaining Perl and C handlers

2000-11-06 Thread Andrew Chen
a JSP, which should be able to read the changes that were added in step 2. According to my trusty Eagle book, I can chain Perl handlers (by using $r->pushhandlers(), but can I chain a C handler after a Perl handler?? And yes, I know this is kind of bizarre. Thanks in advance! I'm not on the

Re: Replacing Authen & Authz handlers

2000-10-26 Thread Tim Tompkins
> To: <[EMAIL PROTECTED]> Sent: Thursday, October 26, 2000 4:17 PM Subject: Replacing Authen & Authz handlers > I've got Authen and Authz protecting an entire site: > > >PerlAuthenHandler My::Authen >PerlAuthzHandler My::Authz >AuthType Ba

Replacing Authen & Authz handlers

2000-10-26 Thread Bill Moseley
but I'm having a hard time making it happen. I've tried using a "PerlSetVar DisableAuthen 1" and then returning DECLINED in my handlers, but that's causing this error: configuration error: couldn't check user. No user file?: /test Can someone fill me i

Re: Clean way of transfering Objects between childinit and request handlers ?

2000-09-17 Thread Chris Winters
* Greg Cope ([EMAIL PROTECTED]) [000917 14:31]: > Dear All > > I want to create an Object in a ChildInit handler and then pass it to > request handlers. > > Its a DB Object / module and it does some initialiastion, it prepares a > few statment handles and then stores them

Clean way of transfering Objects between childinit and request handlers ?

2000-09-17 Thread Greg Cope
Dear All I want to create an Object in a ChildInit handler and then pass it to request handlers. Its a DB Object / module and it does some initialiastion, it prepares a few statment handles and then stores them in an array for later execution. One solution is to create a the object in a child

Re: Passing info between handlers via an internal redirect?

2000-08-10 Thread Jose Marques
Ouch! about 30 seconds after sending my e-mail I had another read of the mod_perl guide and came across an answer to my problem. I feel stupid for missing this. Anyway, the following code works for what I want to do: # Silently redirect text-only requests my $uri = $r->parsed_uri; i

Passing info between handlers via an internal redirect?

2000-08-10 Thread Jose Marques
How does one pass information between handlers via an internal redirect? I am creating a virtual set of documents with a path of the form /text/actual_path. The idea is that I do an internal redirect to serve the real file (at /actual_path) but use the fact that a "/text/" url was re

RE: handlers on CPAN

2000-06-14 Thread HORNER, J. (JH8)
J. J. Horner Cc: [EMAIL PROTECTED] Subject: Re: handlers on CPAN "J. J. Horner" wrote: > > do handlers belong on CPAN? Any and all modules you feel might be of interest to the community "should" be. The only thing is to play nice and run your module name past the g

Re: handlers on CPAN

2000-06-14 Thread Ken Williams
[EMAIL PROTECTED] (Barrie Slaymaker) wrote: >"J. J. Horner" wrote: >> do handlers belong on CPAN? > >Any and all modules you feel might be of interest to the community >"should" be. The only thing is to play nice and run your module >name past the good

Re: handlers on CPAN

2000-06-14 Thread Barrie Slaymaker
"J. J. Horner" wrote: > > do handlers belong on CPAN? Any and all modules you feel might be of interest to the community "should" be. The only thing is to play nice and run your module name past the good folks at [EMAIL PROTECTED] first. If you get no response fr

handlers on CPAN

2000-06-13 Thread J. J. Horner
do handlers belong on CPAN? Thanks, JJ -- J. J. Horner Apache, Perl, Unix, Linux [EMAIL PROTECTED] http://www.knoxlug.org/

Re: [newbie] Passing Session Object Twixt Handlers

2000-05-23 Thread Jeffrey W. Baker
On Mon, 22 May 2000, Perrin Harkins wrote: > On Mon, 22 May 2000 [EMAIL PROTECTED] wrote: > > It seems the Apache::Session::DBI isn't actually changing anything > > in the database, since next time I tie the session the only thing > > it has is the _session_id I tied it with in the first place. >

Re: [newbie] Passing Session Object Twixt Handlers

2000-05-22 Thread Robin Berjon
At 19:10 22/05/2000 -0400, [EMAIL PROTECTED] wrote: >At a later hour on 22/05/2000, [EMAIL PROTECTED] wrote: >>I routinely stuff my %session tied hash into a pnote, and it works fine. >>All I do is something like $r->pnotes('session') = \%session; > >Thank you, Robin. You're welcome :) >That was

Re: [newbie] Passing Session Object Twixt Handlers

2000-05-22 Thread Perrin Harkins
On Mon, 22 May 2000 [EMAIL PROTECTED] wrote: > It seems the Apache::Session::DBI isn't actually changing anything > in the database, since next time I tie the session the only thing > it has is the _session_id I tied it with in the first place. Keep in mind that Apache::Session only writes to the

Re: [newbie] Passing Session Object Twixt Handlers

2000-05-22 Thread JoshNarins
At a later hour on 22/05/2000, [EMAIL PROTECTED] wrote: >>At 09:03 22/05/2000 -0400, [EMAIL PROTECTED] wrote: >>Am I correct in assuming that my tied session variable (using >>Apache::Session::DBI), which I have stored away in a pnote, >>is no longer tied when I try to retrieve it in a later >>han

Re: [newbie] Passing Session Object Twixt Handlers

2000-05-22 Thread Robin Berjon
At 09:03 22/05/2000 -0400, [EMAIL PROTECTED] wrote: >Am I correct in assuming that my tied session variable (using >Apache::Session::DBI), which I have stored away in a pnote, >is no longer tied when I try to retrieve it in a later >handler? I routinely stuff my %session tied hash into a pnote, a

[newbie] Passing Session Object Twixt Handlers

2000-05-22 Thread JoshNarins
Am I correct in assuming that my tied session variable (using Apache::Session::DBI), which I have stored away in a pnote, is no longer tied when I try to retrieve it in a later handler? Is there a way to keep the same tied %session between handlers? I remember someone talking about passing

Re: handlers

2000-05-04 Thread Kip Cranford
On: Thu, 04 May 2000 18:23:30 -0300 FEITO Nazareno wrote: >Maybe this isn´t the correct mailing list to post this question but i really >need an answer some kind of guide o something like that... >I need to use handlers for my webpages under mod_perl, any tutorial or >something

handlers

2000-05-04 Thread FEITO Nazareno
Maybe this isn´t the correct mailing list to post this question but i really need an answer some kind of guide o something like that... I need to use handlers for my webpages under mod_perl, any tutorial or something? I´m using an old handlers that i use to be but now it doesn´t work... i mean

little question about handlers...

2000-05-04 Thread FEITO Nazareno
When I run my test script from the webserver itdoesn´t work the submit button... I don´t use handlers here, just this: #!/usr/bin/perl -w use CGI; use strict; my $debug=0; my $error=0; my $q->new CGI(); my $me=$q->script_name(); my $s; print header(); printheader(); #i´m going to

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-25 Thread Doug MacEachern
On 20 Apr 2000, Randal L. Schwartz wrote: > > "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes: > > Doug> why all the globals?? symbol table lookups are much slower than > Doug> lexicals. > > If I recall, the word lately is that they're much closer than they were. i take it back, the

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-20 Thread Randal L. Schwartz
> "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes: Doug> why all the globals?? symbol table lookups are much slower than Doug> lexicals. If I recall, the word lately is that they're much closer than they were. But lexicals are still "cleaner", if I recall. -- Randal L. Schwartz - St

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-20 Thread Doug MacEachern
> So this (attached) section is to be deleted now as a non-relevant? i suppose.

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-20 Thread Doug MacEachern
ctions have to do with using or not > Apache::Registry instead of handlers... > > But, I've been toying with the idea of writing an Apache::Dispatch > module that would take all URL's of the form something like > > http://localhost/perl/My/Module/handlerfunc > > and

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-20 Thread Stas Bekman
On Thu, 20 Apr 2000, Doug MacEachern wrote: > On Fri, 14 Apr 2000, Stas Bekman wrote: > > > use vars qw($q $switch $status $sessionID); > > why all the globals?? symbol table lookups are much slower than lexicals. > please don't promote globals, pass lexicals to the subroutines. Yeah, I'll

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-20 Thread Doug MacEachern
On Fri, 14 Apr 2000, Stas Bekman wrote: > use vars qw($q $switch $status $sessionID); why all the globals?? symbol table lookups are much slower than lexicals. please don't promote globals, pass lexicals to the subroutines. > sub handler{ > my $r = shift; > Apache->request($r);

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Matt Sergeant
On Mon, 17 Apr 2000, Vivek Khera wrote: > >>>>> "MS" == Matt Sergeant <[EMAIL PROTECTED]> writes: > > >> adding handlers as easy as adding Registry scripts. I guess it is > >> sort of an ultra-light-weight Registry, in some sense. > &

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Vivek Khera
>>>>> "MS" == Matt Sergeant <[EMAIL PROTECTED]> writes: >> adding handlers as easy as adding Registry scripts. I guess it is >> sort of an ultra-light-weight Registry, in some sense. MS> I've got something pretty similar. Let me know if you wa

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Vivek Khera
>>>>> "DT" == Drew Taylor <[EMAIL PROTECTED]> writes: DT> are beginning the transition to Apache handlers. One other thing that I DT> would love is a module to do checkboxes/pull-down list generation ALA DT> CGI.pm. I might rip off some code and create a m

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Drew Taylor
igurable, of course. > > > > Does anyone have something like this already? It would certainly make > > adding handlers as easy as adding Registry scripts. I guess it is > > sort of an ultra-light-weight Registry, in some sense. > > I've got something pretty simi

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Matt Sergeant
lerfunc() > > Assuming that My::Module was already loaded, otherwise it would > generate a run-time error (or maybe we'd do a "require" -- dunno yet). > The URL trigger /perl/ would be configurable, of course. > > Does anyone have something like this already?

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Stas Bekman
ctions have to do with using or not > Apache::Registry instead of handlers... Because when you have hundreds of different 's to configure (and there is a lot of repetition), it's easier with Perl. Isn't it? At least that's what people said on the list. > But, I've been to

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Vivek Khera
>>>>> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: SB> Of course, anyone has a sample section handy? I'm still an SB> C fan, to be changed soon :) I don't see what sections have to do with using or not Apache::Registry instead of handlers...

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-15 Thread Stas Bekman
On Fri, 14 Apr 2000, Chris Nokleberg wrote: > > > Someone has asked how to move from registry scripts to perl handlers, this > > is my attempt to show in details the process. Comments are welcome. > > In my mind, one of the biggest problems in transitioning from > Apach

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-14 Thread Chris Nokleberg
> Someone has asked how to move from registry scripts to perl handlers, this > is my attempt to show in details the process. Comments are welcome. In my mind, one of the biggest problems in transitioning from Apache::Registry is the added server configuration complexity. Would it be possi

[RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-14 Thread Stas Bekman
Someone has asked how to move from registry scripts to perl handlers, this is my attempt to show in details the process. Comments are welcome. =head1 Transitioning from Apache::Registry to Apache handlers Even if you are a CGI script die-hard at some point you might want to move a few or all

Re: Problems with custom configuration handlers

2000-04-13 Thread Kevin Murphy
Doug MacEachern wrote: > what options did you give mod_perl's Makefile.PL? perl Makefile.PL \ APACHE_PREFIX=/usr/local/apache/ \ APACHE_SRC=/usr/local/apache/src\ DO_HTTPD=1 \ USE_APACI=1 \ APACI_ARGS='--enable-module=rewrite --enable-module=so --enable-module=proxy' \

Re: Problems with custom configuration handlers

2000-04-12 Thread Doug MacEachern
On Wed, 12 Apr 2000, Kevin Murphy wrote: > I've written an access handler which takes some custom configuration > directives based on the instructions in chaper 8 of the Eagle book. > > Everything makes and installs fine, and I am able to load the module > with a PerlModule directive, but when

Problems with custom configuration handlers

2000-04-12 Thread Kevin Murphy
I've written an access handler which takes some custom configuration directives based on the instructions in chaper 8 of the Eagle book. Everything makes and installs fine, and I am able to load the module with a PerlModule directive, but when I try to use the directives defined in my module I g

[Fwd: Registry scripts slower than handlers: Why?]

2000-02-03 Thread Gerd Kortemeyer
nt before starting to work on the script itself (even if it is preloaded) - there is extra overhead for providing a separate namespace, etc. Inside of that environment, scripts can be pretty dirty - mod_perl-handlers have to be written a lot cleaner than registry-cgi-scripts. Quoting

Re: Registry scripts slower than handlers: Why?

2000-02-03 Thread Joshua Chamas
Jie Gao wrote: > > On Thu, 3 Feb 2000, Joshua Chamas wrote: > > > I regrouped the HelloWorld benchmark data at http://www.chamas.com/bench/ > > recently, so that it gives you a more informative comparison of the relative > > startup costs of web environments on a per platform basis. > > Registr

Registry scripts slower than handlers: Why?

2000-02-03 Thread Jie Gao
On Thu, 3 Feb 2000, Joshua Chamas wrote: > I regrouped the HelloWorld benchmark data at http://www.chamas.com/bench/ > recently, so that it gives you a more informative comparison of the relative > startup costs of web environments on a per platform basis. Registry scripts run slower according

Re: Testing for the '..' directory in access handlers... (directorytesting 101)

2000-01-16 Thread Chris Nielsen
s, C On 16 Jan 2000, Randal L. Schwartz wrote: > >>>>> "Sean" == Sean Chittenden <[EMAIL PROTECTED]> writes: > > Sean> Hey. So I just went through and was auditing someone's code today > Sean> (the joy of joys that it is) and these gu

Re: Testing for the '..' directory in access handlers... (directory testing 101)

2000-01-16 Thread Gunther Birznieks
;Sean" == Sean Chittenden <[EMAIL PROTECTED]> writes: > > Sean> Hey. So I just went through and was auditing someone's code today > Sean> (the joy of joys that it is) and these guys were pretty reliant on their > Sean> access, authen, authz handlers for most everyth

Re: Testing for the '..' directory in access handlers... (directory testing 101)

2000-01-16 Thread Randal L. Schwartz
>>>>> "Sean" == Sean Chittenden <[EMAIL PROTECTED]> writes: Sean> Hey. So I just went through and was auditing someone's code today Sean> (the joy of joys that it is) and these guys were pretty reliant on their Sean> access, authen, authz handl

After OpenSSL upgrade, mod_perl handlers give 403

2000-01-14 Thread dave-mlist
Version info: apache_1.3.9, mod_perl-1.21, mod_ssl-2.4.9-1.3.9, openssl-0.9.4. I recently upgraded my mod_perl installation with SSL by following the OpenSSL and mod_perl HOWTO. Now, all of my mod_perl handlers give me a 403 and the following error: [Fri Jan 14 10:03:24 2000] [error] [client

Re: Access handlers for CGI's...

1999-12-13 Thread Doug MacEachern
If authenticated > { > handle CGI as per usual > } > else > { > replace handler with custom login screen page > } > > This is the code I've currently got, which alters the handlers: > >$r->handler("perl-script"); >

RE: Stacked Handlers and passing Objects

1999-11-23 Thread Young, Geoffrey S.
and, of course, it is well documented in the guide (sorry Stas :) > -Original Message- > From: Stas Bekman [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, November 23, 1999 2:35 PM > To: Young, Geoffrey S. > Cc: 'Bill Desjardins'; [EMAIL PROTECTED] > Subject:

RE: Stacked Handlers and passing Objects

1999-11-23 Thread Stas Bekman
g/guide/porting.html#Passing_and_preserving_custom_da http://perl.apache.org/guide/snippets.html#Passing_environment_variables_be > > --Geoff > > > -Original Message- > > From: Bill Desjardins [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, November 23, 1999 1:06 PM > > T

RE: Stacked Handlers and passing Objects

1999-11-23 Thread Young, Geoffrey S.
SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, November 23, 1999 1:06 PM > To: [EMAIL PROTECTED] > Subject: Stacked Handlers and passing Objects > > Hello Everyone, > > I have been lurking for a while, but this is my first post. I started > programming perl about a yea

Stacked Handlers and passing Objects

1999-11-23 Thread Bill Desjardins
not find a clear answer to this question. My website that I am developing (web.carracing.com) uses 4 stacked handlers for each section of the site. The only one that changes is the 3rd handler for the content of the page. here is one of the configs: SetHandler perl-script

Access handlers for CGI's...

1999-11-23 Thread Trevor Phillips
is required, override the handler and enable the perl-script handler?? ie; If authenticated { handle CGI as per usual } else { replace handler with custom login screen page } This is the code I've currently got, which alters the handlers: $r->handler("pe

Re: Apache::ASP, Sessions and content handlers

1999-10-08 Thread Joshua Chamas
> 2. It appears that I will be using ASP quite heavily and while I don't >need event handler now, I may have to start using them in the future. >If that happens, I will have to maintain two sets of session management >code. > > This is so simple, and, therefore, brilli

Re: Apache::ASP, Sessions and content handlers

1999-10-07 Thread Dmitry Beransky
At 12:38 PM 10/7/99 , Joshua Chamas wrote: >If you don't need these event handlers, then you could use >Apache::Session very well for you needs, as well as ASP $Session, >then you can turn sessions off in ASP, and set $Session >to an Apache::Session like: You're right,

Re: Apache::ASP, Sessions and content handlers

1999-10-07 Thread Joshua Chamas
ssentially the > same task. What would be nice if all of ASP's session stuff got moved into > Apache::ASP::Session which could be used from anywhere. I think this is > more efficient, as: 1) the same code can be used in ASPs and perl handlers; > 2) memory resources are conserved by s

Re: Apache::ASP, Sessions and content handlers

1999-10-07 Thread Dmitry Beransky
f ASP's session stuff got moved into Apache::ASP::Session which could be used from anywhere. I think this is more efficient, as: 1) the same code can be used in ASPs and perl handlers; 2) memory resources are conserved by sharing session data structures; etc. Cheers Dmitry >I woul

Re: Apache::ASP, Sessions and content handlers

1999-10-06 Thread Joshua Chamas
Dmitry Beransky wrote: > > Hi, > > I'm not sure what exactly it is that I'm trying to ask, so please bear with > me... :) > > I have a handler invoked with PerlHandler and a set of related ASP > files. The ASP files store state data in a $Session object. I need the > perl handler to choose an

Apache::ASP, Sessions and content handlers

1999-10-06 Thread Dmitry Beransky
Hi, I'm not sure what exactly it is that I'm trying to ask, so please bear with me... :) I have a handler invoked with PerlHandler and a set of related ASP files. The ASP files store state data in a $Session object. I need the perl handler to choose an ASP file and issue an internal_redirec

Re: Embperl virtual log and mod_perl handlers

1999-10-04 Thread BeerBong
> Doesn't looks so good :-( > > BTW which version of mod_perl you are using? 1.21 Embperl 1.1.1 has problems with > newer mod_perl versions, because of changes in the handling of $ENV inside > mod_perl. So your problem may result from that,maybe... > > I would suggest to test 1.2b9. It's a reall

Re: Embperl virtual log and mod_perl handlers

1999-10-04 Thread G.Richter
Re: Embperl virtual log and mod_perl handlers > > For the Logfile problem try: > > > > PerlSetEnv EMBPERL_VIRTLOG /embperl > > > > and > > > > > > > > note the slash before embperl > > Yes, and > 195.209.67.50 - - [04/Oct/1999:13:48:13 +050

Re: Embperl virtual log and mod_perl handlers

1999-10-04 Thread BeerBong
> For the Logfile problem try: > > PerlSetEnv EMBPERL_VIRTLOG /embperl > > and > > > > note the slash before embperl Yes, and 195.209.67.50 - - [04/Oct/1999:13:48:13 +0500] "GET /embperl?803283&19801 HTTP/1..0" 404 270 1 195.209.67.50 - - [04/Oct/1999:13:48:16 +0500] "GET /embperl?803283&19801&S

Re: Embperl virtual log and mod_perl handlers

1999-10-04 Thread G.Richter
For the Logfile problem try: PerlSetEnv EMBPERL_VIRTLOG /embperl and note the slash before embperl For the other problem I would try SetHandler perl-script PerlHandler HTML::Embperl Options ExecCGI PerlPostReadRequestHandler My::ProxyRemoteAddr Gerald

Embperl virtual log and mod_perl handlers

1999-10-03 Thread BeerBong
. I even comment all string and leave only return FORBIDDEN, but ... Yes, I know cause... When I comment all Embperl related stuff in httpd.conf of mod_perl server all works fine, X_FORVARDED_FOR and return FORBIDDEN, with EmbPerl my handlers doesnt work. Anyone can explain me Why ? THanx in advance

<    1   2   3