User auth with mod_perl proc

2005-03-10 Thread Vladimir D Belousov
I beg your pardon if my question has got to the wrong maillist. I'm new in mod_perl. And english too :) I want to create the scheme of authorization with mod_perl, not dependent on compiled Apache modules. Me interests - how to get the login and the password entered by the removed user? I have not

Re: User auth with mod_perl proc

2005-03-10 Thread Dominique Quatravaux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir D Belousov wrote: | I beg your pardon if my question has got to the wrong maillist. I'm | new in mod_perl. And english too :) We have all been there at some time. Well, except english for some. And except mod_perl for Stas :-) | I want to creat

Re: [BUG MP1/MP2] Apache should bail out in case of syntax errors in section

2005-03-10 Thread Dominique Quatravaux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe M. Chiasson a écrit : | I've identified the source of the problem I believe, so can you try | this patch and let me know if it works for you? Works! BTW, your patch was defective but Emacs' diff-mode fixed that in no time. Therefore I'm re-att

Re: User auth with mod_perl proc

2005-03-10 Thread Vladimir D Belousov
Thanks a lot! Your answer has helped me to start to move forward on this question. Very interesting links - that now is necessary for me Dominique Quatravaux wrote: There exists a lot of such modules on the CPAN already (http://www.cpan.org/) that do that. Why not try them? There are a couple of th

Re: PerlTransHandler question

2005-03-10 Thread John Doe
Am Mittwoch, 9. März 2005 01.19 schrieb shawn: > Hi, I have been having a few problems with dial-up users downloading > large pictures from my mod_perl enabled webserver, also I see spikes in > cpu usage which also suggests to me that the server is doing a lot of > work serving up the large images.

RE: Problem with apache and mysql

2005-03-10 Thread Alejandro Galue
Hello, Thanks for your comments, Tom On Apache error_log appers the same error that is showed on the Web front end: DBD::mysql::db selectrow_arrayref failed: MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.5/handlers/ticket.pm line 2 This is my auth module and I see this error when i

RE: Problem with apache and mysql

2005-03-10 Thread Alejandro Galue
Thanks a lot Gokul !! I created a handler to create a connection to database, process data (using other modules that this main modle load) and then I close each connection created (I'm sure each connection is closed) I'm using Apache::DBI but I'm not sure if I correctly configure it. Consider

Re: [mod_perl2] Apache::DBI Win2K

2005-03-10 Thread Randy Kobes
On Wed, 9 Mar 2005, Tom Pfeifer wrote: > I have installed Apache-2.0.53, ActivePerl-5.8.6.811, Apache-DBI 0.94. > > Anyone been successful at actually creating persistent > database connections with the above setup, or something > similar with Apache2, ActivePerl and Apache-DBI.  I find > the Apac

Re: mod_perl/Apache troubles with cell phone

2005-03-10 Thread Larry Leszczynski
I bet Tom is on the right track about needing to set Content-type correctly, I have run into problems sending to certain text messaging systems because of that. I'd suggest using telnet (or curl or GET or whatever) to see what headers are being sent with the static content that successfully reach

RE: Problem with apache and mysql

2005-03-10 Thread Perrin Harkins
On Thu, 2005-03-10 at 09:53 -0400, Alejandro Galue wrote: > I'm using Apache::DBI but I'm not sure if it is working fine. First when I > compile and install this module, it shows that everything is fine including > tests (I'm using modperl2), but when I put Apache::DBI on startup.pl to init > my vi

duplicating installation on other server

2005-03-10 Thread Bart Simpson
I've just had to move to a new developement machine. I built apache2, mp2 and now I'm ready to install the cpan modules i downloaded individually. I don't want to do that again. Is there a faq somewhere that tells best way to do this. I copied old site_perl directory to new machine and it seems to

Re: duplicating installation on other server

2005-03-10 Thread Michael Peters
Bart Simpson wrote: I've just had to move to a new developement machine. I built apache2, mp2 and now I'm ready to install the cpan modules i downloaded individually. I don't want to do that again. Is there a faq somewhere that tells best way to do this. I copied old site_perl directory to new mach

very basic question

2005-03-10 Thread Jain, Abhay K, ALABS
I must apologize if it is not directly relevant to mod-perl. I have tried to search google and other places but no luck. As I had mentioned I have apache built with mod-perl 2. Some old cgi scripts were written in ksh and use of set -x produced complete output in browser window under Netscape. Whil

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-03-10 Thread Alex Greg
On Thu, 6 Jan 2005 19:31:30 -0200 (EDT), Sergio Salvi <[EMAIL PROTECTED]> wrote: > Run "perl -V" on both hosts and check if there are any differences > between the output, mainly on "Platform" and "Compile-time options" sections. > > Also, you could create a simple perl script (like "$x++ for (1..

Re: duplicating installation on other server

2005-03-10 Thread Bart Simpson
Thanks a lot. thats what i need. I swear i checked the cpan faq :). I had tried bundling with cpanplus but when i went to install it couldn't find the bundle. The faq showed me how to deal with that. I'm gonna give it a try. I wonder how cpan will deal with modules i've already installed like modp

ModPerl performance on BSDs

2005-03-10 Thread Jonathan Vanasco
I'm looking at moving my project from a linux to a bsd environment, for security and speed -- bsd seems to be doing real well for web stuff right now. I've been looking mostly at NetBSD, FreeBSD and OpenBSD -- has anyone had remarkable success or misfortune with modperl2 under these environmen

Re: [BUG MP1/MP2] Apache should bail out in case of syntax errors in section

2005-03-10 Thread Philippe M. Chiasson
Dominique Quatravaux wrote: Philippe M. Chiasson a écrit : | I've identified the source of the problem I believe, so can you try | this patch and let me know if it works for you? Works! BTW, your patch was defective but Emacs' diff-mode fixed that in no time. Therefore I'm re-attaching it for the

Re: Win32 + ModPerl 2 + Apache 2 + NPH script = confusing header situation

2005-03-10 Thread Formhandle
Stas Bekman wrote: [...] mod_perl 1.99_08-dev Please upgrade first to the latest mod_perl (2.0.0-RC4 or 1.999.21) and then try again: http://perl.apache.org/download/index.html http://perl.apache.org/docs/2.0/os/win32/install.html Update: I finally got a chance to upgrade on a test system from 5.6

Re: very basic question

2005-03-10 Thread Tom Schindl
I'm not sure I get you right else maybe you can reformulate your desire :-). Yes could could write an output-filter which logs everything you are sending to a browser e.g. to a file on the system. See http://perl.apache.org/docs/2.0/user/handlers/filters.html#Output_Filters Tom Jain, Abhay K, AL