Abd How can i restart the named service via mod_perl.
Abd The script will be activated via a web page.
Abd My apache is configured to use User: apache, Group: apache
Abd Is ther any other way except usine User root directive in my
Abd httpd.conf file
Assuming you're running a
Hi,
I *HIGHLY* recommend mod_throttle for Apache. It is very
configurable. You can get the software at
http://www.snert.com/Software/mod_throttle/index.shtml .
The best thing about it is the ability to throttle based
on bandwidth and client IP. We had problems with robots
as well as
Here's a bit more information:
Given two directives:
$VirtualHost{$host}-{Alias} = [ '/perl/', $vhostdir/$dir/perl/ ];
$VirtualHost{$host}-{Alias} = $vhost{config}-{Alias};
The first works. The second does not. According to
Apache::PerlSections-dump, %VirtualHost is *exactly*
When this happened to our clients servers we ended up trying some of the
mod_perl based solutions. We tried some of the modules that used shared
memory, but the traffic on our site quickly filled our shared memory and
made the module unuseable. After that we tried blocking the agents
Guys
We also have a problem with evil clients. It's not always spiders... in fact
more often than not it's some smart-ass with a customised perl script
designed to screen-scrape all our data (usually to get email addresses for
spam purposes).
Our solution, which works pretty well, is to have
Paul Lindner wrote:
But while I have your attention, why are you using Apache::DB at all? The
Apache::DProf docs just have:
PerlModule Apache::DProf
Legacy knowledge :)
I think it may have been required in the past, or perhaps I had some
problems with my INC paths long-long ago..
If merely the last access time and number of requests within a given time
interval are needed, I think the fastest way is to record them in a cookie,
and check them via an access control. Unfortunately, access control is
called before content handler, so the idea can't be used for CPU or
Bill,
If you're looking to throttle access to a particular URI (or set of URIs),
give mod_throttle_access a look. It is available via the Apache Module
Registry and at http://www.fremen.org/apache/mod_throttle_access.html .
Regards,
Christian
-
Christian Gilmore
Technology
On Wed, 17 Apr 2002, Peter Bi wrote:
Fran:
You may need to 1) add a few lines of code in AuthCookie to make your error
code aware to other methods, and 2) have a dynamic login page that can
interpret the code. Alternatively, you may try AccessCookie I posted. :-)
The CVS version of
It seems that DB::args is empty on mod_perl 1.26 and perl 5.6.1.
This is stock Red Hat 7.2 (apache 1.3.22). The code which references
DB::args works in perl 5.6.1. It also appears that the failure only
occurs after the perl restarts. The first time Apache loads mod_perl,
DB::args is being set
Thank you, and Marc as well, it looks like it was a combination of both
version options and having it compiled as a DSO. We've upgraded
mod_perl and apache and no longer have mod_perl as a DSO, and except for
new error messages popping up (nothing serious, mostly just slightly
sloppy coding
Hi,
I looked at the page you mentioned below. It wasn't really
clear on the page, but what happens when the requests get above
the max allowed? Are the remaining requests queued or are they
simply given some kind of error message?
There seem to be a number of different modules for this kind
I came across the very problem you're having. I use mod_bandwidth, its
actively maintained, allows via IP, directory or any number of ways to
monitor bandwidth usage http://www.cohprog.com/mod_bandwidth.html
Although its not mod_perl related I hope that this helps
Drew
-Original
On Wed, 03 Apr 2002 16:01:24, Drew Taylor [EMAIL PROTECTED] wrote:
I can highly recommend PDFLib. It's not quite free in that you have to buy
a license if you make a product out of it, but it's still cheap. Matt
Sergeant has recently added an OO interface over the PDFLib functions with
On Fri, 2002-04-19 at 01:43, PinkFreud wrote:
Here's a bit more information:
Given two directives:
$VirtualHost{$host}-{Alias} = [ '/perl/', $vhostdir/$dir/perl/ ];
$VirtualHost{$host}-{Alias} = $vhost{config}-{Alias};
The first works. The second does not. According to
How about adding a MD5 watermark for the cookie ? Well, it is becoming
complicated
Peter Bi
- Original Message -
From: kyle dawkins [EMAIL PROTECTED]
To: Peter Bi [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, April 19, 2002 8:29 AM
Subject: Re: Throttling, once again
Peter
On Fri, 19 Apr 2002, Andrew Ho wrote:
DWThis looks pretty good to me. Can anyone suggest how I might
DWprogrammtically send a PDF to a printer once I've generated it in
DWPerl/mod_perl?
Use either Ghostscript or Adobe Acrobat Reader to convert to Postscript,
then print in your normal
Log is attached. I'm amused with this line:
handle_command (Alias /perl/ /home/vhosts/linuxhelp.mirkwood.net/perl/): OK
That looks right, but I *still* get a 404 error:
404 Not Found
On Fri, 19 Apr 2002, Lihn, Steve wrote:
Hi,
I just downloaded Randy's win32 build of Apache2.
I do not understand in httpd.conf:
PerlSwitches -Mblib=C:\Apache2
PerlModule Apache2
Location /hello
PerlResponseHandler Apache::HelloWorld
SetHandler modperl
/Location
But in the
Per Einar Ellefsen wrote:
At 21:12 19.04.2002, Sören Stuckenbrock wrote:
Hi there,
mod_perl-newbie needs help!
I have a nasty problem using Perl Modules under mod_perl.
I've developed a CGI-Application, that retrieves its configuration values
from a module that gets included (with use)
Andrew Ho wrote:
Hello,
DWThis looks pretty good to me. Can anyone suggest how I might
DWprogrammtically send a PDF to a printer once I've generated it in
DWPerl/mod_perl?
Use either Ghostscript or Adobe Acrobat Reader to convert to Postscript,
then print in your normal manner (if you
21 matches
Mail list logo