Re: PerlAuthenHandler -- doesn't get there...? SOLVED

2000-08-20 Thread will trillich
Stas Bekman replied: Argh, I wish I could always test every addition I have in the guide, some code goes untested as it was posted to the mod_perl or contributed by someone else. Then people come and use it, if something is wrong they send me a patch I fix it. I guess this is a similar

Re: PerlAuthenHandler -- doesn't get there...? SOLVED

2000-08-20 Thread Stas Bekman
SO -- Stas, here's a coupla extra tweaks i think you should make so that cut/paste newbies (unlike me, of course) will have an easier time with this particular example on the next iteration: It's corrected in the guide's cvs version! Thanks Will!

Re: Milage may vary comments

2000-08-20 Thread George Sanderson
2) 'Do not': "PerlFreshRestart On" in httpd.conf. Curiously enough, "PerlFreshRestart On" has always worked for me, even on the production servers. It's pretty damn useful too, giving servers a graceful restart everytime you upload a module... it'd be a pain to have to fully restart the

Module proposal - Apache::Perfmon

2000-08-20 Thread Lupe Christoph
Hello! Since I recently faced the question where a complex Apache installation spent it's time, I wrote alittle handler pair that logs the cpu (user/system) and realtime taken by a request. I'm proposing to name this Apache::Perfmon, and will add it to CPAN if the more knowledgable mod_perl

Re: Do you use iServer?

2000-08-20 Thread Alex Shnitman
On Sat, Aug 19, 2000 at 03:22:32PM -0400, Ron Pero wrote: Do you use mod_perl at iServer? I've used them for some time. Indeed there are some problems with their setup. What have you encountered? --Alex

Apache::Perfmon 0.011

2000-08-20 Thread Lupe Christoph
Thanks to Balazs Rauznitz [EMAIL PROTECTED] for pointing out an embarrasing thinko. The corrected version is at http://free.prohosting.com/~lupe/Personal/Perl/Apache-Perfmon/Apache-Perfmon-0.011.tar.gz Sorry if you already grabbed this. Lupe Christoph -- | [EMAIL PROTECTED] |

Centralized Caching

2000-08-20 Thread Angela Focazio
It seems very inefficient on memory to have each child process forms its own cache, so I was interested in creating a centralized cache that all of the child processes could dip into (actually forming a module that allows for I/O control of a centralized cache - expiring information,

Re: Centralized Caching

2000-08-20 Thread Perrin Harkins
Angela Focazio wrote: It seems very inefficient on memory to have each child process forms its own cache, so I was interested in creating a centralized cache that all of the child processes could dip into (actually forming a module that allows for I/O control of a centralized cache -

expiring pages with mod_perl

2000-08-20 Thread Jamie Krasnoo
Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Thanks, Jamie

Re: expiring pages with mod_perl

2000-08-20 Thread Matt Sergeant
On Sun, 20 Aug 2000, Jamie Krasnoo wrote: Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Besides being a really bad idea, and next to impossible to implement, this is not a mod_perl question, but a

Re: expiring pages with mod_perl

2000-08-20 Thread T.J. Mather
use my $headers = $r-headers_out; $headers-{'Pragma'} = $headers-{'Cache-control'} = 'no-cache'; $r-no_cache(1); for more information see http://perl.apache.org/guide/correct_headers.html#2_1_3_Expires_and_Cache_Control On Sun, 20 Aug 2000, Jamie Krasnoo wrote: Sorry for the newbie question

Re: expiring pages with mod_perl

2000-08-20 Thread Ken Williams
[EMAIL PROTECTED] (Jamie Krasnoo) wrote: Sorry for the newbie question but could anyone tell me how to expire pages so a user can't use the back button to get back to that page? Check this out: http://perl.apache.org/guide/correct_headers.html Short answer: $r-no_cache(1);

Re: Centralized Caching

2000-08-20 Thread Dave Rolsky
On Sun, 20 Aug 2000, Angela Focazio wrote: It seems very inefficient on memory to have each child process forms its own cache, so I was interested in creating a centralized cache that all of the child processes could dip into (actually forming a module that allows for I/O control of a

filtering outgoing headers

2000-08-20 Thread Bill Moseley
Hi, In the converted AuthCookie (AuthCookieURL?) that also handles sessions by URL, I need a way to add the session back on the URL when Apache generates a redirect to someplace within the site (e.g. when a request is for a directory). Currently, I'm registering a 301 and 302 ErrorDocument to

ANNOUNCE: HTML::Embperl 1.3b5 (pre 1.3)

2000-08-20 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.3b5.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/HTML-Embperl-1.3b5.tar.gz size: 282226 bytes md5: 812c620f5123b91c74b0c46a24d573d0 Embperl is a module for embedding Perl code in HTML pages. See

cgis and subrequests

2000-08-20 Thread Alex Menendez
Hello, all I have a module that appends a line of stats sensitive information to the bottom of html pages or cgi scripts. the module uses lookup_uri() to generate a subrequest then calls run() to output the actual contents of the file. the eagle book says that calling run() on a subrequest

setting LD_LIBRARY_PATH via PerlSetEnv does not work

2000-08-20 Thread Richard Chen
This is a redhat linux 6.2 box with perl 5.005_03, Apache 1.3.12, mod_perl 1.24, DBD::Oracle 1.06, DBI 1.14 and oracle 8.1.6. For some odd reason, in order to use DBI, I have to set LD_LIBRARY_PATH first. I don't think I needed to do this when I used oracle 7. This is fine on the command line

Re: cgis and subrequests

2000-08-20 Thread Rick Myers
On Aug 20, 2000 at 19:38:53 -0700, Alex Menendez twiddled the keys to say: cgi scripts. the module uses lookup_uri() to generate a subrequest then calls run() to output the actual contents of the file. the eagle book says that calling run() on a subrequest should automatically send the

Re: setting LD_LIBRARY_PATH via PerlSetEnv does not work

2000-08-20 Thread Yann Ramin
As far as FreeBSD goes, LD_LIBRARY_PATH is not searched for setuid programs (aka, Apache). This isn't a problem for CGIs since they don't do a setuid (and are forked off), but Apache does, and mod_perl is in Apache. I think thats right anyway :) You could solve this globaly by running ldconfig

Re: cgis and subrequests

2000-08-20 Thread Alex Menendez
unfortunately, I am not entirely sure what a cgi is going to output all the time. The cgi might try to do a redirect using the Location field. Therefore, I don't think I can simply send_http_headers as type text/html... thanx, though -amen Rick Myers wrote: On Aug 20, 2000 at 19:38:53 -0700,

cvs commit: modperl-2.0/src/modules/perl mod_perl.c mod_perl.h modperl_callback.c modperl_callback.h modperl_config.c

2000-08-20 Thread dougm
dougm 00/08/20 20:01:31 Modified:lib/Apache Build.pm lib/ModPerl Code.pm pod modperl_dev.pod src/modules/perl mod_perl.c mod_perl.h modperl_callback.c modperl_callback.h modperl_config.c Log: pass arguments

cvs commit: modperl-2.0/src/modules/perl modperl_apache_xs.c modperl_apache_xs.h

2000-08-20 Thread dougm
dougm 00/08/20 20:03:52 Added: src/modules/perl modperl_apache_xs.c modperl_apache_xs.h Log: code for extensions, which may be called from a .xs file or elsewhere start playing with buckets and i/o Revision ChangesPath 1.1

cvs commit: modperl-2.0/src/modules/perl modperl_apache_xs.c

2000-08-20 Thread dougm
dougm 00/08/20 20:43:53 Modified:src/modules/perl modperl_apache_xs.c Log: loose tab Revision ChangesPath 1.2 +1 -1 modperl-2.0/src/modules/perl/modperl_apache_xs.c Index: modperl_apache_xs.c

cvs commit: modperl-site/embperl Changes.pod.1.html Changes.pod.10.html Changes.pod.11.html Changes.pod.12.html Changes.pod.13.html Changes.pod.14.html Changes.pod.15.html Changes.pod.16.html Changes.pod.17.html Changes.pod.18.html Changes.pod.19.html Changes.pod.2.html Changes.pod.20.html Changes.pod.21.html Changes.pod.22.html Changes.pod.23.html Changes.pod.24.html Changes.pod.25.html Changes.pod.26.html Changes.pod.27.html Changes.pod.28.html Changes.pod.29.html Changes.pod.3.html Changes.pod.30.html Changes.pod.31.html Changes.pod.32.html Changes.pod.33.html Changes.pod.34.html Changes.pod.35.html Changes.pod.36.html Changes.pod.37.html Changes.pod.38.html Changes.pod.39.html Changes.pod.4.html Changes.pod.40.html Changes.pod.5.html Changes.pod.6.html Changes.pod.7.html Changes.pod.8.html Changes.pod.9.html Changes.pod.cont.html index.html

2000-08-20 Thread richter
richter 00/08/20 21:23:26 Modified:embperl Changes.pod.1.html Changes.pod.10.html Changes.pod.11.html Changes.pod.12.html Changes.pod.13.html Changes.pod.14.html Changes.pod.15.html Changes.pod.16.html

cvs commit: modperl-site/embperl Changes.pod.1.html index.html

2000-08-20 Thread richter
richter 00/08/20 21:39:02 Modified:embperl Changes.pod.1.html index.html Log: Embperl Webpages - Changes Revision ChangesPath 1.169 +1 -1 modperl-site/embperl/Changes.pod.1.html Index: Changes.pod.1.html