Help me!

2001-06-27 Thread wac
Dear All, I want to write a handler, function : log client request file size. My code can't work: Apache Config file Location /test/ SetHandler perl-script PerlLogHandler My::Test Options ExecCGI /Location My::Test package My::Test; sub handler { my $r = shift; $r-send_http_header;

[DIGEST] mod_perl digest 2001/06/23

2001-06-27 Thread Geoffrey Young
-- mod_perl digest June 17, 2001 - June 23, 2001 -- Recent happenings in the mod_perl world... Features

Re: pass cookie along with the POST request?

2001-06-27 Thread darren chamberlain
Islandman [EMAIL PROTECTED] said something to this effect on 06/26/2001: The small code segment below will get the contents of a web page using a perl script. The site I want to access wants a cookie sent as well. There is a cookie for this site is in my ~/.netscape/cookies file. How do I

Re: missing mtime in request rec?

2001-06-27 Thread darren chamberlain
Geoffrey Young [EMAIL PROTECTED] said something to this effect on 06/26/2001: I did some more digging... it seems that any request that is served by the default Apache content handler is ok - only those that are processed by mod_perl (well, anything that isn't the default) seem to be

RE: missing mtime in request rec?

2001-06-27 Thread Geoffrey Young
-Original Message- From: darren chamberlain [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 8:28 AM To: '[EMAIL PROTECTED]' Subject: Re: missing mtime in request rec? [snip] Add a use Apache::File; to the top of the module. See p 492 of the Eagle book; mtime is one

Help me , about $r-bytes_sent

2001-06-27 Thread wac
Dear All, I want to write a handler, function : log client request file size. My code can't work: Apache Config file Location /test/ SetHandler perl-script PerlLogHandler My::Test Options ExecCGI /Location My::Test package My::Test; sub handler { my $r = shift; $r-send_http_header;

Re: Directory Restrictions

2001-06-27 Thread Adekunle Olonoh
I found it, quite be accident in the Eagle Book Lost the page number, but it was in Chapter 4. There's some discussion in the last paragraph of page 86. anybody got a more specific pointer to help us fuzzy searchers find 'how to have mod_perl handle directory requests'? Hopefully

ANNOUNCE: AxKit::XSP::PerForm (fwd)

2001-06-27 Thread Matt Sergeant
I thought this might be of interest to some of the people who are fiddling with widgets at the moment ;-) -- Matt/ /||** Founder and CTO ** ** http://axkit.com/ ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT,

Startup.pl File Q

2001-06-27 Thread Purcell, Scott
Mod_perl version: 1.25_01-dev Perl version: 5.6.1 Apache Version: 1.3.20 OS:NT I am in the apache book and I am doing some hacking. In my startup.pl file, I put 'use CG qw(:standard); along with some other modules. Anyway, then I typed that little dittie below, and

Re: Startup.pl File Q

2001-06-27 Thread Stas Bekman
On Wed, 27 Jun 2001, Issac Goldstand wrote: Actually, I believe that it helps to do a use cgi qw(-compile: all) as this will pre-compile the entire module (which makes it go a bit faster for it's first request). As Issac correctly said, but usually you don't want :all, but only the tag

Re: Directory Restrictions

2001-06-27 Thread will trillich
On Wed, Jun 27, 2001 at 08:52:10AM -0500, Adekunle Olonoh wrote: I found it, quite be accident in the Eagle Book Lost the page number, but it was in Chapter 4. There's some discussion in the last paragraph of page 86. anybody got a more specific pointer to help us fuzzy

Re: Startup.pl File Q

2001-06-27 Thread darren chamberlain
Purcell, Scott [EMAIL PROTECTED] said something to this effect on 06/27/2001: Mod_perl version: 1.25_01-dev Perl version: 5.6.1 Apache Version: 1.3.20 OS:NT I am in the apache book and I am doing some hacking. In my startup.pl file, I put 'use CG

Re: Directory Restrictions

2001-06-27 Thread Philip Mak
On Wed, 27 Jun 2001, will trillich wrote: okay -- but if you want some of your site to be indexed by the standard mod_autoindex, yet have mod_perl intervene for certain subtrees, you'll find that mod_perl never gets a chance at it because the mod_autoindex gadjets catch it at an earlier

Re: Directory Restrictions

2001-06-27 Thread darren chamberlain
will trillich [EMAIL PROTECTED] said something to this effect on 06/27/2001: okay -- but if you want some of your site to be indexed by the standard mod_autoindex, yet have mod_perl intervene for certain subtrees, you'll find that mod_perl never gets a chance at it because the mod_autoindex

Re: Directory Restrictions

2001-06-27 Thread darren chamberlain
Philip Mak [EMAIL PROTECTED] said something to this effect on 06/27/2001: On Wed, 27 Jun 2001, will trillich wrote: okay -- but if you want some of your site to be indexed by the standard mod_autoindex, yet have mod_perl intervene for certain subtrees, you'll find that mod_perl never gets

Re: startup

2001-06-27 Thread Stas Bekman
On Wed, 27 Jun 2001, Purcell, Scott wrote: Hello Stas, I think somehow my question got out of sync with the answer. My question was, if I do a use cgi qw(-compile: all) in my startup (which I have done), do I still need to put a use cgi in each of my .pl files? I have read through the docs,

Re: SSI Lost with Mod Perl?

2001-06-27 Thread will trillich
On Tue, Jun 26, 2001 at 01:06:06AM -0400, Brooklyn Linux Solutions CEO wrote: I've given Filter and SSI a shot according to the perldocs. It didn't work. I stated to hhack on some of the problems, which first involved in the make install depositing them in the wrong diretory, and then

Re: Requests using If-Modified-Since cause response Set-Cookie to be discarded

2001-06-27 Thread will trillich
On Mon, Jun 25, 2001 at 04:54:59PM -0700, Rob Bloodgood wrote: maybe storing 'last-access-time' on the server, instead of in the client-side, via cookie, would solve this snafu? But if you want to give out a new cookie on every request ? How would you prevent them from copying or

RE: Requests using If-Modified-Since cause response Set-Cookie to be discarded

2001-06-27 Thread Rob Bloodgood
me, on the other hand, i don't see the problem with on incoming request if has-cookie 'session' { update serverside 'accesstime' for session[this] to NOW Oh yeah? HOW??? if not-modified-since

StatINC Reload on NT

2001-06-27 Thread Purcell, Scott
I have begun development on a new project and I am using Apache on NT with mod_perl. I have created a lot of modules and I am using them in my code. The problem is that as I continue to develop, some modules keep changing, and I am getting tired of restarting the server. I have read the mod_perl

%ENV push_handlers

2001-06-27 Thread Terry Moran
To all: I am putting together a site utilizing stacked handlers where the first of the modules uses the push_handlers call in order to dynamically choose a processing module. This 'pushed' handler then goes about processing the request filling up the %ENV with information for the next in

RE: %ENV push_handlers

2001-06-27 Thread Geoffrey Young
-Original Message- From: Terry Moran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 3:39 PM To: [EMAIL PROTECTED] Subject: %ENV push_handlers To all: I am putting together a site utilizing stacked handlers where the first of the modules uses the

where to report apache::session 1.53 bug ?

2001-06-27 Thread Iwan Garnadi
I don't know where to report apache::session bug , because I sent to the author , I didn't get any reply yet

RE: where to report apache::session 1.53 bug ?

2001-06-27 Thread Knox, Laurie A, NPONS
Could you Please share your bug info with us? I am using Apache::Session now and having troubles with it... Thank you! Laurie -Original Message- From: Iwan Garnadi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 5:50 PM To: [EMAIL PROTECTED] Subject: where to report

Re: where to report apache::session 1.53 bug ?

2001-06-27 Thread Jeffrey W. Baker
On Thu, 28 Jun 2001, Iwan Garnadi wrote: I don't know where to report apache::session bug , because I sent to the author , I didn't get any reply yet Maybe you will have to wait more than four days... -jwb

Re: where to report apache::session 1.53 bug ?

2001-06-27 Thread Gunther Birznieks
Most of the time it is really bad to email open source authors directly. They released a piece of software out of kindness. But hey, it's open source and they can't hold up the entire world of support like an Atlas, 24x7. That's the job of open forums like this. So the author continues time to

RE: %ENV push_handlers

2001-06-27 Thread Geoffrey Young
well, something isn't quite right... you aren't by chance using method handlers are you? at this point, you may want to post (some) code and/or the relevant snippet from your httpd.conf. using push_handlers with pnotes has never been a problem for me # from some handler somewhere

Q: How to I secure /cgi-bin?

2001-06-27 Thread Ron Savage
Test env: Apache/1.3.20 (Win32) mod_perl/1.25_01-dev mod_ssl/2.8.4 OpenSSL/0.9.6a I just tried this to stop myself running any scripts from /cgi-bin, but it does not stop me. Yeah, yeah, I restart the server after every patch to httpd.conf. Directory /cgi-bin Options Indexes FollowSymLinks

Q:how to get the byte amounts

2001-06-27 Thread Lijf
I want to get the byte amounts that sent to the client via Apache, so I write the following code #!/usr/bin/perl use strict; package Apache::GetByte; use Apache::Constants qw(:response); use Apache (); sub handler{ my $r = shift; my $byte=$r-bytes_sent; warn BYTE = $byte

Re: How to I secure /cgi-bin?

2001-06-27 Thread Tim Tompkins
Use Location for paths respective to the server root. Location /cgi-bin ... /Location - Original Message - From: Ron Savage [EMAIL PROTECTED] To: mod_perl [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 9:23 PM Subject: Q: How to I secure /cgi-bin? Test env: Apache/1.3.20