When I use Apache 2.0.46, mod_deflate with mod_perl-1.99_09 (or the latest mod_perl-2.0 CVS), perl buffering is off ($|=1), and my perl script prints nothing...
52911
Jesse Erlbaum
jesse@...
Jul 2, 2003 2:36 pm
Hi Joe -- ... Perhaps you could bullet-point a few of these possibilities for those of us who are confined by our lack of imagination? TTYL, -Jesse- -- Jesse...
52912
Philippe M. Chiasson
gozer@...
Jul 2, 2003 2:48 pm
Seems to be a problem with calling IoFLUSH() on an already flushed handle. This patch seems to fix it for me. Index: xs/Apache/RequestIO/Apache__RequestIO.h ...
52913
Philippe M. Chiasson
gozer@...
Jul 2, 2003 2:50 pm
... Check out the guide: http://perl.apache.org/guide/ Check out the books: http://perl.apache.org/docs/offsite/books.html Check out the success stories: ...
52914
Matt Corbett
mcorbett@...
Jul 2, 2003 3:51 pm
Dear List, I have got a problem that I can't fix no way, no how. I am porting a Linux website to xp pro. I need to use the Apache::Request module on a range of...
52915
Dennis Stout
stout@...
Jul 2, 2003 4:04 pm
... mod_perl sends $r to the handler() subroutine by default. That is, if you're using it in a PerlHandler context, like you should with anything that uses ...
52916
Perrin Harkins
perrin@...
Jul 2, 2003 4:11 pm
... Actually, you don't. You can use CGI.pm, CGI::Simple, CGI_Lite, etc. for this. If you want to use Apache::Request but can't get your own compile to work,...
52917
Dennis Stout
stout@...
Jul 2, 2003 4:46 pm
... My mistake, shift key didn't get pressed hard enough =P $r->content_type('text/html39;); Dennis...
52918
Bill Marrs
bill@...
Jul 2, 2003 5:24 pm
This fixed the bug for me....
52919
Randy Kobes
randy@...
Jul 2, 2003 6:15 pm
... To build the module, you'll need a C compiler (Visual C++ 6, if you want compatibility with ActivePerl). But since CPAN.pm believes Apache::Request is up...
52920
Matt Corbett
mcorbett@...
Jul 2, 2003 6:42 pm
Randy, Good idea about the archive. I will do so. Yes, mod/perl/html scripts are fine except if I try to use Apache::Request. I can even 'use' it but the...
52921
Randy Kobes
randy@...
Jul 2, 2003 6:55 pm
... The fact that you can 'use' it (without doing anything with it) is encouraging, as that means the files are probably in the expected places, and...
52922
Matt Corbett
mcorbett@...
Jul 2, 2003 7:00 pm
Randy, Does'nt seem to make any difference. Matt ... From: Randy Kobes [mailto:randy@...] Sent: 02 July 2003 19:39 To: Matt Corbett Cc:...
52923
Randy Kobes
randy@...
Jul 2, 2003 7:17 pm
... Strange .... On the off-chance, does stopping completely the server, then restarting it, plus also clearing the cache from the browser, do anything? -- ...
52924
Matt Corbett
mcorbett@...
Jul 2, 2003 7:55 pm
Dennis and Randy and others on the list that gave advice, Thank you so much for both your help. This has sorted out the problem. I copied the *.pl files to the...
52925
Dennis Stout
stout@...
Jul 2, 2003 8:00 pm
You can send me- er, the "Help Dennis Move out of Alaska" charity money by giving your credit card number to.... *grin* Thank you, I'm sure Randy would agree...
52926
Dennis Stout
stout@...
Jul 2, 2003 9:48 pm
This is irking me. $state preserves information about the request and so on. Now, $r->whatever_method works just fine.. EXCEPT for sending headers. When I ...
52927
Dennis Stout
stout@...
Jul 2, 2003 9:53 pm
I suppose the subroutine that makes the call to it would help too. I'll spare you all the dispatch routine as it's quite lengthy, but basically the...
52928
Perrin Harkins
perrin@...
Jul 2, 2003 10:10 pm
... Not likely. Your syntax looks okay to me. It probably isn't being called for some reason, or else $r is not what you think it is. Throw in some debug...
52929
Jeff Nokes
jeff_nokes@...
Jul 2, 2003 10:36 pm
Greetings, I have a W2K box, running Win32 binary of Apache 1.3.27, and mod_perl 1.27_01. Everything seems to be working fine (AFAIK) except for some strange ...
52930
Dennis Stout
stout@...
Jul 2, 2003 10:37 pm
... Okay, I put in some code to take the generated headers and enter them into the body of the page. This had an odd effect. I got headers at hte TOP of hte...
52931
Jesse Erlbaum
jesse@...
Jul 2, 2003 10:56 pm
Philippe -- ... Is that your answer? I was hoping for specific examples, not hand-waving. -Jesse- -- Jesse Erlbaum The Erlbaum Group jesse@... Phone:...
52932
Geoffrey Young
geoff@...
Jul 2, 2003 11:43 pm
... I like to think that Part III (Chapters 11-17) of the mod_perl Developer's Cookbook does some of that. authentication is a good example of how mod_perl...
52933
Ged Haywood
ged@...
Jul 3, 2003 12:06 am
Hi there, Haven't seen any replies, so I thought you'd like to hear from someone. :) ... It's not uncommon to see XML and segfaults in the same post. :( Have...
52934
Ged Haywood
ged@...
Jul 3, 2003 12:26 am
Hello again, ... Of course unless poolAppendChar() turns out to be a function defined by a macro, which it does, so forget that last bit. Could be pool too....
52935
Andrew Ho
andrew@...
Jul 3, 2003 12:38 am
Hello, GY>mod_perl allows you to let your content handlers to focus on content - GY>all other parts of your application (authentication, session management, ...
52936
Geoffrey Young
geoff@...
Jul 3, 2003 12:55 am
... well, if you consider that you still get access to $r and all its treasures from Apache::Registry, then that's mostly true. ... it's when you use...
52937
Perrin Harkins
perrin@...
Jul 3, 2003 1:16 am
... I would phrase it differently and say that there are nice things you can do when you embrace the fact that you're in a persistent environment. You can do a...
52938
Dennis Stout
stout@...
Jul 3, 2003 1:24 am
... the ... I bet I have a login problem. User tries to do whatever. Gets asked to login. Fills in login form, hits submit, but posting is a request in and...
52939
John Michael
johnm@...
Jul 3, 2003 1:55 am
Here is a little script I wrote a while back so that I could look at headers being sent from my server in a browser window. JM. ... From: "Dennis Stout"...