Hi!
I have one question. According to the Guide there's buffering feature of
mod_proxy that allows to release heavy mod_perl process from delivering data
over slow connection to the user.
In our system we have to pass large PDF files thru mod_perl to proxy and we
noticed that it takes the same
On Sun, 16 Sep 2001, Jim wrote:
Last month, there was some mention of putting together a knowledge
base for the mod_perl 2.0 documentation. I'm getting to the point at
work that I can start throwing some time to it. Here are some
thoughts I'm having regarding the design (programming
On Sun, 16 Sep 2001, Jim Smith wrote:
On Sun, Sep 16, 2001 at 02:37:50PM -0500, Jim wrote:
Last month, there was some mention of putting together a knowledge
base for the mod_perl 2.0 documentation. I'm getting to the point at
work that I can start throwing some time to it. Here are
On Sat, 15 Sep 2001, Geoffrey Young wrote:
my $fileno = $r-connection-fileno;
$s = IO::Select-new($fileno);
die aborted if grep { m/$fileno/ } $s-can_read(1);
Hmm, does this actually work Geoff? What happens if mod_perl is running
as a back-end? In this case $r-connection-aborted
On Sat, 15 Sep 2001, U n d e r a c h i e v e r wrote:
Hi
I'm making a fresh build of Apache on Solaris 8 with mod_perl and
mod_ssl.
When I load apache i get
Apache.pm failed to load!
in the error log and the application bombs out.
mod_perl guide is your friend:
--- Stas Bekman [EMAIL PROTECTED] wrote:
mod_perl guide is your friend:
http://perl.apache.org/guide/install.html#mod_perl_and_mod_ssl_openssl
thanks for the tip, but that doesn't work for me. following the
instructions on the page, i find i get the following errors after the
'make' in
U n d e r a c h i e v e r wrote:
--- Stas Bekman [EMAIL PROTECTED] wrote:
mod_perl guide is your friend:
http://perl.apache.org/guide/install.html#mod_perl_and_mod_ssl_openssl
thanks for the tip, but that doesn't work for me. following the
instructions on the page, i find i get the
On Sun, 16 Sep 2001, Jim wrote:
I'll try to spit out some more thoughts as they come. Please feel
free to contribute. Now's the time to get the wish list put together.
Some ideas (from the user's perspective):
It would be nice if, the user interface provided a configuration and
version form
Hi everyone,
I'd like to know if there is a simple way to find if an apache server
is compiled with mod_perl and with which version. My aim is to write a
script which compile mod_perl if it is not installed.
For the moment I've found only two ways, launch the actual server and
telnet it
-Original Message-
From: Alexandr Efimov [mailto:[EMAIL PROTECTED]]
Our questions are:
1. Are there any mod-perl packages created for similar tasks?
2. Can constructions similar to
FOREACH c=rows
...
/FOREACH
(which is now translated into [% FOREACH ... %] template blocks)
-Original Message-
From: Alexandr Efimov [mailto:[EMAIL PROTECTED]]
Yes. AxKit's XSP module does this. Your SQL can be generated with the
AxKit::XSP::ESQL module, and then you can loop over the results
in your XSLT stylesheet using either xsl:foreach or (better still)
using a
Hi,
Im very near to the solution of my problem, but there's still a
thing
that's not working properly.
Before running my perl script (f1.pl) i see five httpd@hostname sessions
in Oracle V$session but at the moment in which i run f1.pl there appear a
seventh session alone such f1.pl@hostname.
apache_1.3.20 mod_perl-1.26 mod_ssl-2.8.4-1.3.20
I can't build Apache with these together if the mod_ssl build works,
mod_perl is not built in. If I build mod_perl in the approved manner,
the mod_ssl build files.
I have followed the recipe in INSTALL.SSL - and it doesn't help. Has
anyone got
it seems that apache/mod_perl have a problem with sockets on win32. after the socket
has been opened successfully (I double check to
see if the socket handler is defined with fileno($socket)) the print to the socket
is failing due to an invalid argument error
. it seems that this bug exists for
On Mon, Sep 17, 2001 at 08:02:02PM +0800, Stas Bekman wrote:
U n d e r a c h i e v e r wrote:
--- Stas Bekman [EMAIL PROTECTED] wrote:
mod_perl guide is your friend:
http://perl.apache.org/guide/install.html#mod_perl_and_mod_ssl_openssl
thanks for the tip, but that doesn't
After checking Apache code for mod_proxy looks like it is normal
behaviour.
File modules/proxy/proxy_util.c function ap_proxy_send_fb. This function
reads from originating server into buffer and then writes to the customer
from
this buffer. BUT the socket is closed AFTER all the data is sent
a search for libssl reveals:
find / -name libssl.so.0
/usr/local/ssl/lib/libssl.so.0
what do you see when you do:
ls -l /usr/local/ssl/lib/libssl.so.0
-rw-r--r-- 1 bin bin 844468 Oct 29 2000
/usr/local/ssl/lib/libssl.so.0
so mine's not a symlink nor an
Maybe you could build mod_perl as a DSO with APXS. That way you could build
it after the apache/mod_ssl is built and working.
--Joe Breeden
--
Sent from my Outlook 2000 Wired Deskheld (www.microsoft.com)
-Original Message-
From: U n d e r a c h i e v e r
Peter Lister wrote:
apache_1.3.20 mod_perl-1.26 mod_ssl-2.8.4-1.3.20
I can't build Apache with these together if the mod_ssl build works,
mod_perl is not built in. If I build mod_perl in the approved manner,
the mod_ssl build files.
I have followed the recipe in INSTALL.SSL - and it
U n d e r a c h i e v e r wrote:
a search for libssl reveals:
find / -name libssl.so.0
/usr/local/ssl/lib/libssl.so.0
what do you see when you do:
ls -l /usr/local/ssl/lib/libssl.so.0
-rw-r--r-- 1 bin bin 844468 Oct 29 2000
/usr/local/ssl/lib/libssl.so.0
so mine's not
Peter Lister wrote:
apache_1.3.20 mod_perl-1.26 mod_ssl-2.8.4-1.3.20
I can't build Apache with these together if the mod_ssl build works,
mod_perl is not built in. If I build mod_perl in the approved manner,
the mod_ssl build files.
I have followed the recipe in INSTALL.SSL - and it
I'd like to have a controller module, where any url
that has a .phtml page will call the handler in the
controller module. Within the controller module I use
logic to determine which module (if any) should
process the request using push_handlers.
The issue is that I'm using virtual urls, so
You want to parse through the info returned from...
httpd -l
For example, here's my httpd -l...
trex% httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
Ooops, that should be:
Apache::Controller (simplified for clarity)
---
package Apache::Controller;
use strict;
use Apache::Constants qw( :common );
sub handler {
my $r = shift;
my $cv;
if( $r-uri =~ m{\.phtml$} ) {
$cv =
I'd like to have a controller module, where any url
that has a .phtml page will call the handler in the
controller module. Within the controller module I use
logic to determine which module (if any) should
process the request using push_handlers.
The issue is that I'm using virtual urls,
--- Perrin Harkins [EMAIL PROTECTED] wrote:
It's easier to use a directory structure, i.e.
everything under /perl/ is
handled by your controller module. You should also
look at
Apache::Dispatch.
Thanks. Unfortunately I'm trying to please the
designers and forcing them to put everything
--- Stas Bekman [EMAIL PROTECTED] wrote:
U n d e r a c h i e v e r wrote:
what do you see when you do:
ls -l /usr/local/ssl/lib/libssl.so.0
-rw-r--r-- 1 bin bin 844468 Oct 29 2000
/usr/local/ssl/lib/libssl.so.0
so mine's not a symlink nor an executable...
that's
Mat == Mat [EMAIL PROTECTED] writes:
Mat Hi everyone, I'd like to know if there is a simple way to find
Mat if an apache server is compiled with mod_perl and with which
Mat version.
This does it for me:
$ strings /some/httpd | grep 'mod_perl\/'
The 'strings' command works
Adam's technique below doesn't work for me, but this does (assuming you
have LWP installed):
sh HEAD -de http://server_you're_interested_in|grep Server:
-Mark
At 05:20 PM 9/17/2001 +0100, Adam Worrall wrote:
Mat == Mat [EMAIL PROTECTED] writes:
Mat Hi everyone, I'd like to know if
You could also do something like:
grep 'Apache' /path/to/error_log
--Joe Breeden
--
Sent from my Outlook 2000 Wired Deskheld (www.microsoft.com)
-Original Message-
From: Mark Schmick [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 2:05 PM
To:
dss [EMAIL PROTECTED] said something to this effect on 09/17/2001:
The issue is that I'm using virtual urls, so these .phtml
files don't actually exist and FilesMatchwants a physical file
on the server. I'm curious if my approach is the best way.
Shouldn't LocationMatch be what you want?
Avi Ben-Harush wrote:
it seems that apache/mod_perl have a problem with sockets on win32. after the socket
has been opened successfully (I double check to
see if the socket handler is defined with fileno($socket)) the print to the socket
is failing due to an invalid argument error
. it
trying to use BerkeleyDB with Apache/1.3.21-dev, but I keep getting
BerkeleyDB needs compatible versions of libdb db.h ... you have db.h
version 3.1.17 and libdb version 2.4.14
I have compiled BerkeleyDB to use db3, but apache is compiled to use db2,
could it be the reason?
It works just fine
On Mon, 17 Sep 2001, Gustav Kristoffer Ek wrote:
trying to use BerkeleyDB with Apache/1.3.21-dev, but I keep getting
BerkeleyDB needs compatible versions of libdb db.h ... you have db.h
version 3.1.17 and libdb version 2.4.14
try,
export LD_PRELOAD=/usr/local/lib/libdb3.so
before you
We are getting the follwoing error when we try to run apache.We've tried
modifying the maxRequestPerChild parameter to 10 from 0, but that didn't
help.We can see only the root process running immediately after starting
the apache server.But if left like that for 2 days we could see the child
PLEASE HELP.
I am trying to get Apache::Hello to work. I saved it as Hello.pm in
lib/perl/Apache. Below are my setup files and pertinent info. When I access
the virtual location (hello/world) from Apache's root directory, my browser
returns the following message: The document contains no
On Mon, 17 Sep 2001 13:15:44 -0700
Ray and Lara Recendez [EMAIL PROTECTED] wrote:
# vi Hello.pm
Hello.pm 26 lines, 392 characters
package Apache::Hello;
# File: Apache/Hello.pm
use strict;
use Apache::Constants qw(:common);
sub handler {
my $r = shift;
- Original Message -
From: Blair Zajac [EMAIL PROTECTED]
To: Geoffrey Young [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 1:52 AM
Subject: Re: Pre-announce Apache::ConfigParser
Apache::Admin::Config
Pros
Cons
Lack of documentation
Test suite with 2
Ray and Lara Recendez wrote:
I am trying to get Apache::Hello to work.
...
#!/usr/local/bin/perl
Turn PerlWarn On as described here:
http://perl.apache.org/src/mod_perl.html#SWITCHES
Also try running Apache in single-user mode:
/usr/local/apache/bin/apachectl -X
This helps you pick up
Geoffrey Young wrote:
my $fileno = $r-connection-fileno;
$s = IO::Select-new($fileno);
die aborted if grep { m/$fileno/ } $s-can_read(1);
HTH
Thanks for this. The code that I ended up using for Apache::ASP was:
# IsClientConnected ? Might already be disconnected for busy
find / -name libssl.so.0
/usr/local/ssl/lib/libssl.so.0
That seems like a nonstandard library path. Is it there in
/etc/ld.so.conf and even if it is did you run ldconfig after adding it
there ??
Mithun
AAV == Andrei A Voropaev [EMAIL PROTECTED] writes:
AAV In our system we have to pass large PDF files thru mod_perl to
AAV proxy and we noticed that it takes the same time as sending it
AAV directly to customer.
Why do you have to pass the PDF thru mod_perl? Are you generating it
on the fly?
Thanks Vivek,
Andrei, use the front end to directly handle any binaries, static files,
etc.
I doubt they are generating of these on the fly.
Vivek Khera wrote:
AAV == Andrei A Voropaev [EMAIL PROTECTED] writes:
AAV In our system we have to pass large PDF files thru mod_perl to
AAV
Thanks, I'll remember that one... aTHX ;-)
On Sat, Sep 15, 2001 at 06:21:48PM -, [EMAIL PROTECTED] wrote:
dougm 01/09/15 11:21:48
Modified:xs/APR/Table APR__Table.h
Log:
avoid dTHX; in APR::Table-do
Revision ChangesPath
1.2 +7 -3
stas01/09/17 06:28:51
Removed: pod modperl_style.pod
Log:
migrated to modperl-docs/src/devel/modperl_style/modperl_style.pod
stas01/09/17 09:30:20
Modified:todo possible_new_features.txt
Log:
log a nice-to-have Perl package_foo feature
Revision ChangesPath
1.9 +6 -0 modperl-2.0/todo/possible_new_features.txt
Index: possible_new_features.txt
stas01/09/17 06:53:07
Modified:pod modperl_dev.pod
Log:
PerlSwitches inherit from base only with +inherit.
Revision ChangesPath
1.37 +6 -0 modperl-2.0/pod/modperl_dev.pod
Index: modperl_dev.pod
dougm 01/09/17 16:36:36
Modified:lib/ModPerl Code.pm
src/modules/perl mod_perl.c modperl_callback.c
modperl_config.c
Log:
s/Enabled/Enable/g for the PerlOption
Revision ChangesPath
1.67 +2 -2
stas01/09/17 18:36:26
Modified:pod modperl_dev.pod
Log:
s/Enabled/Enable/ following the code patch
Revision ChangesPath
1.38 +1 -1 modperl-2.0/pod/modperl_dev.pod
Index: modperl_dev.pod
stas01/09/17 18:59:35
modperl-2.0/t/response/TestDirective - New directory
stas01/09/17 19:00:19
Added: t/directive perlrequire.t
t/response/TestDirective perlrequire.pm
Log:
- add a PerlRequire test
Revision ChangesPath
1.1 modperl-2.0/t/directive/perlrequire.t
Index: perlrequire.t
51 matches
Mail list logo