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
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
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
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,
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
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
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
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
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
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"
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
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
> 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
> > 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
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.
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
>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
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
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
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
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
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:
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
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
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
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
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
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.
>
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
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
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,
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
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
-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice:
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
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_
> -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
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
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
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
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
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 /
/
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
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
>
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
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
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
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()
48 matches
Mail list logo