Re: mod_perl v2 Forking

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

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

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) Compilation failed in require at /etc/httpd/promp3/promp3

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: [error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8, near compile qw

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: Harold Martin wrote: Hello, When I try to start up Apache, I get the error: [error] syntax

Errors trying to port (old) mod_perl software

2003-08-22 Thread Harold Martin
locate # in @INC snip 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: 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/REPORT which tells us

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 never able to isolate a cause. rflush() works fine, it's possible that the issue

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 CVS

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

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

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 seems the docs and/or my understanding

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

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

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: [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 does his job well, but

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_auth On Mon, Jul 07

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 option?

Combining authen-handler with mod_auth

2003-07-05 Thread Martin Wickman
, if there is another approach that is better. /Regards Martin [2] http://groups.google.com/groups?hl=enlr=ie=UTF-8selm=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

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 you could control this with CleanModuleList/AddModule, but those

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

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::Request is:-\n;

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_initial_req without a package or object reference at . Martin

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

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

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 Moss [EMAIL PROTECTED] Cc: [EMAIL

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

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

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

Apache::AuthTicket lookalike for DBM files

2003-04-04 Thread Martin Langhoff
;) cheers, martin --

Re: Spell Checkers and EMail

2003-03-06 Thread Martin Edenhofer
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 -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: [EMAIL PROTECTED] Sent: Friday, February

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
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] Cc: Cees Hek [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent

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, February 28, 2003 2:52 PM Subject: Re: [error] Insecure dependency

[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;

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

Re: Browser doesn't stop loading a page

2003-02-26 Thread Martin Moss
-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 doesn't stop loading a page Martin Moss wrote: Not much to go on I know, but has anybody ever had this problem? When

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 [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, February 16, 2003 7:43 AM

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 finisheddisplay the page results I want from my mod perl handlers. I guess in a nutshell I'm wondering if

Re: mysql password encryption

2003-01-23 Thread Martin Moss
: 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 Are the databases under the same database engine instance? If they are its not a problem

Re: mysql question

2003-01-23 Thread Martin Moss
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 [EMAIL PROTECTED]; Martin Moss [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

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

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

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 PROTECTED] To: [EMAIL PROTECTED

Re: libapreq-1.1 Release Candidate 1

2002-11-26 Thread Martin Nilsson
that was parsed first! /Martin -- Martin Nilsson, Civilingenjör M.Sc. CSE Svenska Butiker AB, S:t Larsväg 44, 222 70 Lund, Sweden [EMAIL PROTECTED] Phone: +46-46-304130 http://www.svenskabutiker.se --- Request/Request.xs.org Sun Jan 20 18:27:35 2002 +++ Request/Request.xs Wed Sep 11 18:11:11

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

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

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] To: Martin Moss [EMAIL PROTECTED

Re: problem with $r-push_handlers()

2002-09-17 Thread Martin Moss
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"; } } #$HANDLERS{'/test1/'}='MyMod::Apache::Test1'; #$HANDLERS{'/test2/'} =

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: Client capabilities

2002-04-30 Thread Martin Haase-Thomas
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
, 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 that i borrowed from the JSP concept - which i'm currently trying to implement in perl. JSP

Re: [Q maybe OT] forward

2002-04-28 Thread Martin Haase-Thomas
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, MHTforwarding is a term that i borrowed from the JSP concept - which i'm MHTcurrently trying to implement in perl. PHJSP forward

[Q maybe OT] forward

2002-04-24 Thread Martin Haase-Thomas
-- http://www.meome.de --- Martin Haase-Thomas |Tel.: +49 30 43730-558 meOme AG|Fax.: +49 30 43730-555 Software Development| [EMAIL PROTECTED] ---

Re: [Q maybe OT] forward

2002-04-24 Thread Martin Haase-Thomas
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 much time: I am quite certain that recently I saw a server response code concerning

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: 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 --- Martin Haase-Thomas

[OT?] What exactly is forwarding?

2002-03-12 Thread Martin Haase-Thomas
will be 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 Martin

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 Geoffrey Young wrote: John Eisenschmidt wrote

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 containts the Transfer() method which

[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 buffer? desperate Martin

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
: 56093095 -- http://www.meome.de --- Martin Haase-Thomas | Tel.: 030 43730-558 meOme AG| Fax.: 030 43730-555 Software Development| [EMAIL PROTECTED] ---

[WOT] Opcode/ Safe

2002-03-04 Thread Martin Haase-Thomas
); $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 --- Martin Haase-Thomas

Re: [WOT] Opcode/ Safe

2002-03-04 Thread Martin Haase-Thomas
: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, maybe this is really far WOT, but one shouldn't give up hope, as we all know... Does anyone

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 Tim Noll

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, I want

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: Hi Martin

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 of the Carp methods expect strings. try

[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: [Q] Apache::File-new

2002-02-12 Thread Martin Haase-Thomas
/sid#80aec3c][rid#81b5494/subreq] (1) pass through /67567 Lots to read I know. Hope you'll have the patience. Many thanx in advance, best regards Martin Geoffrey Young wrote: [EMAIL PROTECTED]"> Martin Haase-Thomas wrote: Hi,I searched in the book, I searched in the

Re: Apache::DBI

2002-02-12 Thread Martin Haase-Thomas
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 "connect_on_init&qu

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 Location /perl SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI allow from all

QUESTION

2002-02-06 Thread Martin Haase-Thomas
.6.1/Apache/StaticServer.pm(45): [client 192.168.255.75] http://www.domain.de/app/fn/portal_welcome_jsp/52329.html The error log proves that the second if() matches, as the entry comes 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
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: [EMAIL PROTECTED] Cornell

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

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 .pm

Re: Is ProxyPass the best you can do?

2001-06-16 Thread Martin Redington
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, but ProxyPasses the mod_perl

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 on a

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
connection, Apache::DBI will open a new connection. To get this other connection pre-opened, just add $dbh2 = Apache::DBI-connect_on_init($driver2, $user2, $pwd2); to your startup.pl I haven't used Apache::Session, so I can't help you with the rest ... cheers, Martin 2.is it best

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, looks like you're an expert. I

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
the purpose as far as I'm concerened. Any experiences in this area appreciated. (Off-list?) Regards, Martin

Anyone using virtual server for mod_perl hosts?

2001-01-30 Thread Martin Langhoff
;) 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

Repost: Anyone using virtual server for mod_perl hosts?

2001-01-30 Thread Martin Langhoff
? 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

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

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

[OT] All of Perldocs to HTML files

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

[OT] Problems preparing a module for CPAN

2000-12-28 Thread Martin Langhoff
here seem to be releasing successfully to CPAN... so ... what's the secret? What am I missing? (a neuron or two, maybe?) martin

[OT]Problems with `use locale`

2000-12-20 Thread martin langhoff
And the output of `locale` and `locale -a` is identical on both boxes. Unluckily I'm not about to downgrade the box to 6.1 ... it's a complex Compaq beast that doesn't like 6.1 ... Have you seen anything similar? have any pointers? flames? rants? Thanks! martin

Re: Email (mod_perl) Apache module?

2000-12-15 Thread martin langhoff
as possible. It's just a way to soak up all my holidays in perl code ... martin

Re: Email (mod_perl) Apache module?

2000-12-15 Thread martin langhoff
. Then those modules can be reused on other apps. Plus, we should be writing that is pure-CGI compatible -- y'know, we won't be needing any actual mod_perl hooks, and CGI-compat means is more usable under other configs, and keeps you honest. martin

Re: Email (mod_perl) Apache module?

2000-12-15 Thread martin langhoff
* flexible, and I've come to like that a lot. That's why I'd like to base most of my design choices on it. martin

Mem Sizing tool [was: splitting the code sets across more than one mod_perl server]

2000-12-13 Thread martin langhoff
, not something mod_perl-dependant at all. It might be system dependant, of course. It could be checking what OS it's on and call the proper command accordingly. martin

Re: Smart installing (Re: mod_perl advocacy project resurrection)

2000-12-07 Thread martin langhoff
g grown up in a cushioned, fancy VB 3.0 IDE, I still find both vi, emacs and textmode debug too harsh for me. So I've been toying with the early releases of Komodo (http://www.ActiveState.com/Products/Komodo.html) and I actually like it although its far from finished. Has anyone used/tested it?

  1   2   >