Re: MacOSX Requests and Cookies

2002-02-01 Thread Joe Schaefer
Rick Frankel <[EMAIL PROTECTED]> writes: > Joe- ApacheCookie_* was not being boostrapped into the executable, so it > was being optimized of the linkage. > > The following patch, while probably not correct (and probably the cause > of the silent failure), covers it. Great - thanks a ton! >

Re: Perl Section Bug?

2002-02-01 Thread David Wheeler
On Fri, 2002-02-01 at 18:56, David Wheeler wrote: > Why is this? It seems to be acting like LocationMatch directives rather > than Location. Could this be a bug in how the Perl sections work? If > not, how do I get that last request to print "Two" instead of "One"? > Even if it *is* a bug, how

CGI Upload/download question

2002-02-01 Thread Medi Montaseri
Hi, I have a question regarding File Upload. My program Upload.cgi, prompt the user to upload a file, it then processes it and turns around and download it by setting the mime to a non-existing MIME type, say, "SomeCrazyType" via header() method. $q->header ( -type => "application/x-SomeCrazyTy

Perl Section Bug?

2002-02-01 Thread David Wheeler
Okay, let me try again. I have a simple module I've written that demonstrates the problem. here it is: package MyTest; our $VERSION = '0.1'; use Apache; sub one { print STDERR "One\n"; print STDOUT "One\n"; return Apache::OK; } sub two { print STDERR "Two\n"; print STDOUT "

Re: mod_perl Developer's Cookbook

2002-02-01 Thread Joe Brenner
Ask Bjoern Hansen <[EMAIL PROTECTED]> wrote: > On Thu, 31 Jan 2002, Paul Lindner wrote: > > > > I won't deal with amazon: http://www.noamazon.com > > > > I just added a page with direct links for eight other bookstores. > > It's now available at http://www.modperlcookbook.org/order.html > >

ANN: HTML::Template 2.5

2002-02-01 Thread Sam Tregar
HTML::Template - a Perl module to use HTML Templates CHANGES 2.5 - Doc Fix: added reference to new HTML::Template website at http://html-template.sourceforge.net - Bug Fix: global_vars fixed for loops within loops - Bug Fix: include paths were broken under Windows (David Ferrance)

Re: Thumbnail generator

2002-02-01 Thread Ask Bjoern Hansen
On Mon, 21 Jan 2002, Robert Landrum wrote: [...] > >You may want to take a look at Apache::ImageMagick (if you not already > >have). It's let's you create thumbnails very easy (just two parameters > >pic.xxx/scale?geometry=100x100) and ImageMagick supports over 80 different > >formats. It also ha

[OT] Mac OS X compilation woes (Was: Apache::args vs Apache::Requestspeed)

2002-02-01 Thread Andrew Ho
Hello, JS>An initial build and install of: JS>http://www.apache.org/~joes/libapreq-1.0-rc1.tar.gz JS> JS>on a previously-working apache 1.3.22 mod_perl 1.26 server on OS X 10.1.2 JS>with this: JS>use Apache::Request; JS>use Apache::Cookie; JS> JS>In its startup.pl file causes the foll

Re: performance coding project? (was: Re: When to cache)

2002-02-01 Thread Ask Bjoern Hansen
On Sat, 26 Jan 2002, Perrin Harkins wrote: > > It all depends on what kind of application do you have. If you code is > > CPU-bound these seemingly insignificant optimizations can have a very > > significant influence on the overall service performance. > > Do such beasts really exist? I mean,

Re: performance coding project? (was: Re: When to cache)

2002-02-01 Thread Ask Bjoern Hansen
On Sat, 26 Jan 2002, Stas Bekman wrote: [...] > > It's much better to build your system, profile it, and fix the bottlenecks. > > The most effective changes are almost never simple coding changes like the > > one you showed, but rather large things like using qmail-inject instead of > > SMTP, cac

Re: mod_perl Developer's Cookbook

2002-02-01 Thread Ask Bjoern Hansen
On Thu, 31 Jan 2002, Paul Lindner wrote: > > I won't deal with amazon: http://www.noamazon.com > > I just added a page with direct links for eight other bookstores. > It's now available at http://www.modperlcookbook.org/order.html Amazon are the cheapest though: http://www.allbookstores.com/

questions

2002-02-01 Thread stu seven
I am having problems getting Apache to recognize perl files... someone suggested installing mod_perl... 1) Is installing mod_perl necessary to running perl scripts via Apache / webserver ? 2) I saw something in the mod_perl "faqs" about getting a popup save window instead of the perl fi

Re: Apache::args vs Apache::Request speed

2002-02-01 Thread Matt Sergeant
On 1 Feb 2002, Joe Schaefer wrote: > Would someone PLEASE volunteer to try to compile and test > apache+mod_perl & libapreq on OS/X using the experimental > code I posted there? Even if you can't get it working, > ANY feedback about what happened when you tried would be > VERY helpful. OK, if s

Re: Indentifying dir_config's

2002-02-01 Thread Robert Landrum
At 1:39 PM -0800 2/1/02, [EMAIL PROTECTED] wrote: >I'm wondering if there is a way that I can mark or remeber that >I've seen a particular dir_config during a previous request. The >motivation is performance related - so that I can set up for >particular set of "PerlSetVar" values only the once. T

RE: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Mod Perl
Thanks Rob for your reply. --- Rob Bloodgood <[EMAIL PROTECTED]> wrote: Question: > > 2.If the answer to the above question is YES? The > > Handler will add headers,footers for everything. > >What do I need to do to apply the handler logic > >justto the requested page and return the remaining >

Indentifying dir_config's

2002-02-01 Thread jay
I'm wondering if there is a way that I can mark or remeber that I've seen a particular dir_config during a previous request. The motivation is performance related - so that I can set up for particular set of "PerlSetVar" values only the once. Then subseqeuent requests to that child will use a prev

Re: Apache::args vs Apache::Request speed

2002-02-01 Thread John Siracusa
On 2/1/02 3:21 PM, Joe Schaefer wrote: > Would someone PLEASE volunteer to try to compile and test > apache+mod_perl & libapreq on OS/X using the experimental > code I posted there? Even if you can't get it working, > ANY feedback about what happened when you tried would be > VERY helpful. (The

Re: Apache::args vs Apache::Request speed

2002-02-01 Thread John Siracusa
On 2/1/02 3:39 PM, Ian Ragsdale wrote: > On the other hand, I'd be happy to compile it, but what would I need to do > to test it? I'm in the process of trying this too (just building a mod_perl httpd in OS X is a bit tricky...) To test it, I think all you need to do is put these two lines in you

Re: Apache::args vs Apache::Request speed

2002-02-01 Thread Ian Ragsdale
On 2/1/02 2:21 PM, "Joe Schaefer" <[EMAIL PROTECTED]> wrote: > Ian Ragsdale <[EMAIL PROTECTED]> writes: > >> How about setting something up on SourceForge? I know they have OS X >> environments available for compiling and testing. > > apreq is an ASF project; IMO what we need now is a hero, no

Re: Apache::args vs Apache::Request speed

2002-02-01 Thread Andrew Ho
Heyas, JS>Would someone PLEASE volunteer to try to compile and test JS>apache+mod_perl & libapreq on OS/X using the experimental JS>code I posted there? Even if you can't get it working, JS>ANY feedback about what happened when you tried would be JS>VERY helpful. Slightly off topic; I'd like t

Re: Apache::args vs Apache::Request speed

2002-02-01 Thread Joe Schaefer
Ian Ragsdale <[EMAIL PROTECTED]> writes: > How about setting something up on SourceForge? I know they have OS X > environments available for compiling and testing. apreq is an ASF project; IMO what we need now is a hero, not a change of venue. [...] > > On 1/28/02 2:02 PM, Joe Schaefer <[EMA

Re: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Mod Perl
Thanks Thomas, Question: > > Here are the problems/Questions that I face: > > 1. Since in this case each requests for a html > >file has multiple files that need to be downloaded > > the client. Am I right to assume that the handler > >will act on each and every file requested file > >below my /

RE: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Rob Bloodgood
> 2.If the answer to the above question is YES? The > Handler will add headers,footers for everything. What > do I need to do to apply the handler logic just to the > requested page and return the remaining files that are > needed to complete the requested page as they are? In the Eagle book (as

Re: [QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Thomas Klausner
Hi! On Fri, Feb 01, 2002 at 10:24:24AM -0800, Mod Perl wrote: > Here are the problems/Questions that I face: > 1. Since in this case each requests for a html file > has multiple files that need to be downloaded by the > client. Am I right to assume that the handler will act > on each and every fi

[QUESTION]PerlHandler and PerlLogHandler Phase

2002-02-01 Thread Mod Perl
Hi! I am been working on modperl for some time this is the first time I am posting a question on the mailing list. Please bear with me if I miss something or give too much information. I have been working on a project that can be described as an online library. The modperl portion of it adds a he

Re: mod_perl Developer's Cookbook

2002-02-01 Thread Randal L. Schwartz
> "Paul" == Paul Lindner <[EMAIL PROTECTED]> writes: Paul> Now you're talking! I wonder if YAS would consider funding Paul> perl-related projects like mod_perl? Perhaps if we had a big name Paul> (Ticketmaster?) we could get the ball rolling on such a thing.. YAS isn't a magic bullet. YAS

Re: problems with DirectoryIndex under mod_perl + Template Toolkit

2002-02-01 Thread Stas Bekman
Tim Noll wrote: > Unfortunately, I could not get Apache::ShowRequest to compile, despite > tinkering with it quite a bit. But, per your suggestion, I wrote a Fixup > handler to solve this problem. Good. > However, in my web searches, I came across post after post that seem to > describe the