Re: Generic Server

1999-10-31 Thread Matt Sergeant
On Sat, 30 Oct 1999, Leslie Mikesell wrote: According to Matt Sergeant: Would it be possible to have a generic server, like Apache, but not just for HTTP - something that could also serve up NNTP connections, FTP connections, etc. It seems to me at first look this should be possible.

RE: Embperl - where are the cookies ? Success....

1999-10-31 Thread Gerald Richter
$Apache::Session::SysVSemaphoreLocker::nsems = 16; (note - I'm running Solaris so I gotta have the nsems argument) I put the hint with nsems and Solaris in the Embperl docs (the missing BEGIN block is already added) Thanks for the hint Gerald

RE: optredirectstdout not working.

1999-10-31 Thread Gerald Richter
Hi, Even with optRedirectStdout set, I'm still seeing HTTP headers in my Embperl strange, with a similar setup I don't get these problems... Could you try the following modifications: html head titleStuff/title /head body p [+ $ENV{EMBPERL_OPTIONS} +]

RE: optredirectstdout not working.

1999-10-31 Thread randyboy
BTW. Do you have build mod_perl with USE_DSO? If so make sure you do _not_ load Embperl at server startup time! Yes I do, but I was following along with the guide and loaded everything at startup. The embperl faq didn't give any reasons (that I can find) as to why I shouldn't or too many

RE: optredirectstdout not working.

1999-10-31 Thread Gerald Richter
BTW. Do you have build mod_perl with USE_DSO? If so make sure you do _not_ load Embperl at server startup time! Yes I do, but I was following along with the guide and loaded everything at startup. The embperl faq didn't give any reasons (that I can find) as to why I shouldn't or too

Profiling

1999-10-31 Thread Greg Stark
Does anyone have any idea how much overhead Apache::DProf or Apache::SmallProf add? Will it be possible to use these on a production system without having a severe impact? And has anyone used DBIx::Profile with mod_perl ? All I keep getting is: Can't locate object method "printProfile" via

Embperl: Installation woes

1999-10-31 Thread Anthony Gardner
The following error msg appears while trying to install. upload.htmERR:Internal Server Error Input: ./test/html/upload.htm Output: ./test/tmp/out.htm Compared to:./test/cmp/post.htm Log:./test/tmp/test.log ERRORS detected! NOT all test have been passed

Re: Generic Server

1999-10-31 Thread Siracusa
On 10/31/99 4:23 AM, Matt Sergeant wrote: Well I'll show by example. Take slash (the perl scripts for slashdot.org) I'm assuming you wanted this read like the classic: "Take my wife...please!" I mean, have you actually looked at the code here? http://www.slashdot.org/code.shtml It's

Re: Apache::SSI pain

1999-10-31 Thread Vassilii Khachaturov
Hi, I have had a similar problem and didn't overcome it. I am running apache 1.3.6 and the latest Bundle::Apache, mod-perl-1.21 and Apache::SSI-2.08 (all the dependants are from yesterday's CPAN). When I use the (deprecated according to this Ken's message) Apache-OutputChain-0.07, I also have

Re: Apache::SSI pain

1999-10-31 Thread Ken Williams
One problem is that Apache::Registry doesn't work with Apache::Filter. You have to use a modified version (a subclass) to get it to work. The subclass is Apache::PerlRunFilter (which is actually a subclass of Apache::PerlRun, not Apache::Registry, so it doesn't do any caching. I'll find time

Re: Apache::SSI pain

1999-10-31 Thread Vassilii Khachaturov
However, when I use Filter as suggested in Apache::Filter(3) (see the config snippet below), the include directive gets propagated on to the user agent and not expanded. Try http://win.tarunz.org/test.html to see oops. It turns out that it has been specifically stated in the docs that

Re: Make errors

1999-10-31 Thread Doug MacEachern
On Fri, 15 Oct 1999, John Whitehead wrote: I can succesfully make Apache and perl with the following versions ; apache_1.2.6 perl5.004_05 when trying to make mod_perl-1.21 mod_perl no longer supports 1.2.x, try 1.3.9 instead.

Re: setting cookies?

1999-10-31 Thread Doug MacEachern
On Mon, 18 Oct 1999, Wyman Eric Miles wrote: System: Solaris 2.6 Apache 1.3.9/mod_perl 1.19/gcc 2.8.1/perl-5.004.04 I'm using SecurID to authenticate for an Apache proxy server. I've written a little perl module that uses a username/tokencode returned by basic auth to validate a

Re: mod_perl with APXS plus Raven equals segfault

1999-10-31 Thread Doug MacEachern
try building Perl with Configure -Uusemymalloc, solaris+perl malloc don't seem to get along when mod_perl is a dso. you're better off to link static though, solaris system malloc is 25%-30% slower than using Perl's malloc On Mon, 18 Oct 1999, Steve Snodgrass wrote: I've been using mod_perl

Re: redirect after POST again?

1999-10-31 Thread Doug MacEachern
if you read POST data, then redirect, you need to do this before the redirect or apache will hang: $r-method_number(M_GET); $r-method('GET'); $r-headers_in-unset('Content-length'); On Wed, 20 Oct 1999, Ilya Obshadko wrote: Hello, Weird things: this simple plain

Re: Problem at startup (Apache.pm)

1999-10-31 Thread Doug MacEachern
try adding to httpd.conf: PerlModule Apache On Thu, 21 Oct 1999, Alessio Bragadini wrote: I am sorry to bother you with what seems a FAQ, but the solutions found on the list archive (do make install, check permissions, use PerlSetEnv PERL5LIB) are not working for me: after make make

Re: undefined reference problem

1999-10-31 Thread Doug MacEachern
On Thu, 21 Oct 1999, Scott Anderson wrote: am having the following errors trying to compile apache with mod_perl my mod perl configuration script looks like this perl Makefile.PL \ APACHE_SRC=/usr/local/src/apache_1.3.9 \ NO_HTTPD=1 \ PREP_HTTPD=1 \

mod_perl usage survey

1999-10-31 Thread Stas Bekman
The graph/usage data is updated, the ramp is getting bigger and bigger :) http://perl.apache.org/netcraft/ October 1999: 342285 Domains, 55688 IP Addresses Unfortunately after speaking with Mike Prettejohn, I found out that netcraft doesn't poll port other than 80, unless you submit your site

Re: Apache-read timed out?

1999-10-31 Thread Doug MacEachern
sounds like somebody has already read the POST data before your code is reached. On Fri, 22 Oct 1999, Marler, Gordon wrote: I'm running mod_perl 1.21, Apache 1.39 on Solaris 2.5.1. I'm using the proxy example from pp. 374-381 of the "Writing Apache Modules" book, and I've come up with a

Re: Hanging process: detection and determination (was Re: Runawayprocesses)

1999-10-31 Thread Doug MacEachern
I've checked the Apache::SIG and $r-connection-aborted, but is there a way to "write" without actually writing, probably some control char will do? Something like: while(1){ $r-print("\0"); last if $r-connection-aborted; $i++; sleep (1); } have a look at what Eric

Re: Apache::SSI and lookup_uri and POST req fails

1999-10-31 Thread Doug MacEachern
On Tue, 26 Oct 1999, Pouneh Mortazavi wrote: i'm so close to getting apache::ssi to work correctly but right now my work has come to a halt... I've tracked the problem down to POST-ed forms + SSI + virtual includes + $r-lookup_uri, but i don't know how to fix it! I use Apache::SSI

Re: suggestion about PerlRun

1999-10-31 Thread Doug MacEachern
On Thu, 28 Oct 1999, Yasushi Nakajima wrote: Hello All I have made a module derived from PerlRun. It overrides only readscript() method in PerlRun. First I wrote as follows (essencial part only) package Apache::PerlRunFake; use Apache::PerlRun; @ISA = qw(Apache::PerlRun);

Re: forking from the main Apache process

1999-10-31 Thread Doug MacEachern
On Sat, 23 Oct 1999, Stas Bekman wrote: After investigating deeper into a hanging detection problem, I understood that I can quite easily write a monitor that will detect these processes and kill them off. I wrote a module Apache::SafeHang with help of Apache::Scoreboard that should solve

Re: Intentional Premature Finish in an Apache Module

1999-10-31 Thread Doug MacEachern
On Thu, 28 Oct 1999, Public Interactive wrote: I'd like to be able to prematurely end the thread of execution within a Perl apache module from someplace *other than* the PerlHandler entry point subroutine (usually "handler()"). That is, when I'm a few subroutines deep inside my module, I

Re: Memory Leaks?

1999-10-31 Thread Doug MacEachern
sounds like you have PerlFreshRestart On, try turning it Off. scan the archives for more info. On Fri, 29 Oct 1999, Ben Bell wrote: Hi, I'm using the Debian package of mod_perl (1.21) and apache 1.3.9 and I've noticed quite nasty memory leaks on server restart. I've noticed unresolved

Re: Profiling

1999-10-31 Thread Doug MacEachern
On 31 Oct 1999, Greg Stark wrote: Does anyone have any idea how much overhead Apache::DProf or Apache::SmallProf add? Will it be possible to use these on a production system without having a severe impact? I wouldn't using profiling on a production site, there is considerable overhead