apache dbi

2000-04-03 Thread Adam Gotheridge
I have installed modperl from redhat62 dist, and the apachedbi .87 module. When I put PerlModule Apache::DBI in httpd.conf, apache doesn't start. Any ideas? mod perl looks cool Embedded Perl version 5.00503 for Apache/1.3.12 (Unix) (Red Hat/Linux) mod_perl/1.21 Thanks

Re: How to keep Connection: Keep-Alive

2000-04-03 Thread Ask Bjoern Hansen
On Sat, 1 Apr 2000, Jaime Teng wrote: How do you make perl script (either on Linux+Apache+Mod_perl or in NT+IIS4 environment) make a "Connection: Keep-Alive". Set the Content-Length header or play with the Transfer-Encoding: chunked thing. From ap_set_keepalive in http_protocol.c. /*

Re: Perl 5.6 and mod_perl

2000-04-03 Thread Ask Bjoern Hansen
On Thu, 30 Mar 2000, Jeff Stuart wrote: Has anyone tried to use mod_perl with perl 5.6 yet? I use it for some stuff on my development box, it seems to work fine: http://i.valueclick.com/perl-status?myconfig The standard recommendation is to wait a few months though (except if you have

RE: Perl 5.6 and mod_perl

2000-04-03 Thread Ask Bjoern Hansen
On Fri, 31 Mar 2000, Jeff Stuart wrote: Well, as I mentioned to someone else, I've been off the list for a while. It would have been nice if it there were something similar to what the Apache and Perl sites do. IE current version is X.XX. That way, one can know at a glance what the current

Re: 1.22_01-dev: Modification of a read-only value ...

2000-04-03 Thread Oleg Bartunov
On Sun, 2 Apr 2000, Doug MacEachern wrote: Date: Sun, 2 Apr 2000 21:20:09 -0700 (PDT) From: Doug MacEachern [EMAIL PROTECTED] To: Oleg Bartunov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: 1.22_01-dev: Modification of a read-only value ... On Sun, 2 Apr 2000, Oleg Bartunov wrote:

RE: mod_perl (DSO) dumping core with perl 5.6.0

2000-04-03 Thread Paul G. Weiss
Sad to say still not working. This time I built perl: ./configure \ -Ubincompat5005 \ -Dprefix=/usrl1/home/pweiss/perl-56 \ -Doptimize='-O -g' \ -Dcc=gcc \ -Uinstallusrbinperl \ -Accflags=-DPERL_POLLUTE (the -Accflags argument is to avoid having to build certain

[ANNOUNCE] Apache::DebugInfo

2000-04-03 Thread Geoffrey Young
The URL http://users.laserlink.net/~gyoung/modules/Apache-DebugInfo_0.01.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GE/GEOFF/Apache-DebugInfo_0.01.tar.gz size: 5391 bytes md5: 7141c02be1b01eb7ada9d576395fb227 Changes: 0.01 4.3.2000 - original version -

Re: [RFC] holding a mod_perl conference

2000-04-03 Thread Ruben I Safir
The Grand Cayman is not US Virgin Island? Ruben "Randal L. Schwartz" wrote: "Vivek" == Vivek Khera [EMAIL PROTECTED] writes: "Z" == Zeppelin Jeff writes: Z If you spend a week a year in Vegas over a couple of consecutive years, Z you'll rapidly become an expert at "How to attend a

how to debug why apachedbi doesn't work?

2000-04-03 Thread Adam Gotheridge
env: redhat 6.2, apache, modperl installed from rpm. ApacheDBI-0.87 installed. If I put either PerlModule Apache::DBI PerlModule Apache::AuthDBI in httpd.conf, apache doesn't start, there are no errors to the screen, and there is nothing in the apache error log. How can I determine why this is

Re: HTTP_USER_AGENT

2000-04-03 Thread darren chamberlain
A quick grep through v. 1.0.0 revealed no such list (i grepped for 'user_' and 'mozilla' case insensitive). darren Jason Murphy ([EMAIL PROTECTED]) said something to this effect: I remember that SlashCode (The ModPerl scripts that run Slashdot.org) has a big listing of HTTP_USER_AGENT's in

Re: Help! Need correct order to build/install

2000-04-03 Thread darren chamberlain
Hi Drew, Drew Schatt ([EMAIL PROTECTED]) said something to this effect: Hi everyone- I recently upgraded to Solaris 8, and I am using gcc as my compiler. I removed the perl that came with the os, and recompiled perl_5.6.0 and installed it. I need to run mod_ssl, mod_perl, php, and

Re: [Offtopic!] [RFC] holding a mod_perl conference

2000-04-03 Thread Jeff D. 'Spud (Zeppelin)' Almeida
On Mon, 3 Apr 2000, Ruben I Safir wrote: The Grand Cayman is not US Virgin Island? Nope, the Caymans are a separate country altogether, in the Carribean. Check out the CIA World Factbook entry at: http://www.odci.gov/cia/publications/factbook/cj.html For anyone who is going to the Caymans (I

apache dbi solved

2000-04-03 Thread Adam Gotheridge
Solved it by installing from source I have installed modperl from redhat62 dist, and the apachedbi .87 module. When I put PerlModule Apache::DBI in httpd.conf, apache doesn't start. Any ideas? mod perl looks cool Embedded Perl version 5.00503 for Apache/1.3.12 (Unix) (Red Hat/Linux)

Re: how to debug why apachedbi doesn't work?

2000-04-03 Thread Buddy Lee Haystack
I have RedHat v6.1 it is working fine, so I'll just send you my http.conf file for you to compare to your own. Adam Gotheridge wrote: env: redhat 6.2, apache, modperl installed from rpm. ApacheDBI-0.87 installed. If I put either PerlModule Apache::DBI PerlModule Apache::AuthDBI in

mod_perl + database?

2000-04-03 Thread Wu, Gordon
Can I use mod_perl to access database, such as oracle? Which database are supported in mod_perl? thanks, Gordon Wu

Re: mod_perl + database?

2000-04-03 Thread Vivek Khera
"WG" == Wu, Gordon [EMAIL PROTECTED] writes: WG Can I use mod_perl to access database, such as oracle? WG Which database are supported in mod_perl? mod_perl is Perl. So anything you can do in perl, you can do in mod_perl. Just get your orcale access working from perl, and then you have it

RE: how to debug why apachedbi doesn't work?

2000-04-03 Thread Geoffrey Young
did you try setting Apache::DBI::DEBUG=1 and Apache::AuthDBI::DEBUG=1 in your startup.pl this will enable verbose output in your error_log HTH --Geoff -Original Message- From: Adam Gotheridge [mailto:[EMAIL PROTECTED]] Sent: Monday, April 03, 2000 10:35 AM To: [EMAIL PROTECTED]

Re: mod_perl + database?

2000-04-03 Thread Ken Y. Clark
On Mon, 3 Apr 2000, Wu, Gordon wrote: Can I use mod_perl to access database, such as oracle? Which database are supported in mod_perl? thanks, Gordon Wu gordon, the answer is an emphatic "Yes!" thanks to the developers of the freely available Perl DBI/DBD modules (see

Apache::AuthDBI example wanted

2000-04-03 Thread Adam Gotheridge
can someone please post an example of hot use Apache::AuthDBI? The perldoc for it is vague to me. It says to put all this stuff in httpd.conf and it just generates errors, i.e. it doesn't have one little working example. thanks

Re: how to debug why apachedbi doesn't work?

2000-04-03 Thread Adam Gotheridge
No, and thanks for the info! did you try setting Apache::DBI::DEBUG=1 and Apache::AuthDBI::DEBUG=1 in your startup.pl this will enable verbose output in your error_log HTH --Geoff -Original Message- From: Adam Gotheridge [mailto:[EMAIL PROTECTED]] Sent: Monday,

Re: performance mongers: since when is using CGI.pm or Apache::Registrydishonorable?

2000-04-03 Thread Vivek Khera
"GB" == Gunther Birznieks [EMAIL PROTECTED] writes: GB Does the size of CGI.pm really matter with mod_perl so much? If the module GB is pre-loaded prior to forking, wouldn't the memory for this module tend GB to be shared anyway? Or is there still a gradual hit to real memory as Yes it is

Re: HTTP_USER_AGENT

2000-04-03 Thread Jason Murphy
So the moral of the story is, don't ever trust the client for anything important. I still think that's missing an important point: YOU CAN'T HAVE a canonical listing of HTTP_USER_AGENT values, because NO SUCH ANIMAL exists :) All HTTP_USER_AGENT is is a string supplied by the client, and

[OT] javascript to perlscript porting tool

2000-04-03 Thread Joel Reed
I've posted a simple program that may help you if you're trying to port windoze javascript-based ASP pages to Apache::ASP. you can find it here... http://ruby.ddiworld.com/jreed/web/software/asp2pl.html jr -- Joel W.

Re: Problem Compiling with Perl 5.6.0

2000-04-03 Thread Randy Kobes
On Mon, 3 Apr 2000, Steve Hay wrote: Randy Kobes [EMAIL PROTECTED] wrote: Steve Hay [EMAIL PROTECTED] wrote: $status = system "D:\\WINNT\\system32\\ipconfig.exe D:\\Temp\\ip.txt"; then it carries on fine under Apache (now re-directing the output to the "ip.txt" file), but under

Apache::Filter headers

2000-04-03 Thread Geoffrey Young
Ken - I was trying to figure out (via the archives and docs) why Apache::Filter was dumping $r-send_http_header after releasing STDOUT back to Apache? I'm asking because I'm seeing double headers in the following scenario (both with PerlSendHeaders Off) Filter A - runs ok Filter B -

Re: Transitioning from Apache::Registry

2000-04-03 Thread Perrin Harkins
On Mon, 3 Apr 2000, Drew Taylor wrote: In light of the recent "performance monger" thread, I am interested in information about transitioning from Registry scripts to Apache handlers. Here is my situation, which I'm guessing is pretty common. [...] use Search; use CGI; my $q = new CGI; my

Re: Transitioning from Apache::Registry

2000-04-03 Thread Drew Taylor
Perrin Harkins wrote: That should be pretty easy to convert, since you already have your main program logic off in a separate module. So I just write a small handler which does the same thing as the .pl script and add a Location /cgi-bin/search.pl directive to use this handler? That sounds

Re: Transitioning from Apache::Registry

2000-04-03 Thread Perrin Harkins
On Mon, 3 Apr 2000, Drew Taylor wrote: So I just write a small handler which does the same thing as the .pl script and add a Location /cgi-bin/search.pl directive to use this handler? Yes, that should work fine. And I would need to setup a Location directive for each function (Search,

Re: Transitioning from Apache::Registry

2000-04-03 Thread Stas Bekman
On Mon, 3 Apr 2000, Drew Taylor wrote: So I just write a small handler which does the same thing as the .pl script and add a Location /cgi-bin/search.pl directive to use this handler? Yes, that should work fine. And I would need to setup a Location directive for each function

Re: Transitioning from Apache::Registry

2000-04-03 Thread Drew Taylor
Ahh yes, the Perl Sections... I've read briefly about them, but have not used it yet. Looks like I'll be learning it soon. I have many sites coming online in the near future that will have nearly identical setups like this one. Thanks Stas. Stas Bekman wrote: On Mon, 3 Apr 2000, Drew Taylor

ANNOUNCE: Apache::ProxyStuff 0.05

2000-04-03 Thread Jason Bodnar
[See the pod docs in the module for more details] NAME Apache::ProxyStuff - mod_perl header/footer/proxy module SYNOPSIS Location /foo SetHandler perl-script PerlHandler Apache::ProxyStuff PerlSetVar HeaderFilehttp://www.bar.com:81/includes/header.html PerlSetVar

Breaking single line into multiple lines in code

2000-04-03 Thread Ravi Malghan
Hi:I have a long line in my perl script which I want to break into multiple lines but still want the perl compiler to assume it's one line. I want to do this since the line very long and accnot be viewed in one screen. Like system("echo \"update alerts.journal set Text1 = '$PING' where Serial =

Attempt to free unreferenced scalar

2000-04-03 Thread Bill Moseley
This message shows its ugly head now and then. I'm not sure what happens but every once in a while after sending a SIGUSR1 or SIGHUP the "Attempt to free unreferenced scalar" messages start to fill up the error_log. The only way to stop them is to really SIGTERM the server and then restart it.

Re: Attempt to free unreferenced scalar

2000-04-03 Thread Cliff Rayman
check out these previous posts: http://www.geocrawler.com/search/?config=182words=unreferenced+scalar cliff rayman genwax.com Bill Moseley wrote: This message shows its ugly head now and then. I'm not sure what happens but every once in a while after sending a SIGUSR1 or SIGHUP the

Re: Breaking single line into multiple lines in code

2000-04-03 Thread Matt Carothers
On Mon, 3 Apr 2000, Ravi Malghan wrote: system("echo \"update alerts.journal set Text1 = '$PING' where Serial = $ARGV[0];\ngo\nquit\n\" | /opt/Omnibus/bin/nco_sql -server NCOMS_DC1 -user root -passwd gtsgroup"); open(NCO, "|/opt/Omnibus/bin/nco_sql -server NCOMS_DC1 -user root

Re: [OT] javascript to perlscript porting tool

2000-04-03 Thread Joshua Chamas
Joel Reed wrote: I've posted a simple program that may help you if you're trying to port windoze javascript-based ASP pages to Apache::ASP. you can find it here... http://ruby.ddiworld.com/jreed/web/software/asp2pl.html I would like to write runtime interpreters for JScript VBScript -

cgi script efficiently invoking another cgi script

2000-04-03 Thread BT
Assume you roughly have a one-to-one between scripts and web pages. How do you write a script to display its own web page or efficiently invoke another script/page? Redirect is slow. Can you exec, i.e. can a cgi script exec another in it's own place? For example: Suppose you write a "login"