Re: Modules Executed Twice

2002-12-31 Thread darren chamberlain
* Perrin Harkins <[EMAIL PROTECTED]> [2002-12-30 19:07]: > > Explanations and other suggested approaches to handling this problem > > will be most welcome. > > My suggestion in the past has been to PerlRequire a startup.pl that > does a use on your modules, instead of pulling them in with > PerlMo

Re: my little stupid script

2002-12-23 Thread darren chamberlain
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-12-23 14:31]: > I am in the beginning stages to get mod_perl in my head. This is my second > script after the "Hello There" script. I am trying ot get my little stupid > script to work. What I am trying ot do is fairly simple; I thought. I am > just

Re: [mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-11 Thread darren chamberlain
* Geoffrey Young <[EMAIL PROTECTED]> [2002-11-11 13:16]: > > (oh, maybe someone could consider also adding some test case to > > t/net/perl/util.pl but it does not seem to be very important) > > tests are always important :) > > > > I'm think that, with mod_perl 2.0, mod_perl 1.x might not be hig

Re: [mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-09 Thread darren chamberlain
* Marcin Kasperski <[EMAIL PROTECTED]> [2002-11-08 17:33]: > darren chamberlain <[EMAIL PROTECTED]> writes: > > > * Marcin Kasperski <[EMAIL PROTECTED]> [2002-11-08 16:22]: > > > I use Apache::Util::escape_html to perform fast HTML-escaping of the > &g

Re: [mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-08 Thread darren chamberlain
* Marcin Kasperski <[EMAIL PROTECTED]> [2002-11-08 16:22]: > I use Apache::Util::escape_html to perform fast HTML-escaping of the > data before displaying it. Unfortunately, this function handles > <, >, & and " but does not handle ' (single quote) - which > can be escaped as ' Hey, this is an ea

Re: conditional get

2002-10-28 Thread darren chamberlain
* Cristvo Dalla Costa <[EMAIL PROTECTED]> [2002-10-25 20:29]: > Hi, I'm trying to get my script to work with conditional get, however, > when the browser should use the local copy it doesn't display > anything, just telling me that the image's broken. The Eagle book implies that you need to use Ap

Re: [RFC] Apache-GeoIP module

2002-10-25 Thread darren chamberlain
* Randy Kobes <[EMAIL PROTECTED]> [2002-10-25 12:01]: > There are a couple of modules on CPAN - Geo::IP and Geo::Mirror - > that provide a general Perl interface to the GeoIP library. Oh. I should have checked; sorry about that! * Michael Schout <[EMAIL PROTECTED]> [2002-10-2

Re: [RFC] Apache-GeoIP module

2002-10-25 Thread darren chamberlain
* Randy Kobes <[EMAIL PROTECTED]> [2002-10-17 17:01]: > I've placed at > ftp://theoryx5.uwinnipeg.ca/pub/other/Apache-GeoIP-0.26.tar.gz > a package providing a mod_perl interface to the GeoIP library, > which is used to look up in a database the country of origin of > an IP address. See http://www

Re: CGI parameters appear to be doubled on 8 bit chars...

2002-10-15 Thread darren chamberlain
* Rob Mueller <[EMAIL PROTECTED]> [2002-10-13 08:00]: > Just wondering if anyone has seen this problem before, or has a general > solution to it. Basically what we see, is that with some submitted forms, > usually with 8 bit data, the POST parameters passed become 'doubled'. The > problem is that

Re: top for apache? [OT]

2002-09-23 Thread darren chamberlain
* Nigel Hamilton <[EMAIL PROTECTED]> [2002-09-21 04:31]: > I just found a really cool tool (mentioned in SysAdmin journal). > It shows a dynamic picture of MySQL processes just like 'top' [-- snip --] > It would be great to have a similar tool for mod_perl/apache. You > could see the memory con

Re: BUG: Apache::Cookie v1.0

2002-09-23 Thread darren chamberlain
* Michael McLagan <[EMAIL PROTECTED]> [2002-09-21 11:45]: > There is a bug in Apache::Cookie. It doesn't handle a cookie with > zero bytes in it! This is because Apache::Cookie is implemented in C, and C uses NULL as the end of string terminator. This is probably something that needs to be done

Re: newbie: file uploads not working :(

2002-09-12 Thread darren chamberlain
* Geoffrey Young <[EMAIL PROTECTED]> [2002-09-12 15:45]: > > Note: If you ever use them in file posts, don't forget to clean the > > file names, especially when it comes from Windows machine... > > I've found this to be reasonably portable for getting just the > filename (sans path) - YMMV > >

Re: Apache::Reload -- can't locate main.pm?

2002-08-26 Thread darren chamberlain
* Ken Miller <[EMAIL PROTECTED]> [2002-08-26 12:03]: > What's main.pm, and why can't Apache::Reload find it? I've searched > the archives, but have had little success in finding anything > interesting. Run find $dir -name 'main.pm' -print For each dir in @INC, and see what comes up. (darren

Re: $r->path_info() getting confused

2002-08-21 Thread darren chamberlain
* Fran Fabrizio <[EMAIL PROTECTED]> [2002-08-21 11:03]: > > > > > > > When I call the URL /rms/module/foo, and in > RMS::Control::Module->handler I examine $r->path_info, I get as a value > '/module/foo' rather than the expected '/foo'. If apache recognized > that /rms/module/foo was to

Re: apache + mod_perl --> chunk mode trailer

2002-08-14 Thread darren chamberlain
* Fang Cheng <[EMAIL PROTECTED]> [2002-08-13 23:06]: > If you do an apache code trace, set the breakpoint at > apache_src/main/http_protocol.c function > ap_finalize_request_protocol, you will see the > r->chunked == 0 even though it was set to be 1. You > can also use snoop to see that the trai

Re: variables not changing with modperl??

2002-08-13 Thread darren chamberlain
* Michael Drons <[EMAIL PROTECTED]> [2002-08-13 01:55]: > Thanks for the link. I actually don't use functions. > Everything is mostly in MAIN. Here is a snip of code: > > #!/usr/bin/perl -wT > use strict; > print ""; > my $r = Apache->request; > $r->content_type("text/html"); > $r->status(200);

Re: odd behavior of localtime

2002-07-26 Thread darren chamberlain
* Dermot Paikkos <[EMAIL PROTECTED]> [2002-07-26 09:14]: > I tried this as a snippet on its own and it works. I can't figure out > why it doesn't with mod_perl. I was a bit unsure of whether $date = > time(); should be scalar or an array but neither work. You haven't mentioned how you are calling

Re: Simple file manipulation module.

2002-07-25 Thread darren chamberlain
* Ganesan M <[EMAIL PROTECTED]> [2002-07-25 11:07]: > I am looking for a perl module to do simple file manipulations like > (list, create, edit, modify, copy, move, rename files in a directory) > through web interface. Any module recommendations to do the above > job? Well, modules: * IO::Fil

Re: possible buget in CGI.pm

2002-07-23 Thread darren chamberlain
Hi, * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-07-23 11:26]: > We are implementing mod_perl here for internal intranet use. We have > discovered a possible buglet in CGI.pm. > > We do not want CGI.pm to return XHTML as it upsets Verity indexing > (long story). So sorry to hear about that.

Re: $r->path_info question

2002-07-23 Thread darren chamberlain
* simran <[EMAIL PROTECTED]> [2002-07-23 05:11]: > However: if i create an 'auto' directory in my document root > (something that was not there before) > [-- snip --] > Is this is feature or a bug, does path_info not check the 'Location' it > matced the handler to or is it meant to look at the

Re: Weird problem with cookies on Netscape with apache running a virtualhost

2002-07-12 Thread darren chamberlain
* Chris Pizzo <[EMAIL PROTECTED]> [2002-07-12 17:02]: > This works but I need to set multiple cookies. Im doing this: > > my $c = new CGI::Cookie(-name => 'SID', -value => 'stuff', -expires > => '+6M'); > my $cc = new CGI::Cookie(-name => 'BUD', -value => > 'Wassup', -expires =>

Re: leaks with Apache::Request?

2002-07-09 Thread darren chamberlain
* Joe Schaefer <[EMAIL PROTECTED]> [2002-07-09 12:47]: > Dave Rolsky <[EMAIL PROTECTED]> writes: > > On 8 Jul 2002, Joe Schaefer wrote: > > If I do this: > > > > my $x = shift; > > $x = make_something_from($x); > > > > then it seems like the original $x should go out of scope when it is > > as

Re: QUESTION - Apache::AuthenCache

2002-07-08 Thread darren chamberlain
* JOSE SOLE <[EMAIL PROTECTED]> [2002-07-08 14:24]: > I am trying to use Apache::AuthenCache as my authentication handler > for my server. I keep getting a FORBIDDEN error each time I try to > access the index.html page by only typing the URL up to the directory. > > Example: > > //FORBIDDEN ER

Re: Apache::Request $apr->param; problems.

2002-07-05 Thread darren chamberlain
* Wes Cravens <[EMAIL PROTECTED]> [2002-07-05 10:48]: > however if this routine is called more than once with the same $r > object then the second time there are no params. It's as if calling > $apr->param strips them off $r. That's not clever. I can't find > anything in the documentation that

Re: Like-named perl modules in separate directories

2002-06-26 Thread darren chamberlain
* Tim Gerla <[EMAIL PROTECTED]> [2002-06-26 11:33]: > I've got a problem with a perl module (.pm) problem on my server. I've > got two slightly different versions of a file: Conf.pm, in two > separate places on my server. (Let's call them /home/www/docs/web/cgi/ > and /home/www/docs/minos/cgi/) Mo

Re: custom directives, again...

2002-06-18 Thread darren chamberlain
* Noam Solomon <[EMAIL PROTECTED]> [2002-06-17 17:49]: > I sent out a plea for help last week, but probably didn't provide > enough information for a quick solution. The problem is that I'm using > Apache::OpenIndex (which is similar to Apache::AutoIndex) and have not > been able to get the apache

Re: PerlTransHandler problem

2002-06-13 Thread darren chamberlain
* Rasoul Hajikhani <[EMAIL PROTECTED]> [2002-06-12 19:12]: > Hello folks, > I am trying to implement a simple PerlTransHandler to change: > > http://myserver/ > > to > > http://myserver.rhythm.com/ > > And here is my code: [-- snip --] Have you seen

Re: header woes

2002-06-13 Thread darren chamberlain
* Arnold van Kampen <[EMAIL PROTECTED]> [2002-06-13 09:34]: > Why do I have have so much trouble doing some header parsing? I am > doing header parsing because I wanted to check out cookie behaviour > on relocation/redirection by browser. I get stuck when I cannot get > with the basic stuff.

Re: Mapping to location "/"

2002-06-12 Thread darren chamberlain
* md <[EMAIL PROTECTED]> [2002-06-12 17:05]: > --- darren chamberlain <[EMAIL PROTECTED]> wrote: > > If you use a translation handler, you can just return DECLINED for > > everything you aren't specifically handling, and let mod_dir do it's > > thing,

Re: Mapping to location "/"

2002-06-12 Thread darren chamberlain
* md <[EMAIL PROTECTED]> [2002-06-12 13:15]: > --- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote: > > Can't you just drop the and use > > > >SetHandler > > > > or something like that? Seems like it would avoid > > some overhead for you. > > True...but the files don't actually exist. Th

Re: Header weirdness under mod_perl

2002-06-11 Thread darren chamberlain
* Dodger <[EMAIL PROTECTED]> [2002-06-11 06:56]: [-- snip --] > Well, it seems that there are strange headers being passed out with > mod_perl, and mixed into them come carriage returns. You're using chunked encoding; many clients can't handle that. > /* response headers from mod_perl -- sessi

Re: Many requests per page

2002-05-02 Thread darren chamberlain
* Viljo Marrandi <[EMAIL PROTECTED]> [2002-05-02 10:26]: > > The way I figure this, is that https://mysite.com/scripts/* act the > > same way as everything used to, and you can load your images from > > https://mysite.com/images/* without complaints about crossing the > > secure/nonsecure boundry.

Re: Many requests per page

2002-05-02 Thread darren chamberlain
* Viljo Marrandi <[EMAIL PROTECTED]> [2002-05-02 08:57]: > How can I make my system so, that my perl handler is not called for > each image, css and script the page has? [-- snip --] The example handlers that come with HTML::Mason have an answer; in My::Site::handler, add something like: #

Re: [Fwd: Re: Cheap and unique]

2002-05-01 Thread darren chamberlain
* David Jacobs <[EMAIL PROTECTED]> [2002-04-30 18:31]: > A global counter hanging around is a good solution, but not perfect if > we deploy on multiple servers. That depends on what you initialize the global to; if you do something like the last octet of the ip of the vhost and increment it by t

Re: File::Redundant

2002-04-29 Thread darren chamberlain
This is OT for mod_perl, sorry... * Cahill, Earl <[EMAIL PROTECTED]> [2002-04-29 13:55]: > > Our NIS maps are on the order > > of 3 GB per file (>64k users). > > Man, that is one big file. Guess dropping a note to this list sorta > lets you know what you have to really scale to. Sounds like di

Re: How to generate pre-filled forms? (fwd)

2002-04-26 Thread darren chamberlain
* Ken Clark <[EMAIL PROTECTED]> [2002-04-26 14:33]: > I'll throw my technique into the ring, too. I use Template Toolkit > most of the time, and I pass the original Apache request object back > to the template as a parameter. Then I call the "param" method to > fill in the "value" of form elemen

Re: [Q maybe OT] forward

2002-04-24 Thread darren chamberlain
* Martin Haase-Thomas <[EMAIL PROTECTED]> [2002-04-24 08:19]: > forwarding is a term that i borrowed from the JSP concept - which i'm > currently trying to implement in perl. it means nearly the same as > redirect, but without telling the client. (as far as i've understood > it do far. maybe it's

Re: [OT] Doubt on directories for development

2002-04-22 Thread darren chamberlain
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-04-22 09:53]: > >> The fact is that developers in my team have Apache under /usr/local in > >> Linux machines, but we would prefer to develop as normal users, not as > >> www or nobody, though that will be the user in production. > > See the section o

Re: pnotes notes and subprocess_env

2002-04-18 Thread darren chamberlain
* Rasoul Hajikhani <[EMAIL PROTECTED]> [2002-04-18 16:29]: > I don't seem to be able to make pnotes, notes or subprocess_env work. > I am trying to pass a value from a handler to another, and from what I > have read in the Eagle, and cook book, the request ought to be the > main one in order for t

Re: Restarting named service

2002-04-18 Thread darren chamberlain
* Stephen Gray <[EMAIL PROTECTED]> [2002-04-18 15:34]: > On Thu, 18 Apr 2002 [EMAIL PROTECTED] wrote: > > or you would be safer running your name server as named as opposed > > to root. > > > > STEVE > > It should be run as named, but trying to start and stop it as the > named user won't get you

Re: Help Requested: Segfault 11 7 *snip*

2002-04-09 Thread darren chamberlain
* Stas Bekman <[EMAIL PROTECTED]> [2002-04-09 12:14]: > darren chamberlain wrote: > > Kevin A. McGrail wrote: > > > 2nd, The segv.cgi at the same location as the Bad:Segv above, > > > segfaults on the command line and through normal CGI but not with > > >

Re: Help Requested: Segfault 11 7 MONTHS after compilation on multiple servers all compiled the same running different code and different Redhat Released all on the same day [BUG]

2002-04-09 Thread darren chamberlain
Kevin A. McGrail wrote: > 2nd, The segv.cgi at the same location as the Bad:Segv above, segfaults on > the command line and through normal CGI but not with mod_perl. Here's the > error I get trying to run this script with mod_perl (1.26): > > [Tue Apr 9 09:53:16 2002] [error] [Tue Apr 9 09:53:1

Re: mod_perl & restart vs. graceful

2002-04-09 Thread darren chamberlain
* Stephen Reppucci <[EMAIL PROTECTED]> [2002-04-09 10:44]: > Hi Darren, > > See my suggested refinement below (I don't like to leave the server > down any longer than needed...8^): Assuming that the last thing the parent does is remove the pidfile, which is most likely the case. I didn't even t

Re: mod_perl & restart vs. graceful

2002-04-09 Thread darren chamberlain
* Dan Wilga <[EMAIL PROTECTED]> [2002-04-09 10:19]: > It's most likely that the stop is actually taking longer than you > expect to process. Apachectl just sends the "kill" and doesn't wait > around for everything to exit. Depending on what each of the children > is doing, this can take awhile. So

Re: Apache+Modperl & Website Statistics

2002-03-27 Thread darren chamberlain
* Philip M. Gollucci <[EMAIL PROTECTED]> [2002-03-27 10:38]: > Well I've basically taken your route the first time I tried to > do this a year ago. The other problem is that this requires > the vistors go to this particular page. If they bookmark to > another page or type the url of a sublink, t

Re: Apache+Modperl & Website Statistics

2002-03-27 Thread darren chamberlain
* Philip M. Gollucci <[EMAIL PROTECTED]> [2002-03-27 09:59]: > I know perl is server side and javascript is client side. > AFAIK, getting the resolution is a client side thing. I know I > can embed an html page with javascript in it that redirects to > a perl file setting the query string with wi

Re: Off topic question & a little worried

2002-03-21 Thread darren chamberlain
Quoting Ged Haywood <[EMAIL PROTECTED]> [Mar 21, 2002 16:15]: > > Any idea as to how it got on my server. > > Nope. There are a thousand ways it could have been done if > your server is not carefully secured. Do waht Perrin said - > take it offline, it can't be trusted - and read the CERT stuff

Re: modperl and SQL db select

2002-03-21 Thread darren chamberlain
Quoting Dave Hodgkinson <[EMAIL PROTECTED]> [Mar 21, 2002 13:25]: > darren chamberlain <[EMAIL PROTECTED]> writes: > > Quoting dreamwvr <[EMAIL PROTECTED]> [Mar 21, 2002 13:10]: > > > Is there any issue with using modperl with postgres vs mysql > > >

Re: modperl and SQL db select

2002-03-21 Thread darren chamberlain
Quoting dreamwvr <[EMAIL PROTECTED]> [Mar 21, 2002 13:10]: > Is there any issue with using modperl with postgres vs mysql > for a database driven website? Don't want to bark up the wrong > tree in a mod_perl project only to discover I picked the wrong > .db :-/ Take a look at http://www.phpbuild

Re: [WOT] emacs and WEBDAV

2002-03-14 Thread darren chamberlain
Quoting Rob Bloodgood <[EMAIL PROTECTED]> [Mar 14, 2002 14:30]: > I've been trying, in various attempts over the past two years, > to come up with a compromise between the two. The closest I've > come was somebody mentioned a CVS emulation layer over a DAV > repository... but that never came to f

Re: where is libperl.so.1?

2002-03-07 Thread darren chamberlain
Quoting J S <[EMAIL PROTECTED]> [Mar 07, 2002 12:18]: > I've installed an apache build I did onto a Solaris > 2.6 box, and when I try to start it I get the following error message: > > ld.so.1: /opt/apache_1.3.22/bin/httpd: fatal: libperl.so.1: open failed: > No such file or directory > Killed >

Re: Perl script for Cobalt Cube 3

2002-03-07 Thread darren chamberlain
Quoting Thomas Hanson <[EMAIL PROTECTED]> [Mar 07, 2002 07:36]: > I am trying to make 2 perl scripts for our cube3 since we are > trying to automate the add user and delete user administration. > > So far I have found perl scripts to add users and groups, > delete users and groups but not to add

Re: mod_perl and perl RPMs and Oracle 9iAS

2002-03-06 Thread darren chamberlain
Quoting Rafael Caceres <[EMAIL PROTECTED]> [Mar 06, 2002 12:22]: > Perrin Harkins wrote: > >Unless there is some additional module provided by Oracle > >which has a C component and no source, you should be fine to > >replace everything they gave you if you want to. I wouldn't > >bother though, un

[upload@p11.speed-link.de: CPAN Upload: D/DA/DARREN/Apache-MultiAuth-0.04.tar.gz]

2002-02-14 Thread darren chamberlain
- Forwarded message from PAUSE <[EMAIL PROTECTED]> - Date: Thu, 14 Feb 2002 19:13:11 +0100 Reply-To: [EMAIL PROTECTED] Subject: CPAN Upload: D/DA/DARREN/Apache-MultiAuth-0.04.tar.gz From: PAUSE <[EMAIL PROTECTED]> To: "Darren Chamberlain" <[EMAIL PROTECTED]

Re: Multiple authentication methods

2002-02-13 Thread darren chamberlain
Quoting Stathy G. Touloumis <[EMAIL PROTECTED]> [13 Feb-02 15:26]: > Some more fixes ; ) Yay! Bug reports already... > I would suggest changing the PerlSetVar variables > to actual apache configuration directives which would change this : > > my @auth_modules=$r->dir_config->get("AuthModules");

Re: Multiple authentication methods

2002-02-13 Thread darren chamberlain
Quoting Marcel Weber <[EMAIL PROTECTED]> [13 Feb-02 14:53]: > Why not submitting this somewhere? I think this could be > usefull for quite a lot of people. I think this is cool, as you > do not have to worry wether the module returns DECLINED or > AUTH_REQUIRED. I can package this up and put it o

Re: Multiple authentication methods

2002-02-13 Thread darren chamberlain
Quoting Aaron Ross <[EMAIL PROTECTED]> [13 Feb-02 09:21]: > shouldn't stacked handlers be the right solution here? are > stacked auth handlers not allowed or something? Assuming your mod_perl has been built with them, then, yes, that's probably a better solution. But I had a fun 15 minutes writ

Re: Multiple authentication methods

2002-02-13 Thread darren chamberlain
Quoting Marcel Weber <[EMAIL PROTECTED]> [12 Feb-02 16:15]: > I don't get the point why it did not work the other way round, > but now everything is just fine now : Make it a little more generic: package Apache::MultiAuthen; use strict; use Apache::Constants qw(:common); sub handler { my $

Re: Dynamically serving an .htaccess file with mod_perl

2002-01-29 Thread darren chamberlain
Michael A Nachbaur <[EMAIL PROTECTED]> said something to this effect on 01/28/2002: > Does anyone know of a way that I can server the contents of an > .htaccess file dynamically? I know Apache checks the request > directory (and all directories above it) for an .htaccess file > before serving a f

Re: help: LWP::Simple within a mod_perl context

2002-01-28 Thread darren chamberlain
Matthew Kennedy <[EMAIL PROTECTED]> said something to this effect on 01/28/2002: > Hello, I am using LWP::Simple within a mod_perl context to > retrieve content from an external site within a request to our > site. I've installed LWP::Simple correctly, however is doesn't > work within mod_perl an

Re: Convert bitmap

2001-12-19 Thread darren chamberlain
Hans-Olof Hermansson <[EMAIL PROTECTED]> said something to this effect on 12/19/2001: > I am looking for a perl module that can convert a > bitmap picture to jpeg or gif. I am sending a bitmap > from a Pocket PC device to a Solaris webserver running > Apache. If anyone has any tips it will be grea

Re: Apache::Cooke & reserved chars

2001-12-18 Thread darren chamberlain
[EMAIL PROTECTED] <[EMAIL PROTECTED]> said something to this effect on 12/18/2001: > > Use escape_uri and unescape_uri, or some other pair of reversable > > functions. For example, store it as: > > Tried this and it appears that Apache::Util escapes the same > characters that Apache::Cookie does

Re: Apache::Cooke & reserved chars

2001-12-18 Thread darren chamberlain
[EMAIL PROTECTED] <[EMAIL PROTECTED]> said something to this effect on 12/17/2001: > I'm recording a url at the beginning of an app to restore the > entrance url: > > sub set_referer { > my $self = shift; > if ($self->{R}) { > require Apache::Cookie; > >

Re: libapreq. Apache::Cookie returns different 'expires' than CGI::Cookie?

2001-12-14 Thread darren chamberlain
Alexei Danchenkov <[EMAIL PROTECTED]> said something to this effect on 12/14/2001: > Hello, All! > I wonder why my '$cookie->expires' for this code returns a > different result than the similar one with CGI::Cookie > (commented). The result is different in a way that some > additional binary code

Re: form upload limit

2001-12-13 Thread darren chamberlain
Joe Schaefer <[EMAIL PROTECTED]> said something to this effect on 12/13/2001: > Is this what you want > > $apr = Apache::Request->new( $r->is_main ? $r : $r->main, >POST_MAX => 1024); > > ? I don't think Apache::Request provides any Perl methods for > culling

Re: using CGI::raw_cookie()

2001-12-12 Thread darren chamberlain
Lance Uyehara <[EMAIL PROTECTED]> said something to this effect on 12/12/2001: > I'm using a CGI script which makes a call to raw_cookie(). When > I run in CGI mode everything works fine, and the cookie which > matches $ENV{HTTP_COOKIE} is returned. What version of CGI.pm are you using? CGI.pm g

Re: RFC: CGI vs. Apache Namespace Question

2001-12-12 Thread darren chamberlain
James G Smith <[EMAIL PROTECTED]> said something to this effect on 12/12/2001: > darren chamberlain <[EMAIL PROTECTED]> wrote: > > 5) Include Apache::URI2Param with the CGI::URI2Param module > > that gets installed along with CGI::URI2Param if Apache.pm is >

Re: RFC: CGI vs. Apache Namespace Question

2001-12-12 Thread darren chamberlain
Thomas Klausner <[EMAIL PROTECTED]> said something to this effect on 12/11/2001: > I've got a small CPAN Namespace Question: > > Some time ago I wrote CGI::URI2param ( > http://search.cpan.org/search?mode=module&query=URI2param > ). > > Now, thanks to an i

Re: Q - Apache::Request->new(undef) works?

2001-12-11 Thread darren chamberlain
Jay Lawrence <[EMAIL PROTECTED]> said something to this effect on 12/11/2001: > In my development I neglected to supply the Apache request > object when I called Apache::Request->new( $r ). Actually $r > was undef. It still works! I am just wondering if this is > expected behaviour and if it will

Re: ASP.NET Linux equivalent?

2001-12-06 Thread darren chamberlain
Dave Hodgkinson <[EMAIL PROTECTED]> said something to this effect on 12/06/2001: > Whatever happened to the widget subproject that span out of the > modperl list a few months ago? http://www.officevision.com/pub/Widget/ Not too active lately: http://sourceforge.net/project/stats/?group_id=27958

Re: ASP.NET Linux equivalent?

2001-12-05 Thread darren chamberlain
On Monday, December 03, 2001, Vsevolod Ilyushchenko <[EMAIL PROTECTED]> said: > Is anyone aware of a Linux product equivalent to ASP.NET from > MS? Its most attractive feature is the GUI construction of Web > forms and the automatic connection of their fields to a > database. Since I am getting si

Re: Problems compiling libapreq C libs on solaris 7....

2001-10-15 Thread darren chamberlain
Sean Chittenden <[EMAIL PROTECTED]> said something to this effect on 10/15/2001: > I'm interested in the C routines, not the perl routines (have them > working and know how to get them to work ::grin::). I can do a perl > Makefile.pl && make and the build works fine, but like I said, I'm > intere

Re: Apache::Registry caching of compiled scripts

2001-10-11 Thread darren chamberlain
Nicholas Oxhj <[EMAIL PROTECTED]> said something to this effect on 10/11/2001: > Does anybody know why Apache::Registry caches compiled scripts > by their URI, instead of by their absolute path? Try Apache::RegistryNG, which caches scripts by their filename. (darren) -- Premature optimization

Re: Another way to perhaps do this......

2001-09-28 Thread darren chamberlain
Steven Boger <[EMAIL PROTECTED]> said something to this effect on 09/28/2001: > I've been netsearching for hours. It's time to beg for help... > > My apache has a hacked mod_include that has a new directive, OAS: > > > > > > Can I somehow run those directives right from mod_perl Aft

Re: Modules

2001-09-27 Thread darren chamberlain
Recendez, Ray <[EMAIL PROTECTED]> said something to this effect on 09/27/2001: > How do I check if StackedHandlers, MethodHandlers, Authen, and > Authz are compiled in? httpd -L | grep '^Perl' (darren) -- If NT is your answer, you don't understand the question.

Re: RealMedia Open AdStream and mod_perl

2001-09-24 Thread darren chamberlain
Steven Boger <[EMAIL PROTECTED]> said something to this effect on 09/24/2001: > I have heard whispers of calling internal OAS functions > directly in mod_perl instead of using OAS's hacked mod_include. > > If anybody has info on this, i'd greatly appreciate it... I've looked into using the OAS A

Re: for files that don't exist

2001-09-17 Thread darren chamberlain
dss <[EMAIL PROTECTED]> said something to this effect on 09/17/2001: > The issue is that I'm using "virtual" urls, so these .phtml > files don't actually exist and on the server. I'm curious if my approach is the best way. Shouldn't be what you want? (darren) -- If it turns out that there is

Re: Cloning the request object

2001-09-10 Thread darren chamberlain
Alin Simionoiu <[EMAIL PROTECTED]> said something to this effect on 09/09/2001: > I forgot to mention that I'm trying to inspect the body in a > authentication handler. As soon as a get the body, the body is > gone. So save the body. Put it into pnotes or something: sub handler { my $r = s

Re: sharing % across requests

2001-09-06 Thread darren chamberlain
Geoffrey Young <[EMAIL PROTECTED]> said something to this effect on 09/06/2001: > > > BlankWhat is the best way to share % across multiple requests ? > > > > it's called maintaining state - read the eagle book, chapter 5. > > > > one common solution is Apache::Session > > sorry, I think I misre

Re: Problem with DBD::Oracle with mod_perl

2001-08-23 Thread darren chamberlain
Rodney Broom <[EMAIL PROTECTED]> said something to this effect on 08/23/2001: > From: Rasoul Hajikhani <[EMAIL PROTECTED]> > > I am sorry but this topic is confusing me... Are you saying that > > persistent DB connection objects are bad? > > It sounds like that, doesn't it? This is only when one

Re: Using CGI.pm in handlers 2

2001-08-20 Thread darren chamberlain
Joachim Zobel <[EMAIL PROTECTED]> said something to this effect on 08/19/2001: > > "(offline mode: enter name=value pairs on standard input)" > > I have understood that I get theses messages because it is a Fixup Handler > and the enviroment is not yet initialized. But I still don't know what t

Re: Text Returned from Get method

2001-08-20 Thread darren chamberlain
winnecon <[EMAIL PROTECTED]> said something to this effect on 08/17/2001: > Mod_PERL pulls up the first page of my cgi, but every time I try to > navigate around using form action buttons (get method) it pulls up > the original perl code for the cgi in the browser, as if ExecCGI was > not turne

Re: Children dying

2001-08-14 Thread darren chamberlain
Aleksandr Vladimirskiy <[EMAIL PROTECTED]> said something to this effect on 08/14/2001: >I am running a perl 5.6.0, mod_perl 1.26, apache 1.3.19 on Solaris 2.6. >I get the following error in my logs: perl 5.6.0 has DynaLoader bug that minifests itself under mod_perl. Upgrade to 5.6.1, downgrade

Re: Problem Locating DB_File.PM at startup of perl script

2001-07-18 Thread darren chamberlain
James McKim <[EMAIL PROTECTED]> said something to this effect on 07/18/2001: > Hi all, > > I've run into a very frustrating problem. I'm getting the old "Can't > locate loadable object for module..." error, yet the file does exist in > the @INC path. Here's some system output: > > --

Re: Post processing Perl output through PHP

2001-07-15 Thread darren chamberlain
[EMAIL PROTECTED] <[EMAIL PROTECTED]> said something to this effect on 07/14/2001: > I am having a nightmare trying to get some PHP into the output of > a Perl script. PHP. I've heard rumours of Apache 2.0 allowing multiple > filters, which would be perfect when it's out, but not yet obviously. A

Re: Apache::Upload filehandle

2001-07-12 Thread darren chamberlain
Jay Buffington <[EMAIL PROTECTED]> said something to this effect on 07/11/2001: > I'm trying to use image magick to manipulate images that are > uploaded via http. To handle the uploaded images I'm using > libapreq's Apache::Upload. > > I wrote the below simple example script to help explain my

Re: CGI module or Apache

2001-07-09 Thread darren chamberlain
Dave Hodgkinson <[EMAIL PROTECTED]> said something to this effect on 07/09/2001: > Paul <[EMAIL PROTECTED]> writes: > > > Just use it in your handlers normally. It'll only be included once per > > process, . . . right? > > Put it in startup.pl and it'll get mostly shared too! Is that anything l

Re: re rand bug?

2001-07-09 Thread darren chamberlain
Purcell, Scott <[EMAIL PROTECTED]> said something to this effect on 07/09/2001: > Sorry to be confused, but I believe I did not create a global variable. In > the code below that I showed, I used a my to localize the $tmp variable > inside the for loop.? > > Anyway, I changed the simple code and

Re: any trick to exclude some files in FilesMatche

2001-07-09 Thread darren chamberlain
On Mon, 9 Jul 2001, Surat Singh Bhati wrote: > But all the .pl , including fast_(.*).pl are run by Apache::PerlRun handler > Any solution to exclude the fast_(.*).pl in second expression? Set the PerlRun handler as the default in httpd.conf, and write your own translation handler: package Apache

Re: 2 questions

2001-07-09 Thread darren chamberlain
ivan <[EMAIL PROTECTED]> said something to this effect on 07/09/2001: > ok I have two questions about TT, let me begin with the > first one the easier ... *snip* > How can in the parent template distinguish between these two > cases (if scalar place it, if file include it ). There is > thi

Re: returning one instance of an object per request

2001-07-06 Thread darren chamberlain
Jay Buffington <[EMAIL PROTECTED]> said something to this effect on 07/06/2001: > I'm building a web application that has a User perl module. I > have several other perl modules that need to know the user id > of the current logged in user (or 0 for a guest user). I was > thinking that I could w

Re: AuthCookie question

2001-07-06 Thread darren chamberlain
Chad Phillips <[EMAIL PROTECTED]> said something to this effect on 07/06/2001: > Hi, > I have set up Authcookie. I modified the sample scripts for my sight. > Everything works except when the wrong password is entered. When an invalid > user/password is entered, instead of re-displaying the logi

Re: getting URL of refused page, after OnDeny

2001-07-06 Thread darren chamberlain
[EMAIL PROTECTED] <[EMAIL PROTECTED]> said something to this effect on 07/06/2001: > my setup: I have files in a directory, that a user can only get if > subscribed. My apache is hacked with both C and mod_perl > enhancements to authentication/authorization. My .htaccess > lo

Re: I need help...

2001-07-05 Thread darren chamberlain
Alberto Canzi <[EMAIL PROTECTED]> said something to this effect on 07/05/2001: > Hi, I'm writing a perl module for Apache, but I have this > problem: > > I need to allocate some memory that will persist for the entire > apache server's cycle of life. (That is: I need to allocate > some memory at

Re: handler question

2001-07-03 Thread darren chamberlain
Robin Berjon <[EMAIL PROTECTED]> said something to this effect on 07/03/2001: > On Tuesday 03 July 2001 21:18, Thomas Klausner wrote: > > I have a nearly finished module which applies some regular > > expression (specified in some config file) to the URI and puts the > > stuff it found into $r->pa

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-03 Thread darren chamberlain
James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/03/2001: > darren chamberlain <[EMAIL PROTECTED]> wrote: > > James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/02/2001: > > > Apache::Use > > > > You ca

Re: handler question

2001-07-03 Thread darren chamberlain
Viljo Marrandi <[EMAIL PROTECTED]> said something to this effect on 07/03/2001: > > If sounds like you want to use r->path_info in your application, > > so you *can't* create these directories, or they will become part > > of r->filename, not r->path_info. > > > Actually i thought about r->uri.

Re: handler question

2001-07-03 Thread darren chamberlain
Viljo Marrandi <[EMAIL PROTECTED]> said something to this effect on 07/03/2001: > Hello, > > Is it possible, if yes then how, to set handler recursively for one > directory? Now my handler is defined: > > > SetHandler perl-script > PerlHandler MyServ::MyHandler > Use a Location rathe

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-03 Thread darren chamberlain
James G Smith <[EMAIL PROTECTED]> said something to this effect on 07/02/2001: > How would something like this do: > > NAME > > Apache::Use > > SYNOPSIS > > use Apache::Use (Logger => DB, File => "/www/apache/logs/modules"); > > DESCRIPTION > > Apache::Use will record the modules used over t

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 nev

  1   2   3   >