Re: modperl : how resolve conflict funtion name in different package

2003-01-16 Thread Steve Piner
dvance! :) > > bye > > Finder It sounds like you're not actually using the package statement: pack1.pm should have a line at the beginning of the file saying 'package pack1;' and pack2.pm should have a line saying 'package pack2;' I'm only guessing wha

Re: mp2: Pb using HTML::Entities

2002-11-25 Thread Steve Piner
OK; > > I get in my navigator : "Long life to the ." (where . is a symbol > different from euro symbol). If the character you're getting is a circle with 4 'spokes' extending from it to the top left, top right, bottom left and bottom right, then it's working

Re: FW: mod_perl / PerlAuthenHandler question

2002-10-28 Thread Steve Piner
'na02il0015dc04:na02il0015dc01:NA02IL0015DC02' > PerlAuthenHandler Apache::AuthenN2 > require valid-user > > > I did build mod_perl with EVERYTHING=1 and did a make install and stopped & >restarted Apache. Printing out the SERVER_SOFTWARE environment variable it s

Re: newbie: file uploads not working :(

2002-09-12 Thread Steve Piner
tle more restrictive: my ($name) = $upload->filename =~ m!([^\w\.]*$)!; (And even then, that's not secure under windows - NUL, LPT1, etc.) Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Using Constants from seperate file

2002-07-28 Thread Steve Piner
to convert the file into a proper package. What's so terrible about loading the constants file at startup? Steve Piner allan juul wrote: > > hi > > i wish to use use constants defined in a seperate file. my problem is, that > sometimes it works sometimes it doesn't. w

Re: mod_perl PerlAccessHandler/PerlAuthenHandler question

2002-07-28 Thread Steve Piner
mmand line when building mod_perl. Unless you have reason not to, I'd recommend that you compile it with EVERYTHING=1. Steve Piner Harry Zhu wrote: > > I'm a verteran CGIer but a new mod-perl user. > I have got the mod-perl running fine for the content handling. But when I >

Re: New mod_perl site and oddness with IE

2002-07-17 Thread Steve Piner
why it isn't affecting other pages, I have no idea. It's probably, as Stas suggests, a size thing. Is that the biggest page on the site? Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: New mod_perl site and oddness with IE

2002-07-17 Thread Steve Piner
url: > > http://www.bullitt.suite.dk/clean3/dst_html/docs/1.0/guide/performance.html > > if you have other browser software, please check and see if anything else is > broken there as well. > > thanks a lot! > > /allan Looks good to me with on Win98SE * IE 5.50.4807.2300

Re: New mod_perl site and oddness with IE

2002-07-17 Thread Steve Piner
the overlay, improving IEs performance markedly without affecting the page layout in any of the browsers I have installed (Netscape 4.79, Mozilla 2002053012, Opera 6.04) (There was no reason *why* taking out the 'position: relative's should work - it just struck me as the first th

Re: [Fwd: Re: Cheap and unique]

2002-04-30 Thread Steve Piner
the timestamp to guarantee uniqueness. > mod_unique_id looks like a good solution, pending performance. Yeah, agreed. > Thanks for your help so far, everyone! > > David -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Cheap and unique

2002-04-30 Thread Steve Piner
) and will never repeat. Any ideas? > Has anyone else faced this problem? > > tia > David I'm just curious - what's wrong with the function you're already using? Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Throttling, once again

2002-04-21 Thread Steve Piner
won't work for a perl script > > that's abusing your site, or pretty much any spider, or even for anyone > > browsing without cookies, for that matter. -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: [ANNOUNCE] The New "mod_perl" logo - results now in...

2002-03-17 Thread Steve Piner
's fine. That's no worse than the current situation. Finally, I think the mod_perl/modperl/ModPerl/Mod_perl thing is a non-issue. We all know what is being talked about, right? It's nowhere near as bad as the .gif "hard 'G' or soft 'G'" or the vi "V.I. versus 'vie'" problems. Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Question...

2002-02-13 Thread Steve Piner
invalid cookie. When they go back to the page, they'll send the invalid cookie, and you can then prompt them to log in or whatever. You'll get the invalid cookie sent back for images on that page, but that usually isn't a problem. Steve Piner Ryan Parr wrote: > > I think

Re: Single login/sign-on for different web apps?

2002-01-16 Thread Steve Piner
be to put some sort of unique identifier in the path or query string, but this may not be secure enough for your purposes. Oh yeah, it'd break if they didn't have images on. :-( Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Install problems

2001-11-04 Thread Steve Piner
l.h: No such file or directory > apache_request.h:11:25: util_script.h: No such file or directory > make[1]: *** [apache_request.o] Error 1 > make[1]: Leaving directory `/usr/local/etc/libapreq-0.33/c' > make[1]: *** [subdirs] Error 2 > > I'm confused. It looks like you might not hav

Re: Installing modules

2001-11-04 Thread Steve Piner
27;t say differently - type perl Makefile.PL make make test And if you're happy with the results, su to root and type make install Hope this helps. Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Apache 1.3.22 and modperl 1.26.

2001-10-30 Thread Steve Piner
en try to start apache I get this error: > > Syntax error on line 338 of /var/conf/apache/httpd.conf: > Invalid command '', perhaps mis-spelled or defined by a module not > include > d in the server configuration [trimmed] It sounds to me that when you recompiled mod_p

PerlInitHandler w/o PerlPostReadRequestHandler.

2001-10-28 Thread Steve Piner
ecessary. It worked perfectly first time. My question is this: should PerlInitHandler have given me an error message? Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: When to use 'use' for accessing modules?

2001-10-23 Thread Steve Piner
each child until the first request of the child completed. Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Problem with arrayrefs in PSections

2001-07-29 Thread Steve Piner
s The Eagle says that directives that occur multiple times should be an array of arrays. And it works when I'm not using a single arrayref for the configuration. Steve > -Original Message- > From: Steve Piner > To: [EMAIL PROTECTED] > Sent: 7/27/01 12:26 AM > Subject: Pr

Problem with arrayrefs in PSections

2001-07-26 Thread Steve Piner
7;], ['from', '192.168.1.0/24']], }, '/server-info' => { SetHandler => 'server-info', %access, Allow => [['from', '1.2.3.0/24'], ['from', '192.168.1.0/24']], }, ); Is this a bug, a stupid-user problem, or something else? I'm using Apache/1.3.20, mod_perl/1.25 and 1.26, and Perl v5.6.1 Steve -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz

Re: Content-Disposition to change type and action?

2001-05-29 Thread Steve Piner
e.com/bin/report.pl?param1=val1> except if the page is to be downloaded, the browser will use the name foo.csv. There's another parameter which gets passed to /reports/whatever.csv to indicate that it should generate a csv, and send a suitable Content-Type, but getting the 'name'