Re: error messages..

2000-09-29 Thread Edwin Pratomo
You're exposing your username/password you're using to connect to your DBMS to public. Those messages are there because $Apache::DBI::DEBUG is set. Rgds, Edwin. Sam Park wrote: Anybody knows why I'm getting this messages...??? 5744 Pinging 'prodcrank.excite.com~crank~crank~RaiseError=1'

PROBLEMITH APACHE::ASP

2000-09-29 Thread Linux
Hi all. I'm trying to install APACHE::ASP into my Linux box. I have a RedHat 6.0 + apache 1.3.12 + MOD_PERL . Looking into the documentation at www.apache-asp.org, i compiled the mod_perl as a static module, i compiled APACHE::ASP and added ASP.pm to $PERRLLIB/SITE/APACHE. In my httpd.conf i

Re: OOP and mod_perl question

2000-09-29 Thread Greg Cope
Andreas Grupp wrote: Hello I am trying to develop for the first time a perl module. It should work on a server with mod_perl. The objects are not using mod_perl ($r) and are just solving some of my work in a nicer way. Since I'm new in OOP on perl (I only know C++) I would hear from some

Re: NOT_FOUND from a PerlHandler causing problems with ErrorDocument

2000-09-29 Thread Bjørn Ola Smievoll
* Doug MacEachern | | On 28 Sep 2000, Bjørn Ola Smievoll wrote: | | [Sorry for being so verbose, hope somebody still have the time and | patience to read it all]. | | I have a setup where a PerlTransHandler registers a PerlContentHandler | based simply on whether $r-uri ends with '.html'

Re: OOP and mod_perl question

2000-09-29 Thread Sean D. Cook
Andreas Grupp wrote: Hello I am trying to develop for the first time a perl module. It should work on a server with mod_perl. The objects are not using mod_perl ($r) and are just solving some of my work in a nicer way. Since I'm new in OOP on perl (I only know C++) I would hear

[OT] advice needed.

2000-09-29 Thread Vladislav Safronov
Hi, I know it's very OT, but don't kick me I just need advice. I am going to work in a Web Company to write some mod_perl apps. They gave me a contract (I think the terrible one) which contains paragraph (among the others) that signs the rights to all inventions over to them. The problem is ..

Re: [OT] advice needed.

2000-09-29 Thread Alexander Farber (EED)
Vladislav Safronov wrote: I am going to work in a Web Company to write some mod_perl apps. They gave me a contract (I think the terrible one) which contains paragraph (among the others) that signs the rights to all inventions over to them. The same paragraph (the inventions resulted from

Re: [OT] advice needed.

2000-09-29 Thread John Reid
"Alexander Farber (EED)" wrote: Vladislav Safronov wrote: I am going to work in a Web Company to write some mod_perl apps. They gave me a contract (I think the terrible one) which contains paragraph (among the others) that signs the rights to all inventions over to them. The same

Re: [OT] advice needed.

2000-09-29 Thread David Hodgkinson
"Vladislav Safronov" [EMAIL PROTECTED] writes: Hi, I know it's very OT, but don't kick me I just need advice. I am going to work in a Web Company to write some mod_perl apps. They gave me a contract (I think the terrible one) which contains paragraph (among the others) that signs the

RE: [OT] advice needed.

2000-09-29 Thread Peiper,Richard
Something else I generally don't want to see in my contracts is a statement which says basically anything you learn while there you cannot use anywhere else. If I see that I will force them to take it out or not sign it... I have heard it is legally unenforcable (Who can say you cannot

Re: Why isn't PerlSetEnv working for me?

2000-09-29 Thread Keith G. Murphy
Doug MacEachern wrote: On Wed, 27 Sep 2000, Keith G. Murphy wrote: Upon further investigation, what I am seeing is that PERL5LIB gets passed into %ENV just fine. It's just not being used to locate modules; it is not in @INC. Could the part of Perl that pushes the PERL5LIB setting

RE: [OT] advice needed.

2000-09-29 Thread Vladislav Safronov
this is the contract (one paragraph is already excluded) : http://vlad.narod.ru/contract.html is it really looks like a usual thing? (the matter of the job is just making mod_perl apps.) /Vlad. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday,

[OT] C question - message size in hex

2000-09-29 Thread B. Burke
Does anyone know where in Apache's code it prints the outbound response message size in hex? Example (the size is 112 on this particular message): HTTP/1.1 404 Not Found Date: Fri, 29 Sep 2000 13:58:56 GMT Server: Apache/1.3.6 (Unix) Keep-Alive: timeout=15, max=100 Connection: Keep-Alive

Re: open - does not work

2000-09-29 Thread Vsevolod Ilyushchenko
Jerrad Pierce wrote: No... that opens a handle to ehir INPUT output is open(OUT, "magic_open |"); I am not sure why, but the command line Perl script with open (AAA, "|some_program"); accepts input via "print AAA" AND prints the output of the program on stdout. Or you could

Re: Apache::Registry error_log quirk

2000-09-29 Thread Martin Wood
Thanks, this works fine and is just what we required. Martin On Thu, Sep 28, 2000 at 09:33:38AM -0700, Doug MacEachern wrote: On Fri, 22 Sep 2000, Martin Wood wrote: We have a collection of CGIs in a single directory handled by Apache::Registry, however if we enter the name of a resource

Re: mod-perl as DSO (solaris)

2000-09-29 Thread Ricardo Stella
More testing but still problems... First I downloaded GCC and make from sunfreeware.com just in case Sun's versions are messed up (this is the ones distributed with Solaris 8). I built apache clean first with the following criteria: CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

Re: [OT] advice needed.

2000-09-29 Thread Chris Lewis
Vladislav Safronov wrote: http://vlad.narod.ru/contract.html is it really looks like a usual thing? Fairly usual, once read carefully and you realize that they're only claiming inventions that relate to them/resourced by them - the rest is disclosure, in an attempt to forestall any future

RE: [OT] advice needed.

2000-09-29 Thread Peiper,Richard
It is funny that you mention ATT. That was exactly who I was talking about when I mentioned "Be sure they don't say you can't take your knowledge with you". As I used to work for ATT and they tried that. Richard -Original Message- From: Chris Lewis [mailto:[EMAIL PROTECTED]]

Re: Problem with Apache::SIG

2000-09-29 Thread Doug MacEachern
On Thu, 28 Sep 2000, Bill Moseley wrote: Nope. I just downloaded a fresh 1.24, and 1.3.12 and built with ah, it happens for non-Registry handlers. patch below fixes. you can also change your handler to: sub handler { my $r = shift; $r-exit(HTTP_NOT_MODIFIED); } BTW

Re: mod-perl as DSO (solaris)

2000-09-29 Thread Ricardo Stella
Might have figured out the problem, and it might be an apache issue dealing with largefiles: I compiled apache cleanly as: ./configure \ "--with-layout=Apache" \ "--prefix=/usr/local/apache2" \ "--enable-module=most" \ "--enable-shared=max" \ This worked. 'apachectl configtest' did not

Re: PROBLEMITH APACHE::ASP

2000-09-29 Thread Joshua Chamas
Make sure you have found the right error log. Also look for hints in the access log. Apache::ASP itself won't error without throwing something to the error log. If the .asp files are in question, make sure you can request other files from your web server so you know that's working. --Joshua

Re: [OT] advice needed.

2000-09-29 Thread Michael Dearman
Where the heck does trying to do the right thing by GPL (or similar), in attempting to return some improved OpenSource code to the community. Or however the license phrases it. Shouldn't these contracts address that issue specifically, especially when the project is _based_ on OpenSource/GPL'd

Re: [OT] advice needed.

2000-09-29 Thread ed
Mike, I think many developers share a similar desire to not have projects (that leverage free software) close down what are really generic programming techniques, routines, classes, protocols, etc. And further, we'd like to contribute enhancements and documentation based upon our work. I'd

Re: mod-perl as DSO (solaris)

2000-09-29 Thread Doug MacEachern
On Fri, 29 Sep 2000, Ricardo Stella wrote: *) Rebuild Perl with Configure -Uuselargefiles if you do this and re-build Apache without the extra CFLAGS, that problem will go away.

Re: Problems with proxying POST?

2000-09-29 Thread Doug MacEachern
On Thu, 28 Sep 2000, Chris Lewis wrote: It works to proxy the HTTP to the system fine, however, POST parameters seem to get mangled and/or truncated. they should get passed through by mod_proxy, provided nobody else has read the POST data first. When I try to reference $r-content the

Re: Why isn't PerlSetEnv working for me?

2000-09-29 Thread Doug MacEachern
On Fri, 29 Sep 2000, Stas Bekman wrote: Hmm, I didn't take it out of my head, I cannot remember now when it was added. Was it different before and I've missed the patch? according to changes, it's been there 1.00_02. Anyway, that means that I should fix the guide, to remove the note about

Re: (possible bug) PerlAccessHandler called twice?

2000-09-29 Thread Doug MacEachern
On Thu, 28 Sep 2000, Adi wrote: As it turns out, the second call to My::ProxyAccessOnly is an internal redirect ... Is there a logical reason why PerlAccessHandler should be called twice, the because internal_redirects are implemented with subrequests and subrequests run all phases (except

Re: open - does not work

2000-09-29 Thread Doug MacEachern
On Fri, 29 Sep 2000, Vsevolod Ilyushchenko wrote: I am not sure why, but the command line Perl script with open (AAA, "|some_program"); accepts input via "print AAA" AND prints the output of the program on stdout. because C-level stdout is not hooked up to the client under

Re: Update: Re: PerlSendHeader Off socket persistence (was Re:question: usingApache for non-HTML messages)

2000-09-29 Thread Doug MacEachern
On Thu, 28 Sep 2000, B. Burke wrote: Once I changed how I was printing the header from the script, the socket persistence worked with PerlSendHeader Off. So I guess I solved my problem although I don't really know why. because CGI.pm will trigger a call to $r-send_http_header, regardless

Re: open - does not work

2000-09-29 Thread Jim Winstead
On Sep 29, Doug MacEachern wrote: On Fri, 29 Sep 2000, Vsevolod Ilyushchenko wrote: Yes, I know. I just want to see how far I can go with the "open". Besides, according to the author of the script (it's for the analog web log analyzer), using open is more secure. i've never heard that

Re: Problems with proxying POST?

2000-09-29 Thread Chris Lewis
Doug MacEachern wrote: On Thu, 28 Sep 2000, Chris Lewis wrote: It works to proxy the HTTP to the system fine, however, POST parameters seem to get mangled and/or truncated. they should get passed through by mod_proxy, provided nobody else has read the POST data first. When I try

Determine which subroutine to call at runtime

2000-09-29 Thread sammy
Hi all, I'm going to write a perl cgi which needs to determine which subroutine to call at runtime. And the number of choice is huge (more than 300 and it is growing). I know I could do a bunch of if-then-else but it makes the code looks very unreadable. I've basically figured

Re: Determine which subroutine to call at runtime

2000-09-29 Thread Matthew Byng-Maddick
On Sat, 30 Sep 2000 [EMAIL PROTECTED] wrote: I'm going to write a perl cgi which needs to determine which subroutine to call at runtime. And the number of choice is huge (more than 300 and it is growing). I know I could do a bunch of if-then-else but it makes the code looks very unreadable.

Re: Problems with proxying POST?

2000-09-29 Thread Chris Lewis
I figured out what it was. One of the $r-header_in() was trying to insert an Authorize header, and I didn't notice that base64_encode() tacks on a newline. After Apache core got thru with it, it ended up looking like: Authorize: Basic \n \r\n \r\n

Re: Apache::Status Memory Usage metrics

2000-09-29 Thread Stas Bekman
On Thu, 28 Sep 2000, Doug MacEachern wrote: On Tue, 29 Aug 2000, Lyle D. Brooks wrote: This is my first time posting to this list, so forgive me if this question has been asked before (I did not see it in the archives or in the mod_perl guide). Apache::Status seems like a nice

cvs commit: modperl/t/modules ssi.test

2000-09-29 Thread dougm
dougm 00/09/29 13:33:52 Modified:.ToDo Changes t/modules ssi.test Log: skip modules/ssi test if mod_include is not installed Revision ChangesPath 1.263 +2 -0 modperl/ToDo Index: ToDo