Re: mod_perl v2 Forking

2003-09-15 Thread Martin Langhoff
eties. regards, martin

Re: syntax error ... near "compile qw(:common)"

2003-08-25 Thread Harold Martin
On Sun, 2003-08-24 at 19:46, Stas Bekman wrote: > Harold Martin wrote: > > On Sun, 2003-08-24 at 18:12, Stas Bekman wrote: > > > >>Harold Martin wrote: > >> > >>>On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: > >>> > >>> > &

Re: syntax error ... near "compile qw(:common)"

2003-08-25 Thread Harold Martin
On Sun, 2003-08-24 at 18:12, Stas Bekman wrote: > Harold Martin wrote: > > On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: > > > >>Harold Martin wrote: > >> > >>>Hello, > >>>When I try to start up Apache, I get the error: > >>>

Re: syntax error ... near "compile qw(:common)"

2003-08-25 Thread Harold Martin
On Sun, 2003-08-24 at 17:21, Stas Bekman wrote: > Harold Martin wrote: > > Hello, > > When I try to start up Apache, I get the error: > > [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, > > near "compile qw(:common)" > > Compila

syntax error ... near "compile qw(:common)"

2003-08-25 Thread Harold Martin
Hello, When I try to start up Apache, I get the error: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near "compile qw(:common)" Compilation failed in require at /etc/httpd/promp3/promp3.handler.pl line 6. BEGIN failed--compilation aborted at /etc/httpd/promp3/promp3.handl

Errors trying to port (old) mod_perl software

2003-08-22 Thread Harold Martin
ror: Can't locate # in @INC What? I can't think of ever seeing any modules by that name :} What should I do next to try and get this program working? Thanks, Harold Martin signature.asc Description: This is a digitally signed message part

Re: How to restart the root server from within modperl?

2003-08-14 Thread Martin Langhoff
er, do some port forwarding from port 80 to your high port of choice. regards, martin

Re: rflush() not working as documented?

2003-08-14 Thread Martin Wickman
On Thu, Aug 07, 2003 at 04:46:51PM -0700, Stas Bekman wrote: > > Please try the latest mp2 cvs, I've added a new test t/api/rflush.t, > it tests rflush explicitly (even though it's already used for > exactly this purpose in several other tests). [...] > does it work for you? I tried the latest

Re: rflush() not working as documented?

2003-08-14 Thread Martin Wickman
Stas Bekman wrote: >Geoffrey Young wrote: >>Martin Wickman wrote: >>>Martin Wickman wrote: >>> >>>>According to docs[1], $r->rflush() should create a new brigade >>>>with data. It does not. >> >>I've seen this also, but was

Re: rflush() not working as documented?

2003-08-14 Thread Martin Wickman
On Wed, Aug 06, 2003 at 07:33:49AM -0700, Stas Bekman wrote: > Martin Wickman wrote: [...] > oops, sorry. Can you try with the latest cvs? Not at the moment. But I'll try in a few days. > Your particular problem report was fine, what you have missed is the output > of t/REPO

Re: rflush() not working as documented?

2003-08-04 Thread Martin Wickman
Just checking that this did not get lost on the way. Anyone care to give me a hint? On Thu, Jul 31, 2003 at 10:17:06PM +0200, Martin Wickman wrote: > Hello > > According to docs[1], $r->rflush() should create a new brigade with > data. It does not. > > It see

Filter brigades with rflush() not working?

2003-07-31 Thread Martin Wickman
Hello According to [1], $r->rflush() should create a new brigade with data. It does not. It seems the docs and/or my understanding of this is in error (probably the latter...). This is with: Apache/2.0.47 (Debian GNU/Linux) mod_perl/1.99_07-dev Perl/v5.8.0 And I am using the streaming filter a

Invalid command 'PerlLoadModule'

2003-07-30 Thread Martin Wickman
Hello On apache startup I get: "Invalid command 'PerlLoadModule', perhaps mis-spelled or defined by a module not included in the server configuration" This is with Apache/2.0.46 (Debian GNU/Linux) mod_perl/1.99_07-dev Perl/v5.8.0 Is my mod_perl to old or something? Btw, I have followed rel

Re: [QUESTION] Can't read out verified username (auth)

2003-07-23 Thread Martin Wickman
On Wed, Jul 23, 2003 at 02:37:30PM +0200, Fatih Gey wrote: > From: "Martin Wickman" <[EMAIL PROTECTED]> [...] > > Nope. When the browser gets a 401 response from the server, it > > will (most likely) pop up a dialog asking the user for name and > > password

Re: [QUESTION] Can't read out verified username (auth)

2003-07-21 Thread Martin Wickman
On Mon, Jul 21, 2003 at 12:36:55PM +0200, Fatih Gey wrote: > > On Mon, Jul 21, 2003 at 01:05:58AM +0200, Fatih Gey wrote: > > > > > > i was writing my own AuthHandler with modperl v2 (v1.99_09). > > > > [...] > > > > > After having entered user/pass via html-form, this authentification > > > doe

Re: [QUESTION] Can't read out verified username (auth)

2003-07-21 Thread Martin Wickman
On Mon, Jul 21, 2003 at 01:05:58AM +0200, Fatih Gey wrote: > > i was writing my own AuthHandler with modperl v2 (v1.99_09). [...] > After having entered user/pass via html-form, this authentification > does his job well, but on the following request (on same browser) > $obj->user doesnt seem to

Re: Combining authen-handler with mod_auth

2003-07-15 Thread martin
On Mon, 14 Jul 2003 23:26:06 -0500 (CDT), "Geoffrey Young" wrote: > > Instead of trying to cram multiple perl-script into the same Authen > > phase, which btw could not be done without patching Apache and/or > > mod_perl, > > if by perl-script you mean mod_perl handlers, that's not really true. >

Abusing apache auth phases [FWD: [Re: Combining authen-handler with mod_auth]]

2003-07-14 Thread Martin Wickman
Any thoughts on this stuff? I'd like to try my ideas on the list before going ahead and implementing it in practice. - Forwarded message from Martin Wickman <[EMAIL PROTECTED]> ----- From: Martin Wickman <[EMAIL PROTECTED]> Subject: Re: Combining authen-handler with mod_

Re: Combining authen-handler with mod_auth

2003-07-10 Thread Martin Wickman
On Mon, Jul 07, 2003 at 10:06:59AM -0700, Geoffrey Young wrote: [...] >>I think a lot of interesting password policies could be implemented >>if it was possible to run perl-code before and after existing >>authentication modules. Is it feasible to add this to the current >>mod_perl as a runtime o

Re: Combining authen-handler with mod_auth

2003-07-05 Thread Martin Wickman
On Sat, Jul 05, 2003 at 02:28:09PM -0400, Geoffrey Young wrote: > > > Martin Wickman wrote: > >Hello > > > >The short version: > > > >How can I force my mod_perl Authen-handler to run after mod_auth and > >not before it? > > in Apache 1.3 yo

Combining authen-handler with mod_auth

2003-07-05 Thread Martin Wickman
ch that is better. /Regards Martin [2] http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=be0i9b%2411n3fm%241%40ID-156202.news.dfncis.de [1] I realize there may be issues with HTTP_UNAUTHORIZED causing apache to abort the chain (according to docs anyway), but that can

Error Handling/Reporting

2003-06-17 Thread Martin Moss
All, I've been hunting the web for mechanisms whereby I can trap errors from my mod perl objects and report them back to a user nicely, log them AND possibly send reports back to me. Before I started hunting I thought it would be a simple process to use the eval mechanism to run my scripts and th

Re: Can't call method "is_initial_req" without a package or object reference at .........

2003-06-17 Thread Martin Moss
Thanks Geoffrey. Marty - Original Message - From: "Geoffrey Young" <[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2003 4:23 PM Subject: Re: Can't call method "is_initi

Re: Can't call method "is_initial_req" without a package or object reference at .........

2003-06-17 Thread Martin Moss
Ok, that makes sense, thank you:-) But 'What' should I return, is $r->main the right thing to return? > > unless ($r->is_main ) > > { > > print STDERR "Apache::Request is not Main, Getting Main\n"; > > print STDERR Dumper($r); > > $r=$r->main; > > print STDERR "Main Apache::Req

Can't call method "is_initial_req" without a package or object reference at .........

2003-06-17 Thread Martin Moss
All, I'm having some problems with Apache giving me grief, or most probably me getting my knickers in a complete twist. I get the following error:- Can't call method "is_initial_req" without a package or object reference at . It seems to happen when my URL ends like this:- /somepath/16

install upgrade for mod_perl+apache 2.046 onto apache 2.044 question

2003-06-08 Thread dan martin
I have apache 2.044 installed on win2k. I want to install the mod_perl which comes with apache included (version 2.046).What do I need to do with the current 2.044 version before installing the new version? Do I uninstall it, stop it, or nothing?Once I install the new version what are the steps to

Re: font width to pixel width in perl - but also offtopic in javascript

2003-06-05 Thread Martin Moss
Thanks, I may well have found a solution within javascript, which is then user end calculated, so more efficient and reliable, But thanks I'll remember GD for later use:-) Marty - Original Message - From: "Ken Y. Clark" <[EMAIL PROTECTED]> To: "Martin Mo

font width to pixel width in perl - but also offtopic in javascript

2003-06-05 Thread Martin Moss
Hi All, I'm sure this can't be an issue that hasn't been tackled, but I couldn't find anything in the archives so:- I'm trying to find a way in which I can calculate the pixel width of a string in a given font. I'm doing this to feed a javascript file, so I am also looking at doing this in javasc

Re: how to secure perl modules?

2003-05-30 Thread Martin Moss
Hi All, Just to throw a spanner in the works, a little while ago I came across the following Article on the Net. http://www.perl.com/pub/a/2002/10/15/radiator.html >From what I can tell The author of the 'radiator' product claims to have successfully shipped 'encrypted' code. I've been pondering

Apache::AuthTicket lookalike for DBM files

2003-04-04 Thread Martin Langhoff
lazyness is one of my virtues ;) cheers, martin --

checking what values have been set using pnotes/notes

2003-04-04 Thread Martin Moss
All,   Is there a way to work out what values have been set using pnotes/notes, So that a cleanup Handler can dynamically clear the values, rather than only clear ones pre-programmed?   Marty  

Subclassed Apache::Request Objects and their creation/destruction

2003-04-04 Thread Martin Moss
All,I'm looking for some help with understanding how the Apache::Request objectsare created and destroyed.I have the following params set in my httpd.confKeepAlive OffPerlChildInitHandler Bficient::Apache::DBloadWhich as I understand it should mean that an apache::Request object iscreated f

Re: Spell Checkers and EMail

2003-03-06 Thread Martin Edenhofer
he user aborted). It wasn't that bad, but I'm glad I didn't have > to write the JavaScript. There is a nice example for a spell-checking implantation like you wrote. Maybe it's helpful for somebody: http://demo.otrs.org/ (source: http://cvs.otrs.org/) > ky Martin -- Old programmers never die. They just branch to a new address.

Can anyone Rcommend a good Apache mailing list

2003-03-05 Thread Martin Moss
All, I'm having issues with conflicts between using Port and Listen directives for access via LAN and ssh tunnel (or proxy). Can anyone recommend a mailing list I can post my problem to? Kind Regards Marty "From les Rosbeufs to les Grenuoilles, Standing up to a bully bigger than you is bravery

Re: [error] Insecure dependency in unlink while running with-Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pmline106

2003-02-28 Thread Martin Moss
Thanks mate, Will re-examine the drawing board.. Marty - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> Cc: "Cees Hek" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, F

Re: [error] Insecure dependency in unlink while running with -Tswitch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line106

2003-02-28 Thread Martin Moss
ially as I could be operating on 100's of records. I was using Apache::Session to generate session IDs and allow me to timeout users etc... Marty - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> C

Re: [error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-28 Thread Martin Moss
Is Apache::Session::DB_type Faster than Apache::Session::File? I already use a lot of DB connections and I used Apache::Session::File to reduce this, Marty - Original Message - From: "Cees Hek" <[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> Cc:

[error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-27 Thread Martin Moss
All, Can Anybody see what I'm doing wrong here? I have the following error :- [error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106. When I run the following subroutine:- sub delete_session { my $self=shift;

Re: Browser doesn't stop loading a page

2003-02-26 Thread Martin Moss
ely not a mod_perl-related problem. > > -Fran > > > -Original Message- > > From: Chris Winters [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, February 26, 2003 8:22 AM > > To: Martin Moss > > Cc: Apache mod_perl > > Subject: Re: Browser do

Browser doesn't stop loading a page

2003-02-26 Thread Martin Moss
All, Not much to go on I know, but has anybody ever had this problem? When I load one of my webpages the browser never stops loading, e.g. the page loads ok and I can see and interact with it, but the ie spinning globe still keeps spinning and the status bar at the bottom of the page still shows t

RE: Help installing mod_perl 1.27 and apache 1.3.27. newbie question.

2003-02-20 Thread Martin Scantland
Charlie,   It just seems like you need to add make in your path (sh: make: not found).    Cheers, Martin Martin Scantland IP Services, Internet Engineering, Nortel Networks Phone:   613.765.4052, ESN 395.4052 -Original Message-From: Charlie Smith [mailto:[EMAIL PROTECTED]]Sent

Re: Please wait Handler

2003-02-17 Thread Martin Moss
Thanks for all your help guys, Will have a think about it, Marty - Original Message - From: "Randal L. Schwartz" <[EMAIL PROTECTED]> To: "Perrin Harkins" <[EMAIL PROTECTED]> Cc: "Andrew Ho" <[EMAIL PROTECTED]>; "Martin Moss" <[

Please wait Handler

2003-02-14 Thread Martin Moss
All,   I was wondering if it is possible to Create a Handler that points a user at a page with an animated gif saying something like "Please wait", and then when my other handlers have finished display the page results I want from my mod perl handlers.   I guess in a nutshell I'm wondering if

Re: mysql question

2003-01-23 Thread Martin Moss
ld suggest that reading one post out of context, and then assuming I'm just randomly posting a mysql question 'out of the blue', is a little naive. Marty - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Nick Tonkin" <[E

Re: mysql password encryption

2003-01-23 Thread Martin Moss
- From: "Joe Palladino" <[EMAIL PROTECTED]> To: "Cees Hek" <[EMAIL PROTECTED]>; "Martin Moss" <[EMAIL PROTECTED]> Cc: "Modperl" <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 3:44 PM Subject: RE: mysql password encryption >

mysql question

2003-01-23 Thread Martin Moss
slightly off topic, but is it possible to grant permissions to a user on multiple tables in one sql statement in mysql? >From mysql.com:- GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP -> ON bankaccount.* -> TO custom@localhost -> IDENTIFIED BY 'stupid'; can I do this ON b

mysql password encryption

2003-01-22 Thread Martin Moss
All, I wish to let a user use the same password for them to authenticate to a multitude of mysql Databases AND to authenticate themselves on my modperl site. the problem I have is that I store the password in the database as a Password field. However when I wish to use DBI to connect to another my

Re: modperl ttssh and port forwarding - SOLVED

2002-12-08 Thread Martin Moss
All, sorry for the trouble, I finally worked out the problem, I didn't have libproxy.so loaded on my 192.168.0.10 machine and the directive ProxyRequests On set. Now that I do it works fine, Regards Marty - Original Message - From: "Martin Moss" <[EMAIL PROTE

modperl ttssh and port forwarding

2002-12-08 Thread Martin Moss
All, I have a configuration issue, and I was wondering if anybody has had the same problem? I have an adsl gateway (192.168.0.1 & external IP) and a seperate webserver (192.168.0.10) on my home network. I want to allow a user on the internet access to my webserver. I have once before configured tt

Re: libapreq-1.1 Release Candidate 1

2002-11-26 Thread Martin Nilsson
above two keys should create a multivalued enty and not two entries, one with key 'GOTO' and the other with 'goto'. To make matters worse actual case used for the resulting multivalued key is only dependent on which field that was parsed first! /Martin -- Martin Nilsson, Ci

identifying a unique browser session

2002-10-07 Thread Martin Moss
All, How would I go about identifying if a user logs in from 2 different browsers? I Have a Session object, but I want to hold data within that session object that identifies which browser a user is using. So I can confirm that a user who provides a session key in their cookie, is checked and tha

Re: Daft question - preventing the username password box from appearing.

2002-10-01 Thread Martin Moss
thanks to everyone, Geoff's post made me re-examine AuthCookie and I realised I wasn't supposed to use the get_basic_auth_pw method at all. Thanks I understand whats going on now. Cheers Marty - Original Message - From: "Lupe Christoph" <[EMAIL PROTECTED]>

Daft question - preventing the username password box from appearing.

2002-10-01 Thread Martin Moss
All, How do I change the behaviour of get_basic_auth_passwd() I do not wish to have the prompt box appear, I want to have a dynamically produced login form which when submitted carries out the users previous command (I have an authentication system which 'times out' a user) the problem I have i

Re: problem with $r->push_handlers()

2002-09-17 Thread Martin Moss
You are a star!!! I ammended your syntax slightly and did this:- my $sub_string='sub { '.$handler_bf.'($r) };'; $r->push_handlers(PerlHandler => eval $sub_string); Otherwise The handler routine of my handler module doesn't get passed the Apache object as it's first argument. It seems to work

Re: problem with $r->push_handlers()

2002-09-17 Thread Martin Moss
$varname=$1;    die "$varname is Tainted" if (&_is_tainted($varname));  }  else  {    die "Taint Check failed for $varname\n";  }  $HANDLERS{$untainted_keyname}=$varname;  print STDERR "Added $keyname = $varname\n";    }  } 

Re: Client capabilities

2002-04-30 Thread Martin Haase-Thomas
dle "image/png", while in practise lynx cannot display >that. > > // Joel > > > > -- "Constant shallowness leads to evil." --- Martin Haase-Thomas |Tel.: +49 30 43730-558 Software Development| [EMAIL PROTECTED] ---

Re: [Q maybe OT] forward

2002-04-29 Thread Martin Haase-Thomas
lead to a 301 response, a 'moved' to a 302, and a 'forward' to whatever. But these are in fact not of the server page's concerns. Would you agree with this approach? regards M Perrin Harkins wrote: > Martin Haase-Thomas wrote: > >> forwarding is a term tha

Re: [Q maybe OT] forward

2002-04-28 Thread Martin Haase-Thomas
h to it - or it doesn't. But maybe I'm bragging now - wait a few weeks and we'll hopefully both see whether I'm right or not. Kind regards Martin Andrew Ho wrote: >Hello, > >MHT>forwarding is a term that i borrowed from the JSP concept - which i'm >MHT&g

Re: [Q maybe OT] forward

2002-04-24 Thread Martin Haase-Thomas
mfortable decision what do to with this 'event' up to him... ... whistling ... :) M Per Einar Ellefsen wrote: > At 07:44 24.04.2002, Martin Haase-Thomas wrote: > >> Hi all, >> >> maybe this is going to be a little off topic, but it won't take you >>

[Q maybe OT] forward

2002-04-23 Thread Martin Haase-Thomas
7;t all just a dream... thx M -- http://www.meome.de ------- Martin Haase-Thomas |Tel.: +49 30 43730-558 meOme AG|Fax.: +49 30 43730-555 Software Development| [EMAIL PROTECTED] ---

Trapping browser events

2002-04-11 Thread Martin Harriss
routine to close any database connections. I can use the Javascript onUnload event, I can't figure how to commmuncate with the Perl process. Any ideas would be welcome. Martin Harriss Cambridge UK

Re: Apache::File correction

2002-04-10 Thread Martin Haase-Thomas
ng Perl's predefined variables. regards Martin Rasoul Hajikhani wrote: >Folks, >The Apache::File man pages indicate that > >($name,$fh) = Apache::File->tmpfile; > >returns a fh ready to write to. So far so good. > >In case of wanting to read from it, here is wha

Re: Unsubscribe me please [KILL THIS THREAD]

2002-04-10 Thread Martin Haase-Thomas
:) giggle... Perrin Harkins wrote: > Please kill this thread. Some people are not good at dealing with > mailing lists. At least this guy was polite. > > - Perrin > > > -- http://www.meome.de ------

Re: [OT?] What exactly is forwarding?

2002-03-12 Thread Martin Haase-Thomas
Thank you both. I thought so: it is one of these typical JSP features - but now it works in perl, too ;) Cheers Martin Perrin Harkins wrote: > Paul Lindner wrote: > >> You'll find that $r->internal_redirect() is the mod_perl equivalent. >> Also Apache::ASP conta

Re: [OT] Thought for the Day

2002-03-12 Thread Martin Haase-Thomas
Should we tell the yellow press in the end? ;) Martin Carlos Ramirez wrote: > I wrote an article about Apache::Motd for UNIX SysAdmin magazine > (March 2001 issue). Here's the link: > http://www.samag.com/documents/s=1153/sam0103a/ > > -Carlos > > > Ge

[OT?] What exactly is forwarding?

2002-03-12 Thread Martin Haase-Thomas
nearly the same as a dynamic include. 2. Forwarding is the same as a redirect. Maybe a superfluous question for some of you, for me it isn't actually. So, if anyone knows an answer - or knows the number of the RFC I'll find the information: you're welcome! Thanx a lot in advance M

Re: How to invoke the save dialog box when clicking in the link, which is generated by PERL script.

2002-03-06 Thread Martin Haase-Thomas
r. Programmer, Frontlinesoft, Hyderabad > http://www.frontlinesoft.com > Ph: 91-40-3392147, 3391683 (O) > ICQ: 56093095 > > > -- http://www.meome.de --- Martin Haase-Thomas | Tel.: 030 43730-558 meOme AG| Fax.: 030 43730-555 Software Development| [EMAIL PROTECTED] ---

Re: [OT] redirect STDOUT

2002-03-06 Thread Martin Haase-Thomas
Thanx a lot, you saved my life! Geoffrey Young wrote: >Martin Haase-Thomas wrote: > >>Hi all, >> >>instead of committing suicide after having tried and searched for all of >>the day now i'd rather ask you: >>does anyone know how to redirect STDOUT i

[OT] redirect STDOUT

2002-03-06 Thread Martin Haase-Thomas
Hi all, instead of committing suicide after having tried and searched for all of the day now i'd rather ask you: does anyone know how to redirect STDOUT into a scalar variable, so that a 'print "anything"' will not appear on STDOUT, but only in my

Re: [WOT] Opcode/ Safe

2002-03-04 Thread Martin Haase-Thomas
l_to_be_decided :dangerous); $page->deny(Opcode::opset_to_ops($opset)); $page->permit qw(print ref ); $page->deny (qw(rand srand)); $page->reval ("eval \" print 'huhu' \""); print $@."\n"; Martin Haase-Thomas wrote: > Hi all, > > may

[WOT] Opcode/ Safe

2002-03-04 Thread Martin Haase-Thomas
eval); $page->deny qw(rand srand); $page->reval ("sysopen '/bla/blub.html' || kill 15, 1906"); Anyone with an idea? btw: funny things will happen if you type 1 instead of 1906 ... :) regards Martin -- http://www.meome.de ---

Re: "Use of uninitialized value." with no line number in error log

2002-02-21 Thread Martin Haase-Thomas
you're right, i forgot about those two perl signals. ashamed martin Stas Bekman wrote: > Martin Haase-Thomas wrote: > >> perl sighandlers require the signal as their first argument. so i >> assume that it may not be a good idea to call Carp::cluck(), as any >&g

Re: [OT] Re: Anyone for JavaScript question

2002-02-21 Thread Martin Haase-Thomas
hi nigel, i never tried aou JSRS before, so i can't judge about it. but posting the data to a hidden frame might not work on an unload event. imagine the user types in another url and löeaves the whole frameset. but now we're running far WOT ... :) martin Nigel Hamilton wrote:

Re: Anyone for JavaScript question

2002-02-21 Thread Martin Haase-Thomas
The simple onUnload() construction will not work. You will have to open a new browser window on unload displaying the output of your server program. martin Medi Montaseri wrote: >I know this is off topic, but I thought someone could use a break... > >Given a page called xyz.html,

Re: "Use of uninitialized value." with no line number in error log

2002-02-21 Thread Martin Haase-Thomas
perl sighandlers require the signal as their first argument. so i assume that it may not be a good idea to call Carp::cluck(), as any of the Carp methods expect strings. try typing as follows: $SIG{WARN} = sub { Carp::cluck ("received signal shift() at line".__LINE__) }; martin

Re: Apache::DBI

2002-02-12 Thread Martin Haase-Thomas
kage name explicitly. kind regards Martin Marty J. Rogers wrote: [EMAIL PROTECTED]"> I had tried that, with the same result. (doesApache::DBI overload the DBI methods?) Fullerror is as follows. Again, any help is _highly_appreciated.Marty[error] Can't locate object method "con

Re: [Q] Apache::File->new

2002-02-12 Thread Martin Haase-Thomas
/s\.gif$' to uri '/67567' 192.168.255.75 - - [12/Feb/2002:15:03:55 +0100] [disp05/sid#80aec3c][rid#81b5494/subreq] (3) applying pattern '^/pictures/(.*)' to uri '/67567' 192.168.255.75 - - [12/Feb/2002:15:03:55 +0100] [disp05/sid#80aec3c][rid#81b5494/subreq] (3) appl

[Q] Apache::File->new

2002-02-12 Thread Martin Haase-Thomas
Hi, I searched in the book, I searched in the FAQs - no I ask u: Does Apache::File->new start a subrequest? There are some mystical lines in my rewrite_log, which might come from there. Thanx a lot Martin

Re: Apache::DBI

2002-02-11 Thread Martin Haase-Thomas
Marty J. Rogers wrote: >[snip] >>From httpd.conf: > >PerlModule Apache::DBI CGI DBD::mysql \ >Apache::AuthenDBI >PerlRequire /path/to/startup.pl > >Alias /perl/ /path/to/perl >PerlModule Apache::Registry > >SetHandler perl-script >PerlHandler Apache::Registry >Options ExecCGI >allow from all >P

QUESTION

2002-02-06 Thread Martin Haase-Thomas
from my $log->debug(...). Has anyone got an idea? I'm close to depression -;) Many thanx in advance Martin

Re: Problems with mod_perl and mod_dir (Segmentation fault)

2002-01-04 Thread William T. Martin
I found my problem. The mod_perl module needed to be compiled with the same version of gcc as the perl executable. I recompiled and reinstalled perl and rebuilt mod_perl and apache. Everything is working fine now. -- Bill -- On Thu, Jan 03, 2002 at 02:52:02PM -0500, William T. Martin wrote

Problems with mod_perl and mod_dir (Segmentation fault)

2002-01-03 Thread William T. Martin
mysql.c mod_perl.c mod_autoindex.c # /usr/local/bin/perl -v This is perl, v5.6.1 built for sun4-solaris I am using mod_perl-1.26 Please help me. Thank you, -- Bill -- -- ======= William T. Martin email: [EMAI

asp perl problem

2001-11-12 Thread Julian Martin
Hi I am new to perl and would like to make a asp page with a script that will find all files in a given directory and create links to different files in another directory. The two sets of files are images (thumbnails and big pics) so I would also like to show the thumbnails on the page and have th

Re: API Design Question

2001-06-30 Thread Martin Redington
On Friday, June 29, 2001, at 07:25 , Shawn Devlin wrote: > What advantages do I gain by grouping the functions based on > functionality? As per my response to Mr. Worrall, one of my concerns > with placing each function call into its own module is the amount of > memory used by the various .p

Re: Is ProxyPass the best you can do?

2001-06-16 Thread Martin Redington
> Can Squid read Apache configuration files? On a new site I'm making > (www.shoujoai.com), I have directives in httpd.conf like this: Never used it, I'm afraid ... >> Alternatively, you could try using mod_rewrite, to direct requests for >> scripts to a different apache instance (e.g. running o

Re: Is ProxyPass the best you can do?

2001-06-16 Thread Martin Redington
Squid might be more efficient. cheers, Martin On Sunday, June 17, 2001, at 03:43 am, Philip Mak wrote: > I've been thinking about the ProxyPass technique for coping with > mod_perl's high memory usage (setup a non-mod_perl httpd that handles > all > requests, b

Re: ssl encryption

2001-06-14 Thread Martin Redington
One solution is to set a perl variable in a conf file that is only readable by root. The parent httpd process can read this, and the children can inherit it, but its not visible in the code. If your httpd children need to be able to read in the password, then you'll need less restrictive perm

Re: ssl encryption

2001-06-14 Thread Martin Redington
Not storing the credit card numbers at all would be the best option :-) If you must, we've usually used crypt for one-way encryption, or Crypt::BlowFish for stuff we need to be able to decrypt (look after your key!). On Thursday, June 14, 2001, at 09:54 pm, Tim Gardner wrote: > When apache

Re: IP based instant throttle?

2001-06-07 Thread Martin Redington
Do you get flooded that frequently that this is an issue? I've seen DOS, and various buffer overflows etc. in the real world, but I've never seen this. Unless its happening very often, I would have thought that some monitoring and a 2am "Deny from ip" in your httpd.conf would be enough ...

Re: Perm Module VM_Monitor (fwd)

2001-06-06 Thread Martin Redington
It can be a real nightmare getting it all compiled and working, especially if you're not on Linux, but it is worth it in the end. I strongly recommend building everything yourself from the ground up, wherever possible, especially if you're working in a production environment. Vendor-supplied

Re: advice on Apache::DBI Apache::Session and Apache::AuthCookieDBI intergration

2001-06-03 Thread Martin Redington
I haven't used Apache::Session, so I can't help you with the rest ... cheers, Martin > 2.is it best to login and then set session or set session and then log > in > 3. what about 'last session' type storage > 4. if Apache::DBI is on at startup how can i load a spec

Re: dyld problems with Apache 1.3.19 and mod_perl/mod_php on Mac OS X 10.0.03

2001-06-01 Thread Martin Redington
On Friday, June 1, 2001, at 08:33 am, Ged Haywood wrote: > > On Fri, 1 Jun 2001, Martin Redington wrote: > >> I'm having some some difficulties with Apache 1.3.19 and >> mod_perl/mod_php. [On Mac OS X] > > Never built on the Mac myself, some people had trouble,

dyld problems with Apache 1.3.19 and mod_perl/mod_php on Mac OS X 10.0.03

2001-05-31 Thread Martin Redington
I'm having some some difficulties with Apache 1.3.19 and mod_perl/mod_php. Everything builds fine, but I get dyld multiple definition errors in some circumstances. I believe this is connected to the OX X dyld's insistence on freaking out with multiple definitions (so non Mac OS X users might

Re: Using modperl as an 'adaptor' front end to an app server.

2001-02-02 Thread Martin Wood
efeats the purpose as far as I'm concerened. Any experiences in this area appreciated. (Off-list?) Regards, Martin

Re: IDE for Perl

2001-02-01 Thread Martin Langhoff
Activestate is doing a great work with Komodo. Besides that, there have been a few threads on this list on IDEs -- search the list for IDE and you'll find quite a lot. martin Jimi Thompson wrote: > > Can anyone tell me if there's a good IDE for PERL? I have some big >

Re: Repost: Anyone using "virtual server" for mod_perl hosts?

2001-01-30 Thread Martin Langhoff
Blue Lang wrote: > > Woah.. I had never heard of this. Have you actually been on a box? I'm > calling them to see if a demo is available. > I have been on such a box, once. Unluckily, I wasn't root, so I could not do much there. Of course, if someone is eating up resources, I'll have to fight

Repost: Anyone using "virtual server" for mod_perl hosts?

2001-01-30 Thread Martin Langhoff
about anything? Why didn't Stas list them in his article? -- they don't appear in the Guide either -- Do they have a fundamental or practical flaw I can't see? Martin

Anyone using "virtual server" for mod_perl hosts?

2001-01-30 Thread Martin Langhoff
r for my temper ;) Is anyone using a 'virtual server' succesfully? Or have a horror story? Know of companies other than verio? Oh! and before anyone points it out, yes, it low -- low -- low traffic. The current server never gets more than 0.5 load average. Martin

Re: Making PHP and mod_perl live together in Apache 1.3.14.

2001-01-27 Thread Martin Langhoff
Mr Wells, I have succesfully built them together following this procedure. I am also including mysql and imap support in PHP. Be aware that many lines that should be a 'one-liner' have been broken by my mailer. untar apache 1.3.12, mod_perl 1.24, php 4.0.3 and c-client (from uw) # build imap c

[OT] All of Perldocs to HTML files

2001-01-16 Thread Martin Langhoff
t;See Also") just fine. Is there a know script for that? A canonical way to do it? Martin

  1   2   >