Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

21 results from messages in modperl

Advanced Search
  • On Wed, Nov 10, 2004 at 12:51:56PM +0900, Batara Kesuma wrote: > Hi Stas, > > > 1) use Apache::DBI > > > > 2) if not, refer to: > > http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlCleanupHandler > > http://perl.apache.org/docs/2.0/user/coding/coding.html#Getting_the_C__r__Object > > > Thank you for the answer. I tried to use Apache::DBI with > dbi_connect_method...
    Glenn Strauss Nov 10, 2004
  • On Fri, Nov 05, 2004 at 01:38:44PM +0100, Marc Gracia wrote: > So, my question is... There is any way to force apache to dump a > coredump file? I suppose I'm forgotting something but I really > desperate... On Linux, create a directory that is writable by the httpd user mkdir /var/tmp/apache-cores chown httpd /var/tmp/apache-cores chmod 700 /var/tmp/apache-cores Set the dump...
    Glenn Strauss Nov 5, 2004
  • On Mon, Sep 20, 2004 at 10:53:09PM +0200, Tom Schindl wrote: > Hi, > > !please always reply to the mailing list so the thread doesn't get broken! > > well mp uses this value internally and many CPAN-Modules do so either. > Versions > > mp1 = VERSION < 1.99 > mp2 = VERSION >= 1.99 > > The real syntax would be: > > ----------------->8----------------- > use mod_perl; ## exists in mp1...
    Glenn Strauss Sep 20, 2004
  • Fetching Sponsored Content...
  • On Thu, Aug 26, 2004 at 08:25:05AM +1000, Carl Brewer wrote: > sub hash_post { > # this has to get called instead of read_post, as read_post() > # gobbles up the POST arguments and they're no longer available... > # and this calls read_post() :) > > # returns a hash of all the POST values > > my ($r) = shift; > > my $post_string = CB::read_post($r); > my %rethash = {}; > > my @bits...
    Glenn Strauss Aug 25, 2004
  • On Wed, Aug 18, 2004 at 09:27:57PM -0700, Stas Bekman wrote: > Glenn Strauss wrote: > >The Socket.Handle property is what I think is needed so that > >APR::OS::sock_get() can be made to work on Windows, too. > >mpxs_APR__OS_sock_get() will need to special-case Windows platforms > >and pull the Handle property. I hope that works. Any Windows > >programmers out there? > > and I...
    Glenn Strauss Aug 18, 2004
  • On Wed, Aug 18, 2004 at 02:51:06PM -0700, Stas Bekman wrote: > Glenn Strauss wrote: > >>>This is what we'd need bound to the Perl API: > >>> > >>>apr_os_sock_t fd; > >>>apr_os_sock_get((apr_os_sock_t *) &fd, (apr_socket_t *) client_socket); > >>> > >>>On Unix-type platforms, apr_os_sock_t is an int -- the file descriptor, > >>>which you can use with select() or IO::Select() or...
    Glenn Strauss Aug 18, 2004
  • On Wed, Aug 18, 2004 at 02:09:53PM -0700, Stas Bekman wrote: > Glenn Strauss wrote: > >On Wed, Aug 18, 2004 at 12:59:51PM -0700, Ken Simpson wrote: > > > >>>the APR::Socket object is an opaque one, so it can't interoperate with > >>>any other perl modules. Have you looked if there is some C api to get > >>>the native socket object? There could be one (as they have for file...
    Glenn Strauss Aug 18, 2004
  • On Wed, Aug 18, 2004 at 12:59:51PM -0700, Ken Simpson wrote: > > the APR::Socket object is an opaque one, so it can't interoperate with any > > other perl modules. Have you looked if there is some C api to get the > > native socket object? There could be one (as they have for file objects), > > I didn't check. > > I looked through apr_network_io.h, which seemed like the logical...
    Glenn Strauss Aug 18, 2004
  • On Wed, Aug 18, 2004 at 12:27:02PM -0700, Stas Bekman wrote: > Glenn Strauss wrote: > >On Wed, Aug 18, 2004 at 10:59:25AM -0700, Stas Bekman wrote: > > > >>Glenn Strauss wrote: > >> > >>>Apache caches the server_rec, so as Stas said, modifying it affects > >>>things globally, and across the request. In C, if I wanted to > >>>local'ize the server_rec for the request, I would make a...
    Glenn Strauss Aug 18, 2004
  • On Wed, Aug 18, 2004 at 10:59:25AM -0700, Stas Bekman wrote: > Glenn Strauss wrote: > >Apache caches the server_rec, so as Stas said, modifying it affects > >things globally, and across the request. In C, if I wanted to > >local'ize the server_rec for the request, I would make a copy of the > >server_rec, store it in r->server, and then modify its contents > >(top-level only...
    Glenn Strauss Aug 18, 2004