RE: Installing libwww

1999-10-29 Thread Eric Cholet
Man, that's some ps program you've got here. I should run Linux one of these days. PID TTY STAT TIME COMMAND 1 ? S0:05 init [2] 2 ? SW 0:06 (kflushd) 3 ? SW 0:07 (kupdate) 4 ? SW 0:00 (kpiod) 5 ? SW 0:04 (kswapd) 82 ? S0:00

Re: modperl in practice

1999-10-29 Thread Vivek Khera
"j" == jb [EMAIL PROTECTED] writes: j comments or corrections most welcome.. i freely admit to not having j enough time to read the archives of this group before posting. Well, that would have saved you lots of effort in re-learning the lessons discussed and documented regarding memory use,

No permission to access document after $r-internal_redirect

1999-10-29 Thread Oleg Bartunov
Hi, I have modperl handler which redirect user to random document and it works fie if I use: $r-header_out(Location = 'pubs.html?msg_id='.$msg_id); return REDIRECT; but if I use internal redirect: $r-internal_redirect($random_uri); return OK; I get: You don't have permission to access

hostname sanitation in PerlTransHandler or anywhere else

1999-10-29 Thread Dan Rench
We use a TransHandler to (among other things) manage name-based virtual hosts (simply put, given the incoming Host: header plus URI, map to a file). We (of course) sanitize the incoming URI and Host. It works fine. I "save" the sanitized hostname like so: $r-header_in('Host',$host);

Re: hostname sanitation in PerlTransHandler or anywhere else

1999-10-29 Thread Francesc Guasch
Dan Rench wrote: PS: I'd still like to hear from anyone who is running mod_perl on Solaris 2.5.1 with Perl 5.005_03 -- I don't want to stick with 5.004 forever. If only you could upgrade to solaris 2.6. I have it running: SunOS 5.6 This is perl, version 5.005_03 built for sun4-solaris

Memory Leaks?

1999-10-29 Thread Ben Bell
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 bug reports on the Debian pages about this. Is it a known issue with this version? The leak is ca. 2MB each restart (or graceful) with my

Re: modperl in practice

1999-10-29 Thread Leslie Mikesell
According to [EMAIL PROTECTED]: I still have resisted the squid layer (dumb stubbornness I think), and instead got myself another IP address on the same interface card, bound the smallest most light weight separate apache to it that I could make, and prefixed all image requests with

Re: hostname sanitation in PerlTransHandler or anywhere else

1999-10-29 Thread Dan Rench
On Fri, 29 Oct 1999, I wrote: I can only think of a couple options: hack http_core.c to do what I want, or write a custom LogHandler that uses the sanitized host. We've decided on another option: if you're sending a Host: header that needs "sanitation," then either 1) you're trying to run

FW: Apache::Resource

1999-10-29 Thread Simon Miner
Ok, I've had the chance to experiment a bit more with BSD::Resource::setrlimit function. After I sent my last message to the mailing list, I again accessed the Apache::Status Resource Limits page, and this time RLIMIT_DATA was unset. I reloaded the page several times, and the behavior seemed

Re: Generic Server

1999-10-29 Thread Rudy
I'll use POP3 as my example, although any other service (eg telnet, ssh, FTP, SMTP) are equally valid. Having apache run on a non-http port, say port 110 (POP3), could be handy. You could even have POP3 running elsewhere and use the POP3 module: o to proxy POP3 requests inside a firewall,

Re: Generic Server

1999-10-29 Thread Matt Sergeant
On Fri, 29 Oct 1999, James G Smith wrote: Matt Sergeant [EMAIL PROTECTED] wrote: I don't think this is currently possible with the current Apache, but hear me out. Would it be possible to have a generic server, like Apache, but not just for HTTP - something that could also serve up NNTP

Re: No-Cache Question ?

1999-10-29 Thread Cliff Rayman
I use the following with regular headers, but try it with err headers to see if it works as well: $r-err_header_out("Pragma","no-cache"); $r-err_header_out("Cache-control","no-cache"); cliff rayman genwax.com Naren Dasu wrote: Hi, I am doing some testing with a

RE: Generic Server

1999-10-29 Thread Eric Cholet
I'll use POP3 as my example, although any other service (eg telnet, ssh, FTP, SMTP) are equally valid. Having apache run on a non-http port, say port 110 (POP3), could be handy. You could even have POP3 running elsewhere and use the POP3 module: o to proxy POP3 requests inside a

Newbie Questions on Apache with embPerl

1999-10-29 Thread Melvin Bernstein
Greetings all, I have a basic Apache/Embedded Perl config. question. Currently, on my developement server (Apache/1.3.6 (Unix) Debian/GNU mod_perl/1.19 ) there is only a single directory root that will recognize ".html" as an embedded Perl file. I wish to get rid of the "*Logfile* *Source only*

optRedirectStdout

1999-10-29 Thread randyboy
Does this option redirect stdout for every connection or (hopefully) just ones that are tied to the embperl handler? Just making sure. r.

modperl in practice.

1999-10-29 Thread jb
Hi, I've just emerged from about 5 months of fairly continuous late night development, what started as a few Berkeley db files and a tiny cgi perl script has now grown to (for me) a monster size, kept largely at bay by modperl.. I hope this story will be interesting to those who are taking the

RE: embperl plain text

1999-10-29 Thread Gary Shea
Hey Gerald -- I just noticed that you had in fact made an optSaveSpaces in 1.2b10. Thanks! I had tried to access your CVS stuff via the two methods you mentioned, couldn't get it working, and more or less gave up until I could figure out what I was doing wrong... didn't want to bug you until I

Handling caches, and handling persistent connections in modperl

1999-10-29 Thread Nicolas MONNET
I'm happily using mod_perl to serve content stored in a mysql database. Basically, the content does not change really often, and it maybe important (BLOB containing images). It seems that handling cache-related stuff would be a big win. For example, the If-Modified-Since: (sp?) header and that

If-Modified-Since, never mind ...

1999-10-29 Thread Nicolas MONNET
Ok, eagle book, p120-121 ... -- Nicolas MONNET, Technical Director, IT-Xchange URL:http://www.it-xchange.com URL:mailto:[EMAIL PROTECTED] URL:mailto:[EMAIL PROTECTED]

Re: Generic Server

1999-10-29 Thread Rasmus Lerdorf
I don't think this is currently possible with the current Apache, but hear me out. 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

Session state without cookies

1999-10-29 Thread Trei Brundrett
I'm reworking an existing web store CGI script to better handle shopping carts. I'm going to use Apache::Session to manage these shopper sessions. The store is a mixture of static HTML and CGI generated pages and I want to maintain the session across the entire site. The only issue I've

Embperl - where are the cookies ?

1999-10-29 Thread George P. Pipkin
Hi Everybody - I have been playing around with Embperl. I have a little script that resembles the counter test mentioned in the docs, and it appears to run. Problem is, no cookies get set. And the value of the counter is erratic. One browser will appear to pick up the count from another.

Re: Embperl - where are the cookies ?

1999-10-29 Thread Owen Stenseth
George, This problem was mentioned in a previous post because it is wrong in the documentation (it may be fixed now). The setting of $ENV{EMBPERL...} variables in this case need to be inside a BEGIN block at the start of the script. This is because the value of these variables are used to

Re: More on web application performance with DBI

1999-10-29 Thread gangadharan narayan
Hi , I have a perl script which connects to the oracle database. I want to know if i can lock the script. i.e even if there are many requests to the server for the same script there will be no concurrency update problems. Also how i implement commit rollbacks in a script. thanks for help in

Re: More on web application performance with DBI

1999-10-29 Thread Michael Peppler
Greg Stark wrote: *** From dbi-users - To unsubscribe, see the end of this message. *** *** DBI Home Page - http://www.symbolstone.org/technology/perl/DBI/ *** Tim Bunce [EMAIL PROTECTED] writes: On Mon, Oct 18, 1999 at 07:08:09AM -0700, Michael Peppler wrote: Tim Bunce

Re: More on web application performance with DBI

1999-10-29 Thread Michael Peppler
Greg Stark writes: Michael Peppler [EMAIL PROTECTED] writes: Greg Stark wrote: Actually not - Sybase creates a temporary stored proc for each prepared statement, so it's equivalent to using stored procedures. Heh neat, is that DBD::Sybase or the server that's doing that?