Hello. I'm getting ready to build a development server to work with ASP and MySQL. I have worked with MySQL + Perl quite a bit but am new to ASP. My question...
Garrett
garrettwi@...
May 1, 2003 6:13 pm
1170
As simple as that... ... From: Garrett [mailto:garrettwi@...] Sent: Wednesday, April 30, 2003 9:20 PM To: asp@... Subject: Connected to a...
Fernando Munoz
fmunoz@...
May 1, 2003 6:16 pm
1171
Hi Fernando, to speed up your application you should load the Apache::DBI module before loading the DBI module, eg. by: PerlModule Apache::DBI PerlModule DBI ...
Helmut Zeilinger
h.zeilinger@...
May 3, 2003 11:38 am
1172
... If you want to prevent the ASP $Request object from reading form POST data, then you could precede the object construction with: sub My::Auth::handler { ...
Josh Chamas
josh@...
May 5, 2003 7:44 pm
1173
Hey, I just wanted to share my experience with making Apache::ASP not use Apache::compat to run under mod_perl 2 ( 1.99_09 actually ). Keeping Apache::ASP...
Josh Chamas
josh@...
May 6, 2003 6:19 am
1174
... Another minor optimization would be to use: use constant MODPERL2 => ...; instead of $ModPerl2 this will save a few if() run-time checks. ... Bad...
Stas Bekman
stas@...
May 6, 2003 7:15 am
1175
... I took your idea of reusing or keeping the ASP object, which was created by a previous perl handler, during the whole request. Something like the following...
Dr. Helmut Zeilinger
h.zeilinger@...
May 6, 2003 12:31 pm
1176
Hi, I've upgraded my RedHat server to version 9 with Apache 2. Reading previous messages I see there have been issues with ASP on Apache 2, so just to clarify:...
mlpoulter
m.l.poulter@...
May 6, 2003 3:51 pm
1177
Further to the previous message, I should clarify that the latest versions I've found available as Red Hat RPMs are Apache 2.0.40 and mod_perl 1.99.07. ... To...
mlpoulter
m.l.poulter@...
May 6, 2003 4:24 pm
1178
Hey, I have run a series of Hello World benchmarks comparing mp2 vs mp1. The first data set is mp1 with perl 5.80 no threads, apache 1 prefork. The second data...
Josh Chamas
josh@...
May 6, 2003 7:38 pm
1179
... I have thought of automating this before. Would something like a configuration directive be appropriate like: PerlSetVar ASPRequestSingleton 1 When set it...
Josh Chamas
josh@...
May 7, 2003 12:18 am
1180
... If you have an RPM with mod_perl 1.99_07, that seems like it would work pretty well. Make sure you have upgraded to the latest 2.53 Apache::ASP from CPAN,...
Josh Chamas
josh@...
May 7, 2003 12:22 am
1181
... [...] ... If you know of such a problem, either solve it or use the preforked MPM if you can. Using worker mpm with only one perl interpreter per thread,...
Stas Bekman
stas@...
May 7, 2003 1:12 am
1182
... What would be slower about this? Let's say in the given config with 20 max clients, 5 processes, 4 threads each, and 1 perl interp each, should not 4 CPUs...
Josh Chamas
josh@...
May 7, 2003 1:41 am
1183
... Yes, enabling threads in perl and compiling mod_perl with it makes mod_perl slower if you don't use the benefit of the threaded environment, which is the ...
Stas Bekman
stas@...
May 7, 2003 2:00 am
1184
... Thanks for the clarification. I believe there can be an advantage to having the one perl intepreter per process model in worker mpm mode, that being...
Josh Chamas
josh@...
May 7, 2003 2:17 am
1185
... Oh, you are talking the memory limiting tools, which won't quite work as is with threaded mpms. Yes, in such a case you do get to use the same memory...
Stas Bekman
stas@...
May 7, 2003 2:34 am
1186
Hallo, further testing let me come to the result, that setting up the asp object in an earlier apache phase does not work correctly. The reason is, that the...
Dr. Helmut Zeilinger
h.zeilinger@...
May 7, 2003 9:02 am
1187
This thread is interesting... (slight pun intended)... So... Is there an informal rule of thumb as to which platforms threads would work better on than others?...
Gunther Birznieks
gunther@...
May 7, 2003 2:48 pm
1188
... That is odd. I tend not to trust %ENV setup in other stages myself, and to this effect, I will try to move away from using %ENV in the core Apache::ASP ...
Josh Chamas
josh@...
May 7, 2003 6:35 pm
1189
... Two things: 1) experiment: benchmark *your* code using the prefork and worker mpms and choose what does it for you. 2) we will gain more knowledge and...
Stas Bekman
stas@...
May 8, 2003 12:04 am
1190
Hi, ... Probably a good idea to get all the information from the Apache-Request object itself. (like for ex. $r->headers_in ("content-length") etc.) ... I...
Dr. Helmut Zeilinger
h.zeilinger@...
May 8, 2003 8:55 am
1191
using Apache-ASP-2.53 with mod_perl-1.99_09 the following configuration choice doesn't work: PerlSetVar AllowSessionState 0 in ASP.pm, the sub config() calling...
joel reed
jreed@...
May 12, 2003 3:28 pm
1192
Hi, using mod_perl 1.99_09 the following handler [..] sub handler { my $r = shift(); $r->content_type('text/plain'); print $ENV{'MOD_PERL'}, "\n"; print...
Helmut Zeilinger
h.zeilinger@...
May 12, 2003 8:13 pm
1193
... thank you Helmut for testing the above. i tried mod_perl-1.99_09 and mod_perl-1.99_08. i'll have to dig deeper into Apache-ASP... jr ... -- ... Joel W....
joel reed
jreed@...
May 13, 2003 1:11 pm
1194
Hello All: I'm new to this list and not-too-experienced with ASP. I hope you all won't find my questions too simple or annoying. Thanks in advance for any...
Mike Witkowski
witkowsk@...
May 14, 2003 6:06 pm
1195
... Don't worry, nobody was born with the knowledge....I think...;) ... I haven't had much success with $Response->Flush, although I'm sure that someone will...
Thanos Chatziathanass...
tchatzi@...
May 14, 2003 6:20 pm
1196
Hi, --On Wednesday, May 14, 2003 21:16:27 +0300 Thanos Chatziathanassiou ... As far as my expirience is, the output of a "$Response->Flush()" is displayed ...
Helmut Zeilinger
h.zeilinger@...
May 14, 2003 8:58 pm
1197
Hi, I am having a weird problem. We had a server that was running a few Apache::ASP applications - had being the key word. After upgrading apache, and...
Tim Pushor
timp@...
May 14, 2003 10:28 pm
1198
... Set either NoState to 1, or AllowSessionState to Off, and AllowApplicationState to Off. Per a previous post, it seems that 0 values may not be getting...