help:filter to change http header

2004-10-20 Thread Leire Cristobo
Hello, I have to change the mime-type of a file, when it's requested from a client through my reverse proxy. Because I think that it's the only way to open this file (JPG) with a program different from mozilla or firefox. I'm trying to change the field Content-Type of http header using apache 2.0

make test fails...

2004-10-20 Thread skien
-8<-- Start Bug Report 8<-- 1. Problem Description: make test fails at: [Wed Oct 20 03:26:00 2004] [emerg] (2)No such file or directory: Couldn't create accept lock END in modperl_extra.pl, pid=3451 With this error: waiting 120 seconds for server to start

The requested URL /perl/mod_perl_rules1.pl was not found on this server.

2004-10-20 Thread mahboobeh soleimani
Hi everybody. I installed apache-1.3.31 and mod_perl1.28 on redhat core1. and i made a mod_perl_rules1.pl and saved it in "/home/piwi" and chmod to 0700. i can view it by : perl /home/piwi/index.pl but i can not view it by: http://localhost/perl/mod_perl_rules1.pl and apache says: "The requested

modperl 2.0 404 custom error document

2004-10-20 Thread Henrik Steffen
hello all, what I want to do, is to send a custom error-document from a modperl-registry script to the user while 404 error status is issued. example: a script called /path/to/test.pl is accessed by a client using a parameter such as /path/to/test.pl?invalidparameter=1 In this case, I want to

Re: [mp2] a content filter was added without a request: includes

2004-10-20 Thread Torsten Förtsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 October 2004 02:17, Stas Bekman wrote: > Can you please show the relevant configuration parts? The attached archive contains 3 files TEST, conf/extra.conf.in and t1.t. Running "perl TEST" shows 5 succeeding tests for me. Test 1 and te

Re: modperl 2.0 404 custom error document

2004-10-20 Thread Geoffrey Young
> which delivers the default "Not found" page, > but is there any way to send a custom page instead > (without using ErrorDocument in httpd.conf). see $r->custom_response. --Geoff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html Lis

AW: modperl 2.0 404 custom error document

2004-10-20 Thread Henrik Steffen
Geoffrey Young wrote: >> which delivers the default "Not found" page, >> but is there any way to send a custom page instead >> (without using ErrorDocument in httpd.conf). > > see $r->custom_response. > > --Geoff great, this is exactly what I have been looking for. thanks a lot, kind regards

Re: The requested URL /perl/mod_perl_rules1.pl was not found on this server.

2004-10-20 Thread Randy Kobes
On Wed, 20 Oct 2004, mahboobeh soleimani wrote: > Hi everybody. > > I installed apache-1.3.31 and mod_perl1.28 on redhat > core1. > and i made a mod_perl_rules1.pl and saved it in > "/home/piwi" and chmod to 0700. > i can view it by : perl /home/piwi/index.pl Do you mean perl /home/piwi/mod_p

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-20 Thread Philippe M. Chiasson
Randy Kobes wrote: On Tue, 19 Oct 2004, Philippe M. Chiasson wrote: a release candidate for mod_perl 1.99_17 is now available for testing. On Win32 (ActivePerl 810, based on perl 5.8.4), with Apache/2.0.50, there's a couple of (minor) issues: - the last test of directive/setupenv.t fails: this t

Re: help:filter to change http header

2004-10-20 Thread Stas Bekman
Leire Cristobo wrote: Hello, I have to change the mime-type of a file, when it's requested from a client through my reverse proxy. Because I think that it's the only way to open this file (JPG) with a program different from mozilla or firefox. I'm trying to change the field Content-Type of http h

Re: make test fails...

2004-10-20 Thread Stas Bekman
skien wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: make test fails at: [Wed Oct 20 03:26:00 2004] [emerg] (2)No such file or directory: Couldn't create accept lock END in modperl_extra.pl, pid=3451 This sounds like an Apache problem: httpd-2.0/s

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-20 Thread Stas Bekman
Randy Kobes wrote: On Tue, 19 Oct 2004, Philippe M. Chiasson wrote: a release candidate for mod_perl 1.99_17 is now available for testing. On Win32 (ActivePerl 810, based on perl 5.8.4), with Apache/2.0.50, there's a couple of (minor) issues: - the last test of directive/setupenv.t fails: this te

Apache::Session::Postgres

2004-10-20 Thread
I have worked, whith this session object, in mod_perl my %session = (); tie %session, 'Apache::Session::Postgres', $id, { DataSource => 'dbi:Pg:dbname=sessions', UserName => 'canis', Password => '', Commit => 1 }; and i can restore al

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-20 Thread Randy Kobes
On Wed, 20 Oct 2004, Stas Bekman wrote: > Randy Kobes wrote: > > On Tue, 19 Oct 2004, Philippe M. Chiasson wrote: > > > >>a release candidate for mod_perl 1.99_17 is now available for testing. > > > > On Win32 (ActivePerl 810, based on perl 5.8.4), with > > Apache/2.0.50, there's a couple of (mino

Re: [mp2] a content filter was added without a request: includes

2004-10-20 Thread Stas Bekman
Torsten Förtsch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 October 2004 02:17, Stas Bekman wrote: Can you please show the relevant configuration parts? The attached archive contains 3 files TEST, conf/extra.conf.in and t1.t. Running "perl TEST" shows 5 succeeding tests f

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-20 Thread Stas Bekman
Randy Kobes wrote: On Wed, 20 Oct 2004, Stas Bekman wrote: Randy Kobes wrote: On Tue, 19 Oct 2004, Philippe M. Chiasson wrote: a release candidate for mod_perl 1.99_17 is now available for testing. On Win32 (ActivePerl 810, based on perl 5.8.4), with Apache/2.0.50, there's a couple of (minor) iss

Re: mod_include patch

2004-10-20 Thread Torsten Förtsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 20 October 2004 18:49, André Malo wrote: > > I want to use SSI with CGI scripts. Thus, I have configured the INCLUDES > > filter for my cgi-bin. But my CGI scripts generate not only text/html > > documents. Hence my problem, I want to say

PerlAddOutputFilterByType ?

2004-10-20 Thread Torsten Förtsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I need a mix between AddOutputFilterByType and PerlSetOutputFilter, i.e. an AddOutputFilterByType preserving filter ordering. Can that be achieved? Torsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBd1ebwicyCTir8T4R