Do we want to have a mod_perl BOF at ApacheCon? or related? I've just
logged into apachecon system to see this option to request a BOF.
what about gizmos? mod_perl underwear/socks anybody? Laser link (Geoff?)
or some new guys?
Help with Apache::SubProcess needed.
I have tried the example for running a long duration task from Mod
Perl, as found in the performance tuning guide, but I get the
following error:
[error] Can't locate object method "cleanup_for_exec"
via package "Apache" at
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 3:52 AM
To: mod_perl list
Subject: apachecon: BOF?
Do we want to have a mod_perl BOF at ApacheCon? or related? I've just
logged into apachecon system to see this option to request
Hi,
I have a mod_perl backend listening on *:81 and a proxy in front of it
listening on *:80, both using mod_vhost_alias configured with
VirtualDocumentRoot /www/site/%0
i.e. www.mydomain.com will have /www/site/www.mydomain.com as it's document
root. The frontend has
IfModule !mod_perl.c
What proxy server is better Squid or apache_proxy and that will work with
mod_perl? Do you have any suggestions or comments?
Mark
They are very good and friendly company.
I'm using this bundle over two years under high load. All things works
fine.
I can send you all configuration tips and comments, if you have any
problems.
Vasily Petrushin
+7 (095) 2508363
http://www.interfax.ru
mailto:[EMAIL PROTECTED]
--
mod_perl digest
February 4, 2001 - February 10, 2001
--
Recent happenings in the mod_perl world...
Features
I spent two days trying to make my "virtual document" PerlHandler work
from various locations, which I had thought to be really easy, by simply
looking at the path_info to determine what virtual document to bring up.
No go.
In just about every cases that I could do, I have $r-path_info
-Original Message-
From: Pierre Phaneuf [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 9:35 AM
To: [EMAIL PROTECTED]
Subject: trouble with path_info
I spent two days trying to make my "virtual document" PerlHandler work
from various locations, which I had
Geoffrey Young wrote:
I spent two days trying to make my "virtual document" PerlHandler work
from various locations, which I had thought to be really
easy, by simply
looking at the path_info to determine what virtual document
to bring up.
No go.
In just about every cases that I
Hi,
I'm using a similar service at services.superb.net since last Friday (thanx
Martin :-), USD79/month, Linux.
They already had a Apache 1.3.9 with mod_perl 1.21 and Perl 5.005_03 +
mod_frontpage + mod_php + mod_ssl. That all seemed to work, but I quickly
uninstalled it and compiled my own
"MW" == Marek W [EMAIL PROTECTED] writes:
MW What proxy server is better Squid or apache_proxy and that will work with
MW mod_perl? Do you have any suggestions or comments?
The only answer to your question is "it depends". You need to be more
specific as to your application needs before you
Malcolm Beattie writes:
50 boxes: no problem. 200 boxes: 5 racks or 1U, getting messy.
1000 boxes: admin nightmare. Plus you don't get much too many
built-in reliability features with a 1U box. Now consider that you can
run *thousands* of separate Linux images on a S/390 box which consists
Don't know if squid or Proxypass has the ability to do what I'm looking
for, but maybe someone can provide guidance..
Say (for example) we have a page called /customer/reports/PHILADELPHIA,
which has a list of things on it, one authenticated user can see X
number of things of the total list,
For what it is worth, I once again fixed my own problem by hacking
http_core.c on the backend:
[root@nobel src]# diff -U 6 ../build/apache_1.3.14/src/main/http_core.c
http_core_hack-1.3.14.c
--- ../build/apache_1.3.14/src/main/http_core.c Tue Oct 10 19:33:09 2000
+++ http_core_hack-1.3.14.c
Pierre Phaneuf ([EMAIL PROTECTED]) said something to this effect on 02/12/2001:
I spent two days trying to make my "virtual document" PerlHandler work
from various locations, which I had thought to be really easy, by simply
looking at the path_info to determine what virtual document to bring
I have seen mails flying around about a problem on RH using RPMs for
Apache/mod_perl and libapreq.
So I decided to build Apache (1.3.17), mod_perl (1.25) and libapreq
(0.31_03) from source.
All installed without any suggestion of a problem. However, when I try to
run Apache (configured to use
Hey there.
I have a line in my httpd.conf:
PerlRequire /path/to/startup.pl
In startup.pl I have this line:
use lib '/path/to/module';
This is not being added to my @INC like it should. Any
thoughts?
__
Do You Yahoo!?
Get personalized email
Make sure that your PerlRequire comes BEFORE you actually want to 'use' the
module in your httpd.conf
Alternately, you could unshift(@INC, '/path/to/module') in your startup.pl
-Original Message-
From: Aaron Schlesinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:07 AM
I was under the impression that once I ran the
PerlRequire script, if I did the use lib command, all
my other mod_perl scripts called on that server would
have access to that library?!
Aaron
--- "Liddick, Scott" [EMAIL PROTECTED]
wrote:
Make sure that your PerlRequire comes BEFORE you
Aaron Schlesinger wrote:
I have a line in my httpd.conf:
PerlRequire /path/to/startup.pl
In startup.pl I have this line:
use lib '/path/to/module';
This is not being added to my @INC like it should.
try
use lib '/path/to';
use module;
Ernest
--
Yours sincerely
Mit
darren chamberlain wrote:
In just about every cases that I could do, I have $r-path_info
identical to $r-uri!
If you are installing your handler as such:
Location /
SetHandler perl-script
PerlHandler My::Package
/Location
Then what you are seeing is correct. What does
Pierre Phaneuf wrote:
Then what you are seeing is correct. What does the relevent
httpd.conf snippet look like?
Just like in the eagle book (page 143):
Location /virtual
SetHandler perl-script
PerlHandler Apache::TreeBrowser
/Location
And I'm totally unable to get what you see on
Hi guys,
On Mon, 12 Feb 2001, Malcolm Beattie wrote:
you can run *thousands* of separate Linux images on a S/390
How much, to the nearest order of magnitude, does a S/390 cost?
73,
Ged.
Did some more testing: $ENV{PATH_INFO} from a CGI script is okay, and so
is $r-path_info() from an Apache::Registry script. Why does the
PerlHandler one doesn't work right then?
--
"The 3 great virtues of a programmer: laziness, impatience and hubris."
-- Larry Wall
On Sun, 11 Feb 2001, Wang, Pin-Chieh wrote:
First I can't put the IfDefine PERLDB block at the beginning of the
http.conf (I got httpd.conf syntax error
when I run httpd -X -DPERLDB; Then I move the block to the end of the
http.conf file re-run the command then I get
% ./bin/httpd -X
Apache-server will work - but it will always return the base server (so
if you are using virtual hosts it will return a different server from
$r-server). As long as you are not using virtual hosts you should be ok.
sterling
On Mon, 12 Feb 2001, Stathy Touloumis wrote:
Kinda, need to access
| Use the following config:
| Listen 81
| Port 80
| In the presence of a Listen directive, the Port directive acts like
| ServerName, i.e. it's what the server calls itself regardless of the
| name that other people use to get to it.
OK, thanks a lot, that does the trick. I tried that earlier
Erdmut Pfeifer wrote:
do you get a high CPU load during those 4 seconds?
NO! Even if i request 10 documents at the same time, there is no
significant load (except the Postgres load and some DBI stuff in the
beginning before printing).
hmmm!
:(
Ciao
Alvar
I am having problems with my email client and aplogize if this is the
second email such as this that I have sent.
Any help would be greatly appreciated.
We have been experiencing server errors that show up one second and go
away the next. I understand that this is probably due to there being
Hi,
Michael Bacarella wrote:
Hmmm, slow name resolution?
no, because the time is dependent on the length of the document!
Ciao
Alvar
When I get really stumped, I whip out strace/ktrace.
I don't know how I used to get along without it. It's time consuming,
but 95% of the time it
Craig Muth wrote:
Here is another error:
Modification of a read-only value attempted at /usr/lib/perl5/5.00503/Exporter.pm
line 40.
BEGIN failed--compilation aborted at
/home/sites/your.studentloanfunding.com/your-lib/eAward/GenerateOtherSections.pm
line 56.
line 56 is:
use POSIX
On Mon, 12 Feb 2001, Aaron Schlesinger wrote:
I have a line in my httpd.conf:
PerlRequire /path/to/startup.pl
In startup.pl I have this line:
use lib '/path/to/module';
This is not being added to my @INC like it should. Any
thoughts?
How do you know it isn;t being added? Try
That certainly sheds some light on the situation. Thanks a lot:)
--Craig
On Mon, 12 Feb 2001, Gerd Kortemeyer wrote:
Hmm, how about
http://www.bitmechanic.com/mail-archives/modperl/Dec1997/0199.html
- Gerd.
Craig Muth wrote:
Here is another error:
Modification of a
Alistair
I believe this is because the Apache and mod_perl
are threaded but the perl is not (optional/experimental). So, the mod_perl
serializes the use of perl. Someday, it will be safe to use the options in
the perl makefile to turn it on.
I'm on NT and 2000 as well and wish I wasn't.
I'm really stumped with that one. How come Apache::Registry gets the
right information and I don't??? I tried doing the exact same thing, to
no avail.
I built the smallest possible testcase I could (attached to this
message, just fix the /home/pp/tmp in httpd.conf and startup.pl into
wherever
I was going to suggest having the backend server listen on localhost:80,
with the proxying server listening on public addres:80, then the
redirects from either would be to port 80.
This suggestion of Tony's certainly seems like a cleaner solution though.
(Plus, I learned something I didn't know
At 02:25 PM 2/11/2001 +, you wrote:
George,
Just had a peek at your FileMan demo. Looks pretty neat. I too was about
to extend/rewrite Apache::AutoIndex to do some similar things. A few
questions
Does it use Apache::AutoIndex at all or is it a total rewrite ?
There was a lot to do, so I did
does apache swallow SIGALRM during its normal operation?
can't find any reference to alarm or ALRM in eagle; doesn't
mean i havn't missed something...
using:
sub blah
{
recalculate time-based items that change hourly;
alarm $next_time_to_run -
"SL" == Steven Lembark [EMAIL PROTECTED] writes:
SL does apache swallow SIGALRM during its normal operation?
SL can't find any reference to alarm or ALRM in eagle; doesn't
SL mean i havn't missed something...
go to the guide, and type "alarm" in the first search box (the
nextrieve search) and
If youre looking for a solution, i suggest putting in a little javascript
on the form..
FORM blah onSubmit="return submitme();"
...
script language="JavaScript"
!--
var clicked = 0;
function submitme() {
if(clicked == 0) { clicked = 1; }
else { return false; }
return
The URL
ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.3.1.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GR/GRICHTER/HTML-Embperl-1.3.1.tar.gz
size: 328406 bytes
md5: e58778ddd2e56ef129220a416818a525
The main improvements in this release is in EmbperlObject, which has
Yes, I remember Gunther recommending the javascript approach a while back, and I think
it is a good solution, but I just can't stand javascript. I always surf with it turned
off, because it frequently causes my browser to hang. It's a personal hang-up.
I was really interested in just learning
sbekman 01/02/12 01:04:42
Modified:lib/Apache test.pm
Log:
fixing case typo in doc
Revision ChangesPath
1.22 +1 -1 modperl/lib/Apache/test.pm
Index: test.pm
===
RCS file:
richter 01/02/12 01:18:55
Modified:embperl CVS.pod.1.html CVS.pod.cont.html Changes.pod.1.html
Changes.pod.10.html Changes.pod.11.html
Changes.pod.12.html Changes.pod.13.html
Changes.pod.14.html
richter 01/02/12 01:21:26
Added: embperl Changes.pod.46.html IntroEmbperlObject.pod.1.html
IntroEmbperlObject.pod.2.html
IntroEmbperlObject.pod.3.html
IntroEmbperlObject.pod.4.html
46 matches
Mail list logo