Title: [QUESTION] Relating a request to a response
I'm currently working on a project to transform web content. It's basically a proxy server that has some Mod_Perl filters loaded to perform the transformations.
Below is a diagram that shows how the requests are being passed from client to w
I'm using a PerlResponseHandler to control access to selected
directories of a site, and I've encountered a similar problem to that
described in
http://marc.theaimsgroup.com/?l=apache-modperl&m=106141216914801&w=2
where returning a 'declined' status is skipping other handlers and
going straight
Hello,
Apache has been configured as a proxy server. Here are the directives
from my Apache config file:
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
PerlModule iProxy::ContentFilter
PerlModule iProxy::RequestFilter
ProxyRequests On
ProxyRemote * http://corporate_proxy_server:80
Matthew Westcott wrote:
I'm using a PerlResponseHandler to control access to selected
directories of a site, and I've encountered a similar problem to that
described in
http://marc.theaimsgroup.com/?l=apache-modperl&m=106141216914801&w=2
where returning a 'declined' status is skipping other han
Hi,
On Debian linux, fter apt-get upgrade which fetched 1.27-7 of
libapache-mod-perl, the Apache server does not start anymore (just gets
Segmentation fault). This happens only when the conf file tells it to
load perlmod:
LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
Here's the output f
Hi there,
On Thu, 2 Oct 2003, Przemyslaw Jaroszewski wrote:
> On Debian linux, fter apt-get upgrade which fetched 1.27-7 of
> libapache-mod-perl, the Apache server does not start anymore (just gets
> Segmentation fault).
I have no experience with Debian. Perl and mod_perl must be compiled
with
On Thu, 2 Oct 2003, Przemyslaw Jaroszewski wrote:
> On Debian linux, fter apt-get upgrade which fetched 1.27-7 of
> libapache-mod-perl, the Apache server does not start anymore (just
> gets Segmentation fault).
See http://bugs.debian.org/apache-perl
Basically apache-perl must be recompiled again
On 2 Oct 2003 at 9:15, Geoffrey Young wrote:
> if you want to dynamically decide who should serve the page - mod_perl if
> some directory is found, mod_php otherwise, then you can use your own
> PerlTypeHandler or PerlFixupHandler to set $r->handler for the request based
> on your own criteria.
My suggestion are:
1.print $requested_dir; to see what you got.
2 changing your code
return Apache::DECLINED unless exists $protected_dirs{$requested_dir};
to
return Apache::DECLINED if $protected_dirs{$requested_dir};
Hope it helpful.
Willy
Hello,
I have a CGI-based app that currently uses Apache::Registry and Apache::DBI to
access/manipulate data in a mysql DB. I am considering rewriting it to use Class::DBI
and would like to know what sort of mod_perl-related problems, if any, I am likely to
encounter - assuming that I code the
Hi,
You may rebuild libapache-mod-perl (seems to works for my config) with
the new perl-5.8.1 packages installed:
$ cd /tmp
$ apt-get source libapache-mod-perl
$ cd apache-1.3.27
$ fakeroot dpkg-buildpackage -uc -us
$ dpkg -i ../libapache-*.deb
Any clues?
Regards,
Przemek
Bye
--
[EMAIL PROTE
Pringle, Chris (HP-PSG) wrote:
I'm currently working on a project to transform web content. It's
basically a proxy server that has some Mod_Perl filters loaded to
perform the transformations.
Below is a diagram that shows how the requests are being passed from
client to web server.
CLIENT <->
Also, once you finish this project, it'd be really nice to put a simplified
version of your code as a tutorial into the filters documentation as a great
example of the filters power. If you can do that, that would be great. Thanks.
How do i unsubscribe from this list? is there a delay when the unsubscribe email is
sent? it seems to not have aknowledged my unsubscribe request yet...
---
WinBot IRC client developer: http://www.winbot.co.uk
ChatSpike - The use
Hello, i have a mod_perl module that uses cookies to comunicate between
server and client, but now i need to change to a URI model comunication.
I get a URI with some data coded inside it, i pass a handler in the
appropiate phase to parse that URI, to convert to the right URI and to get
that data
On Thu, 2003-10-02 at 12:25, Warren Pollans wrote:
> I am considering rewriting it to use Class::DBI and would like to know
> what sort of mod_perl-related problems, if any, I am likely to
> encounter
I'm not aware of any issues specific to mod_perl and Class::DBI. You
should be fine.
- Perrin
On Thu, 2003-10-02 at 18:20, gerard uolaquetalestem wrote:
> a magical way to comunicate between phases???
Sounds like you want pnotes(). Also, keep in mind that global variables
retain their values, so you can easilly put things in globals as long as
you don't mind them having a value on the n
-8<-- Start Bug Report 8<--
1. Problem Description:
I tried:
my $scheme = APR::URI->parse($r->pool, $r->uri)->scheme;
and it didn't seem to work. My server is on port 9000 but I got
nothing in $scheme.
At 4:53 PM -0700 10/1/03, Stas Bekman wrote:
Mat
I mean to say my server is running under http (not https) - (It is running
on port 9000, in case that makes a differece.)
and it didn't seem to work. My server is on port 9000 but I got
nothing in $scheme.
--
--
Matisse Enzer
Doodlelab Inc.
415-925-5294 ex
Before I file a bug report, am I doing this right:
use Apache::RequestUtil;
my $port = $r->get_server_port; # should be my port number
My problem is that get_server_port seems to return 870 regardless of
the actual port (set with Listen in httpd.conf)
--
-
Matisse Enzer wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
I tried:
my $scheme = APR::URI->parse($r->pool, $r->uri)->scheme;
and it didn't seem to work. My server is on port 9000 but I got nothing
in $scheme.
Ai, my bad, sorry about that.
Hi all
Do any one know where i can find the source of mod_bwlimited
or any recources for modules like it.
Thank you
[This E-mail scanned for viruses using McAfee.]
Matisse Enzer wrote:
Before I file a bug report, am I doing this right:
use Apache::RequestUtil;
my $port = $r->get_server_port; # should be my port number
My problem is that get_server_port seems to return 870 regardless of the
actual port (set with Listen in httpd.conf)
may be you a
Abd El-Hameed Mohammed wrote:
Hi all
Do any one know where i can find the source of mod_bwlimited
or any recources for modules like it.
Probably not on the mod_perl list ;)
Try http://modules.apache.org/ and http://google.com/
__
Stas Bekman wrote:
Matisse Enzer wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
I tried:
my $scheme = APR::URI->parse($r->pool, $r->uri)->scheme;
and it didn't seem to work. My server is on port 9000 but I got
nothing in $scheme.
Ai, my
Title: Re: Apache bandwidth
calculating
At 2:30 AM +0200 10/3/03, Abd El-Hameed Mohammed wrote:
Hi all
Do any one know where i can find the source
of mod_bwlimited
or any recources for modules like
it.
Thank you
One resource would be mod_bandwidth
http://www.cohprog.com/mod_bandw
The module I'm working on is used by Apache::XMLRPC::Lite to handle requests.
I have a test module (a PerlResponseHandler) in which all this works
fine (get_server_port, construct_server - thanks for that one!)
So, I am suspecting that Apache::XMLRPC::Lite is causing the problem.
At 5:51 PM
Thanks,
I'll use the
return 'https' if uc($self->https()) eq 'ON';
approach.
At 5:06 PM -0700 10/2/03, Stas Bekman wrote:
Matisse Enzer wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
I tried:
my $scheme = APR::URI->parse($r->pool, $r-
Stas Bekman wrote:
[CC'ing the modperl list]
Joey Hess wrote:
Brendan O'Dea wrote:
On Wed, Oct 01, 2003 at 03:30:40PM -0400, Joey Hess wrote:
Do you have any idea why perl 5.8.1 started seeding the RNG as soon as
perl starts? This is very annoying for mooix, all methods run by
mood get
the sam
[CC'ing the modperl list]
Joey Hess wrote:
Brendan O'Dea wrote:
On Wed, Oct 01, 2003 at 03:30:40PM -0400, Joey Hess wrote:
Do you have any idea why perl 5.8.1 started seeding the RNG as soon as
perl starts? This is very annoying for mooix, all methods run by mood get
the same random seed unless
On Wed, 1 Oct 2003, DH wrote:
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible. See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplica
Randy Kobes wrote:
On Wed, 1 Oct 2003, DH wrote:
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any
32 matches
Mail list logo