problems with Apache::DBI

2000-01-07 Thread Cere M. Davis
I am trying to get the DBI::Ingres stuff to work with Apache::DBI. Once the server tries to open the inital connections through the startup.pl file with the "Apache::DBI->connect_on_init" command it throws an error message like this: 168 Apache::DBI PerlChildInitHandler [Fri Jan 7

Re: question about global.asa

2000-01-07 Thread Joshua Chamas
[EMAIL PROTECTED] wrote: > > Hi Joshua, > > I am using Apache::ASP module for my web site. Say, my > documentroot is set to /web/htdocs. Under this dir, I have > several sub directories (say, abc, xyz etc.). Each of these > sub-directories are supposed to be working as separate > applications. C

Re: Weird message from make test

2000-01-07 Thread Nancy Lin
Thanks for all the pointers. Do you know where I can find the CGI.pm changes file? Here's my question, why do I really need to figure this out in the first place? Shouldn't modperl (at least its test scripts) work w/ any version of CGI.pm? Could I assume that the test script is wrong somehow?

mod_rewrite and -U Problems

2000-01-07 Thread Jason Simms
I have a question about the -U test under mod_rewrite. The docs state that the test "Checks if TestString is a valid URL and accessible...". Well, the problem I am having is that if I give it a path the clearly does not exist on my system, the logs report that it does the check and returns a

Apache::DBI Problem

2000-01-07 Thread Dennis Megarry
This message was sent from Geocrawler.com by "Dennis Megarry" <[EMAIL PROTECTED]> Be sure to reply to that address. Everything was running fine, i installed mod_perl and ApacheDBI, now, I get errors trying to connect to mySQL, the message showing up in my error_log file is this: httpd: [Thu J

Re: Embperl under cgiwraper

2000-01-07 Thread Vijay
Hello, I have setup srm.conf as given below. Action text/html /scripts/embpcgi.pl I believe that by default all html files under this directory should be processed by embpcgi.pl. This is what is not happening. I may have not set up properly. I have installed embperl without support for mod_p

RE: Embperl under cgiwraper (2)

2000-01-07 Thread Vivek Khera
> "GR" == Gerald Richter <[EMAIL PROTECTED]> writes: GR> The other possibilty is, that cgiwrapper does not set the environement GR> variable PATH_TRANSLATED. This is required by Embperl in cgi mode My experience tells me that cgiwrap steals PATH_INFO and PATH_TRANSLATED for its own purpose,

send_fd and timeout problem

2000-01-07 Thread Martin Lichtin
Hi, I'm using send_fd() to send relatively large files. Apache's Timeout is currently set to 60s and indeed, mod_perl aborts as soon as the minute elapses. (error msg: mod_perl: Apache->print timed out). However, it shouldn't do that, right? As ap_send_fd_length() does 8k chunking and uses a

RE: Embperl under cgiwraper (2)

2000-01-07 Thread Gerald Richter
> From the error message it seems you didn't > give Embperl > any sourcefile to process. > > > You must request it like this: > > http://localhost/cgi-bin/embpcgi.pl/path/to/the/source.html > The other possibilty is, that cgiwrapper does not set the environement variable PATH_TRANSLATED. This is

RE: Embperl under cgiwraper

2000-01-07 Thread Gerald Richter
> > unshift(@INC, '/home/sites/home/HTML-Embperl-1.2.0/blib/lib' ); > print "@INC\n"; > You don't need this, if you have run "make install" > > [11765]ERR: 30: Line 1: Not found ? This error message comes from Embperl. So the embpcgi.pl is still found, otherwise you wouldn't see this message,

Re: Caching with $r->no_cache(1)

2000-01-07 Thread Randy Harmon
Does anybody have experience detecting such a condition, perhaps through one of the client headers? I haven't had a chance to dump them - many hats. In any case, I could use some Javascript to package up the machine's current time and send it back to the server, for instance at the same point w

Re: Caching with $r->no_cache(1)

2000-01-07 Thread Randy Harmon
On Fri, Jan 07, 2000 at 12:44:43AM -0800, Ask Bjoern Hansen wrote: > The latest version from CVS also sets the Cache-Control: and the Pragma: > headers when you use $r->no_cache(1). Hm, I'm setting those explicitly, as directed by the Guide. God, it's useful. er, "Stas, it's useful" :) Randy

Re: Looking for Maurice Aubrey

2000-01-07 Thread Sam Tregar
On Fri, 7 Jan 2000, Matt Sergeant wrote: > If you can't find him, provided it's Artistic Licenced, just release you > version to CPAN as IPC::ShareLite2 - it's perfectly legit. That's the > beauty of free software. I had considered that, or possibly a "dynamic" fix that patches into IPC::ShareLi

RE: Caching with $r->no_cache(1)

2000-01-07 Thread Eric Cholet
Doug has made the following modification to modperl (in the CVS tree): $r->no_cache(1) will now set the r->headers_out "Pragma" and "Cache-control" to "no-cache" This should work even with buggy browsers. -- Eric > I notice that the Guide omits the mention of Netscape's ignorance of > Exp

Re: mod_rewrite Problem...

2000-01-07 Thread darren chamberlain
Since this is a mod_perl list, I'll suggets a Perl solution. Write a PerlTransHandler that does what mod_rewrite does. You can get the query string from $r->args and send redirect headers. A quick example (this works, BTW): package Apache::Redirect::Based::On::Query::String; use Apache::Constan

Re: Looking for Maurice Aubrey

2000-01-07 Thread Gunther Birznieks
Before taking the drastic step of grabbing a hold of the IPC::ShareLite namespace (I prefer this to a branch split), how long have you been trying to contact him? Where I live, I know a few people that took off big time during the Millenium holiday. I don't think it is unusual that someone might

Re: Caching with $r->no_cache(1)

2000-01-07 Thread G.W. Haywood
Hi there, On Fri, 7 Jan 2000, Randy Harmon wrote: > Currently, I'm experiencing the problem with Netscape 4.7, although I seem > to recall the same problem in earlier releases, in the case where the target > browser's clock is slow. > > [snip] can be corrected by explicitly setting an Expires h

Re: Caching with $r->no_cache(1)

2000-01-07 Thread Ask Bjoern Hansen
On Fri, 7 Jan 2000, Ask Bjoern Hansen wrote: > On Fri, 7 Jan 2000, Randy Harmon wrote: > > The latest version from CVS also sets the Cache-Control: and the Pragma: > headers when you use $r->no_cache(1). (latest version of mod_perl that is, not Apache). - ask -- ask bjoern hansen -

Re: Caching with $r->no_cache(1)

2000-01-07 Thread Ask Bjoern Hansen
On Fri, 7 Jan 2000, Randy Harmon wrote: The latest version from CVS also sets the Cache-Control: and the Pragma: headers when you use $r->no_cache(1). - ask -- ask bjoern hansen - more than 60M impressions per day,

Re: Looking for Maurice Aubrey

2000-01-07 Thread Ask Bjoern Hansen
On Fri, 7 Jan 2000, Matt Sergeant wrote: ... > > releasing a new version of HTML::Template that uses IPC::ShareLite until > > the fix can get into a real version. > > If you can't find him, provided it's Artistic Licenced, just release you > version to CPAN as IPC::ShareLite2 - it's perfectly le

Re: Looking for Maurice Aubrey

2000-01-07 Thread Matt Sergeant
On Fri, 07 Jan 2000, Sam Tregar wrote: > Hello all. Has anyone heard from Maurice Aubrey lately? Does anyone know > how I could contact him (other than his email above)? My searches show > that he last posted here in '98, and I can't find any further traces of > him after that. Emails have gon

Caching with $r->no_cache(1)

2000-01-07 Thread Randy Harmon
I notice that the Guide omits the mention of Netscape's ignorance of Expires: set to the same as Date: when it mentions $r->no_cache(1) performing that function. Currently, I'm experiencing the problem with Netscape 4.7, although I seem to recall the same problem in earlier releases, in the ca