Re: Suggestions for creating an archive

2005-09-01 Thread colin_e
I've read in at least one place (a PHP book I think) that browsers are very inconsistent in their handling of the content-disposition header. Some will "believe" the suggested filename, but ignore the extension, and implied file type. Have you considered looping back to your own script with a

Re: maintaining shared memory size

2005-08-31 Thread colin_e
Badai Aqrandista wrote: ...Your requests take 110 seconds each? What is your application doing? My app is an online hotel booking system. That part is the part where it searches availabilities through all combination of dates, number of guests, rooms, packages, allotments, pricing structur

Re: setting environment variables

2005-02-04 Thread colin_e
Yes I think it's more complicated. I don't have the original setup that caused my problem, but i'm pretty sure I found that if I set a mixed-case env var (say 'MyEnv_Var') with SetEnv, in my mod_perl app I got the variable set (exists == true) but with no value, whereas using PerlSetEnv with the

Re: setting environment variables

2005-02-01 Thread colin_e
Geoff, I ran into some weirdness in this area (on a Win XP machine running Apache 2.0.52) that seemed to be related to using lowercase environment variable names. It looked as if PerlSetEnv uppercased the variable names, whereas SetEnv just ignored vars with lower case names. Sounds weird I

Re: [ANNOUNCE] "Practical mod_perl" book is released under Creative Commons license

2004-12-17 Thread colin_e
Stef1 wrote: Stas, no complaints, I know you put tons of effort in modperl ! Only a hint : the moment you write a book specific on MP2 : I will buy it directly. Stef I'll second that. I need all the help I can get ;-) Regards: Colin -- Report problems: http://perl.apache.org/bugs/ Mail list info

Re: Why MP2

2004-12-16 Thread colin_e
cript that downloads and installs the perl .dll, I think it couldn't find the Apache installation dir. Thanks for putting up the packages mentioned. I'm going to go away and try these now. What is the best method to give you feedback, direct mail or is there a formal feedback

Re: Why MP2

2004-12-15 Thread colin_e
What can I say?, an incredibly detailed and helpful response. Thanks Randy. Bear with me while I go through this to make sure I understand it:- Randy Kobes wrote: Due to the large volume of modules on CPAN, ActiveState uses an automated build system for their ppm packages... I guessed I was looki

Re: Why MP2

2004-12-15 Thread colin_e
2/mod_perl" would make a whole bunch of (at least the pure perl) packages available via PPM this would be a big gain for little pain. Regards: Colin colin_e wrote: I have recently switched to using ActiveState perl on my production Solaris box as well as on my Windows machine for several re

SCRIPT_FILENAME Environment variable set wongly?

2004-12-15 Thread colin_e
Platforms: Solaris 9, Win XP Apache: 2.0.52 Perl: ActiveState Perl 5.8.4 I'm making the first tentative steps in getting scripts running under mod_perl. At this point i'm aiming to "encapsulate" a mod_perl script and all it's supporting images etc., so to the client they all appear under a singl

Re: ... and startup.pl equivalent?

2004-12-15 Thread colin_e
Stas Bekman wrote: Tricky. But in this kind of case, case why not having a perl program which will maintain all the details and generate the right .pl|.conf files on demand? In this way you could easily keep all the common and different parts of config in one place and have one point control.

Re: Why MP2

2004-12-15 Thread colin_e
I have recently switched to using ActiveState perl on my production Solaris box as well as on my Windows machine for several reasons, including the fact that it's considerably easier to get PPM working under ActiveState. However a big disappointment when I went looking for modules was the sorry

Re: Why MP2

2004-12-14 Thread colin_e
Not quite. I replied, but directly rather than nuking the alias with my far-from-qualified opinions :-) Regards: Colin Stas Bekman wrote: Jayce^ wrote: In preparation for the upcoming release of mod_perl2, I'd like to prepare a list of reasons why a person/company would look at using mod_perl2,

Re: ... and startup.pl equivalent?

2004-12-14 Thread colin_e
--- Begin Message --- Stas Bekman wrote: Could you explain how making: PerlRequire /path/to/startup.pl makes it harder to keep things in sync? I'm not sure i understand your example of Windows dll. It doesn't. I probably didn't explain the thought process clearly. or maybe the thought process i

Re: What's wrong with this system's configuration?

2004-12-14 Thread colin_e
Apache tries to resolve the machines fully-qualified domain name. The way I read the notes in the conf files, if your machine doesn't have a publicly-visible domain name it is recommended to use its IP address as the ServerName. Does this work for you? Regards: Colin sdfgsd sergserg wrote: spe17

Re: ... and startup.pl equivalent?

2004-12-13 Thread colin_e
because it's only neat and tidy to begin with embedding your perl into your configs, but as your site configs get larger, you'll probably start thinking it a better idea to put all your sections in their own seperate httpd conf file, which might as well be a startup.perl script.. Mart

Re: ... and startup.pl equivalent?

2004-12-13 Thread colin_e
that mucking around with package declarations inside one could make life complicated. Regards: Colin Philippe M. Chiasson wrote: Stas Bekman wrote: colin_e wrote: Good stuff. Thanks for such a quick and helpful reply Stas. The piece in the docs that had me confused was in the document &q

Re: ... and startup.pl equivalent?

2004-12-13 Thread colin_e
e.org/docs/2.0/api/Apache/Status.html>|. My grasp of perl is limited, "clearing a namespace" sounds to me like something goes away. At this point i'm not entirely clear what, but i'm glad I have an answer to work with. Thanks.: Colin Stas Bekman wrote: colin_e wrote: Platforms: So

... and startup.pl equivalent?

2004-12-13 Thread colin_e
Platforms: Solaris 9, Win XP Apache: 2.0.52 Perl: ActiveState Perl 5.8.4 Hi Guys, New to Apache 2.0.52 and modperl, working through the install and configure steps. Most books and docs on using modperl recommend using a "startup.pl" script to configure the Perl environment on startup, setting