perld

2000-09-06 Thread Francesco Pasqualini
for increase sysadm script speed could be useful a sort of perl daemon or embed perl in the kernel (linux). Another way could be the use of apache+modperl (very robust solution) and a light wrapper to convert a script (#!/usr/bin/perl) execution in to an httpd request. The problem to solve I thi

Error pages and htaccess

2000-09-06 Thread Ashlyn
As a complete newbie to both this list and perl, could someone please give me an idiot proof explanation on how to do those custom error pages within my domain? I tried it the way a friend told me and caused an internal server error! Don't want the same thing to happen again. My web host told me

Re: internal_redirect

2000-09-06 Thread Differentiated Software Solutions Pvt. Ltd
Hi, We changed the code as you had given. Still we get the same message. Lots of others have told us that we can only run it under mod_perl. Fine. We realise this. When we run it under mod_perl we got this message in Apache error log. Hence we ran it under perl. We feel that there is some basic

Re: upgrading mod_perl on production machine

2000-09-06 Thread Perrin Harkins
On Wed, 6 Sep 2000, Bill Moseley wrote: > I hope I didn't miss anything in the Guide at install.html and in > control.html, but I was looking for any suggestions on upgrading mod_perl > and Perl on a running production machine to limit the amount of down time. We use RPMs. Some form of package,

Passing STDIN to subprogram

2000-09-06 Thread erich oliphant
I am replacing a CGI shell script with a modperl script. At one point in the shell script subprogram is called. The HTML form that calls the script calls it via a POST. As such the params are available via STDIN. The subprogram call (which I can't eliminate yet) expects to see the form par

modperl@apache.org

2000-09-06 Thread Roee Rubin
Hello, I am receiving the following error (viewed by the error log) when I attempt to view the page Undefined subroutine &Apache::Foo::handler I have also attempted precompile the package ( perl -c Foo.pm) and recieve the following error: Can't locate Apache/File.pm in @INC .. or Can't lo

[ANNOUNCE]: aphid 0.10a

2000-09-06 Thread eScout Corporation
aphid -- apache/perl http installation daemon - first public alpha release - Aphid-specific code is licensed under the same terms as Perl itself - see the distribution doc for more information from the README: Aphid provides a quick facility for bootstrapping SSL-enabled Apache web

Re: Embedded Perl/Resource Limits

2000-09-06 Thread Bill Mustdie
Gerald, But isnt the LimitRequestBody directive only for files being received by the client and not for files being sent the other way?? I thought this would be an arbitrary limit that could either be changed in a source code or apache config file change?? Any ideas? Bill --- Gerald Ri

Re: Help for installation....

2000-09-06 Thread Pramod Sokke
Derrick, We've all had the same problem with running 'make test' under stronghold. All my queries to the Stronghold folk about this went unanswered. Carl Hansen detailed me about the steps to go through for a successful installation and advised not to run 'make test'. I followed exactly that and

Help for installation....

2000-09-06 Thread Derrick
Dear all, Does anybody know how to fix the following error? I am sure i already have the license file directive in the configuration file. Everything runs fine except when i was trying to install this mod-perl. I am using Freebsd4 and stronghold. I got the following error when i ran "make test"

[OT] FYI: RSA Released Into The Public Domain

2000-09-06 Thread Stas Bekman
This info is relevant to those mod_perl users who run mod_ssl and equivalent products in USA. The RSA algorithm was released into the public domain today (September 6th, 2000). For more info see: http://www.rsasecurity.com/news/pr/000906-1.html http://www.rsasecurity.com/developers/total-soluti

beginner mod_perl error

2000-09-06 Thread Roee Rubin
I have been able to correct the @INC path issue and now have ran into the following error that is displayed in the error_log null: Undefined subroutine &Apache::Hello::handler called Any help will be appreciated. [EMAIL PROTECTED] Hello, I have written a sample package (from a book). The p

Re: PUT handling (somewhat off-topic)

2000-09-06 Thread Mark-Jason Dominus
> It worked like a charm, the first time, Apparently it works like a charm for everyone but me, since none of the instructions I've found on the net have admitted the possibility that anything can go wrong. Which is why I came here, to bother the experts. > If it hadn't worked, I probably wou

Re: PUT handling (somewhat off-topic)

2000-09-06 Thread Mark-Jason Dominus
> > If it hadn't worked, I probably would've trussed Apache while I made the > > request to see what was going on. > > I guess I'll try that, but I'm not expecting much. That was the right thing to do. The problem became apparent right away: I had another handler installed for a parent directo

Re: Poor man's connection pooling

2000-09-06 Thread Tim Bunce
On Wed, Sep 06, 2000 at 10:42:53AM -0500, Jay Strauss wrote: > > Lastly, Tim - can you elaborate on "For some drivers, like DBD::Oracle, > connections generally don't work right across forks, sadly" ?? Oracle database connections made by a parent process can't be reliably used by child processes.

PUT handling (somewhat off-topic)

2000-09-06 Thread mjd-perl-modperl
I apologize in advance, because this isn't directly related to mod_perl. But I really wasn't sure where to ask. Posting to comp.infosystems.www.servers.unix didn't produce any result. There doesn't seem to be a mailing list for discussion of Apache generally. I am trying to get apache to invo

Re: PUT handling (somewhat off-topic)

2000-09-06 Thread Steve van der Burg
>When I send Apache a PUT request using 'telnet', the request is >received. However, my PUT script does not run. Instead, Apache >fabricates a 200 response that looks like this: I just added Script PUT /cgi-bin/put-handler to my Apache config (apache 1.3.12 & mod_perl 1.24 on Solaris 8 SPARC

@INC variable

2000-09-06 Thread Roee Rubin
Hello, I have written a sample package (from a book). The package uses an Apache package - Constants.pm that its path is not included in the @INC variable. I would like to add the path to the variable by default and not in runtime as people have suggessted. Where are the default values of @INC s

RE: mod_perl security on a shared web server

2000-09-06 Thread Christian Gilmore
Felix, There's not much available that is efficient and does per-resource throttling based upon CPU, RAM, and time of which I know. I looked around for such things about 8 months ago. I instead decided that, for my needs, limiting simultaneous client access to resource hogs was good enough. I wr

Re: mod_perl security on a shared web server

2000-09-06 Thread FĂ©lix C.Courtemanche
In fact, I would like to see something similar to what you sent, but that would only apply to mod_perl (or any other way toe xecute perl scripts in apache) since I am also using other languages, databases, etc that would be somewhat harder to isntall with such a comparmentization. I am currently

Re: Poor man's connection pooling

2000-09-06 Thread Stas Bekman
On Wed, 6 Sep 2000, Perrin Harkins wrote: > On Wed, 6 Sep 2000, Stas Bekman wrote: > > Just a small correction: > > > > You can cause pages to become unshared in perl just by writing a variable, > >^^^ > > so it's almost certain to hap

Re: Poor man's connection pooling

2000-09-06 Thread Jeff Horn
One thing I've looked at doing is adding an LRU mechanism (or some such discipline) to the existing Apache::DBI. I've already modified Apache::DBI to use 'reauthenticate' if a DBD implements it so that only 1 connection needs to be maintained per child. This greatly improves performance with a 1:

Re: Poor man's connection pooling

2000-09-06 Thread Leslie Mikesell
According to Michael Peppler: > The back-end is Sybase. The actual connect time isn't the issue here > (for me.) It's the sheer number of connections, and the potential > issue with the number of sockets in CLOSE_WAIT or TIME_WAIT state on > the database server. We're looking at a farm of 40 fron

Redirect Load Balancing Can't Connect

2000-09-06 Thread Kent, Mr. John
Adam, Thanks for responding. Yes that seems to be the problem exactly. Squid, says it cannot access the URL. But clicking on the link in the Error page generated by Squid works fine? Checking the load of the other server, 199.9.2.16, shows that it never sees the request. To see this problem

PUT handling (somewhat off-topic)

2000-09-06 Thread Mark-Jason Dominus
I apologize in advance, because this isn't directly related to mod_perl. But I really wasn't sure where to ask. Posting to comp.infosystems.www.servers.unix didn't produce any result. There doesn't seem to be a mailing list for discussion of Apache generally. I am trying to get apache to invo

Re: upgrading mod_perl on production machine

2000-09-06 Thread Stas Bekman
On Wed, 6 Sep 2000, Bill Moseley wrote: > Hi, > > Some basic questions here: > > I hope I didn't miss anything in the Guide at install.html and in > control.html, but I was looking for any suggestions on upgrading mod_perl > and Perl on a running production machine to limit the amount of down t

Re: Poor man's connection pooling

2000-09-06 Thread Barrie Slaymaker
Michael Peppler wrote: > > The back-end is Sybase. The actual connect time isn't the issue here > (for me.) It's the sheer number of connections, and the potential > issue with the number of sockets in CLOSE_WAIT or TIME_WAIT state on > the database server. We're looking at a farm of 40 front-end

Re: Poor man's connection pooling

2000-09-06 Thread Michael Peppler
Barrie Slaymaker writes: > Michael Peppler wrote: > > > > Based on preliminary tests I was able to use a 1 in 10 ratio of > > database handles per httpd child processes, which, on a large site > > would cut down on the number of connections that the database server > > needs to handle. >

Re: Poor man's connection pooling

2000-09-06 Thread Perrin Harkins
On Wed, 6 Sep 2000, Jay Strauss wrote: > Being a database guy but new to Mod_Perl (disclaimer: If these aspects have > already been implemented and/or talked about please excuse me). Before going down this road again, I suggest reading the definitive work on the subject, which is a post from Jef

Re: Poor man's connection pooling

2000-09-06 Thread Barrie Slaymaker
Michael Peppler wrote: > > Based on preliminary tests I was able to use a 1 in 10 ratio of > database handles per httpd child processes, which, on a large site > would cut down on the number of connections that the database server > needs to handle. I'd be interested to see how this compares wit

Re: HTML Template Comparison Sheet ETA

2000-09-06 Thread Andy Wardley
On Sep 4, 2:46pm, Sam Tregar wrote: > > [% FOREACH thing = list %] > > [% thing.name %] > > [% END %] > > That isn't really much better, in my opinion. It's still too much of a > departure from the HTML around it. That's the point. It's not HTML markup so you should make it look distinctive,

Re: IPC::Shareable problems

2000-09-06 Thread Nouguier
Steven Cotton wrote: > Hi, > > I've been having some problems delete()'ing elements from a tied > IPC::Shareable hash. The example from the pod works fine (but that's not > running under mod_perl) so I'm wondering if there are any lifetime/scope > issues with using IPC::Shareable 0.51 under mod_p

Re: Poor man's connection pooling

2000-09-06 Thread Michael Peppler
Perrin Harkins writes: > On Tue, 5 Sep 2000, Michael Peppler wrote: > > I've come across a technique that allows modperl processes to share a > > pool of database handles. It's not something that I have seen > > documented, so I figured I'd throw it out here. > > > > The idea is to create

Re: Embedded Perl/Resource Limits

2000-09-06 Thread Gerald Richter
- Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:

IPC::Shareable problems

2000-09-06 Thread Steven Cotton
Hi, I've been having some problems delete()'ing elements from a tied IPC::Shareable hash. The example from the pod works fine (but that's not running under mod_perl) so I'm wondering if there are any lifetime/scope issues with using IPC::Shareable 0.51 under mod_perl 1.24. Has anyone had any "Mun

upgrading mod_perl on production machine

2000-09-06 Thread Bill Moseley
Hi, Some basic questions here: I hope I didn't miss anything in the Guide at install.html and in control.html, but I was looking for any suggestions on upgrading mod_perl and Perl on a running production machine to limit the amount of down time. Is it typical to just do a make install with mod_

RE: ErrorDocument problem

2000-09-06 Thread BeerBong
> -Original Message- > From: BeerBong [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 06, 2000 5:37 PM > To: Nouguier > Subject: RE: ErrorDocument problem > > > Nope, I tried to copy error.cgi to error.pl - result the same :( > -- > S

Re: ErrorDocument problem

2000-09-06 Thread Nouguier
BeerBong wrote: > Hello all! > > I have a two apache server model (front-end - simple, back-end - power) > > I want return custom page on 404 status. > .asp, .pl files are passed to back-end via mod_rewrite on simple Apache (I'm > using Apache::ASP). > > When I trying to access > 1. /not_existing

ErrorDocument problem

2000-09-06 Thread BeerBong
Hello all! I have a two apache server model (front-end - simple, back-end - power) I want return custom page on 404 status. .asp, .pl files are passed to back-end via mod_rewrite on simple Apache (I'm using Apache::ASP). When I trying to access 1. /not_existing_file - works cgi script on simple

Using plugins in modules.

2000-09-06 Thread Alexei V. Alexandrov
Hello modperl, There is a module i have written for site managment and i would like to extend it with support for plugins and i don`t know where to start from. I would like it uppon startup scan a directory for plugins and then import functions from found plugins and also provide a

[ANN] Alpha v of Apache::NNTPGateway

2000-09-06 Thread heddy Boubaker
Apache::NNTPGateway is a simple gateway between an Apache http server (mod_perl enabled) and a NNTP server, allowing user to read, post, followup ... articles to newsgroups trough a simple web browser. Current v is 0.6 and it is the first public release, but intended for debugging help onl

[REQ] Looking for mod_perl based Counter

2000-09-06 Thread heddy Boubaker
hi, Before reiventing the wheel I'm looking for a mod_perl based access Counter, the idea is to use it with SSI served files, a little bit as mod_cntr work. regards -- / From the last station before the end of the neT \ \ Centre d'Etudes de la Navigation Aerienne, div SSS / /

reload

2000-09-06 Thread test
Hi I thought Reload would be quite helpfull because of not having to restart the server, but now I am quite stuck. Only the first form shows all the changes immediately. The second form after pushing a button does not. Is this explainable? Arnold perl.conf starting: PerlRequire

Re: Poor man's connection pooling

2000-09-06 Thread Tim Bunce
On Tue, Sep 05, 2000 at 10:38:48AM -0700, Michael Peppler wrote: > > The idea is to create a pool of connections during the main > apache/modperl startup. [...] > > This technique works with Sybase connections using either > DBI/DBD::Sybase or Sybase::CTlib (I've not tested Sybase::DBlib, nor >

Bug? in mod_perl when POST request yields REDIRECT

2000-09-06 Thread Reif Peter
I am using a self written mod_perl module that does proxy requests. It acts as content handler and fetches the requestet documents via LWP::UserAgent. The program works fine but when the request is a POST request and the response is a redirection (301, 302, ...) with a Location: header, no data is

Re: calling C extensions to Apache through mod_perl

2000-09-06 Thread Matt Sergeant
On Wed, 6 Sep 2000, Dave DeMaagd wrote: > Here's what I'm looking at: > > - Writing mod_foo as a dso for apache > - Have perl running under mod_perl > - Want to make calls to to functions in mod_foo from the perl scripts > > I know how to do the first two, but I'm not getting anywhere on where

calling C extensions to Apache through mod_perl

2000-09-06 Thread Dave DeMaagd
Here's what I'm looking at: - Writing mod_foo as a dso for apache - Have perl running under mod_perl - Want to make calls to to functions in mod_foo from the perl scripts I know how to do the first two, but I'm not getting anywhere on where to get the third. Am I just missing something really

Re: Poor man's connection pooling

2000-09-06 Thread Perrin Harkins
On Wed, 6 Sep 2000, Stas Bekman wrote: > Just a small correction: > > You can cause pages to become unshared in perl just by writing a variable, >^^^ > so it's almost certain to happen sooner or later. > > Or for example calling pos()