Re: handlers

2006-07-31 Thread John ORourke
Vladimir S. Tikhonjuk wrote: O.K. Thanks for answer :) I want to write rather big project. How I have to construct it: I mean, should I make a lot of handlers, like, /debitor, /debitor/documents, /debitor/documents/contracts Or, create *.pl scripts. Or may be there is another theory ?

Re: handlers

2006-07-31 Thread Vladimir S. Tikhonjuk
Scott Penrose пишет: > > On 01/08/2006, at 15:50, Vladimir S. Tikhonjuk wrote: > >> >> So, as I understant, If I want authenticate user before seeing every >> page, I have to put >> >> >> PerlAuthenHandler Promtelecom::Authentication >> AuthType Basic >> AuthName "Promtelecom Network" >> Require

Re: handlers

2006-07-31 Thread Scott Penrose
On 01/08/2006, at 15:50, Vladimir S. Tikhonjuk wrote: So, as I understant, If I want authenticate user before seeing every page, I have to put PerlAuthenHandler Promtelecom::Authentication AuthType Basic AuthName "Promtelecom Network" Require valid-user to be the first one. Then, If I wan

Re: how to use mod_perl sections with mod_jk?

2006-07-31 Thread Andreas J. Koenig
> On Mon, 31 Jul 2006 23:00:33 -0500, Robert Nicholson <[EMAIL PROTECTED]> > said: > So I'm trying to make a great deal of my httpd.conf dynamic based > primarily on hostname etc. > I have most of it working but I've found that at least in my case I > cannot use mod_jk directives

Re: handlers

2006-07-31 Thread Vladimir S. Tikhonjuk
Scott Penrose пишет: > > On 01/08/2006, at 15:30, Vladimir S. Tikhonjuk wrote: > >> Hi everyone! >> >> I have Authentication handler, which I set like: >> >> >> PerlAuthenHandler Promtelecom::Authentication >> AuthType Basic >> AuthName "Promtelecom Network" >> Require valid-user >> >> >> Alseo

Re: handlers

2006-07-31 Thread Scott Penrose
On 01/08/2006, at 15:30, Vladimir S. Tikhonjuk wrote: Hi everyone! I have Authentication handler, which I set like: PerlAuthenHandler Promtelecom::Authentication AuthType Basic AuthName "Promtelecom Network" Require valid-user Alseo I have 2 simple PerlHandler's

handlers

2006-07-31 Thread Vladimir S. Tikhonjuk
Hi everyone! I have Authentication handler, which I set like: PerlAuthenHandler Promtelecom::Authentication AuthType Basic AuthName "Promtelecom Network" Require valid-user Alseo I have 2 simple PerlHandler's: Debitor and DebitorDocuments, which set like: PerlM

Re: urgent help needed

2006-07-31 Thread Robert Nicholson
Google for mod_perl book and read it. I'm sure it has the correct steps to get perl and @INC setup correctly.http://modperlbook.org/html/ch03_09.htmlAfter you've loaded the perl module itself you want to change @INC to include where Apache2is. If you want I think you can put that logic in an stanz

urgent help needed

2006-07-31 Thread philge philip
Dear colleague   I am a bioinformatics programmer from India.I need a guidance for configuring mod_perl2.0 in my server.   I have Apache.2.0.5.2 and Perl 5.8.5 installed in Fedora 3 operating system. I downloaded mod_perl2.0 version and installed it with the following commands:   Perl MakeFf

how to use mod_perl sections with mod_jk?

2006-07-31 Thread Robert Nicholson
So I'm trying to make a great deal of my httpd.conf dynamic based primarily on hostname etc. I have most of it working but I've found that at least in my case I cannot use mod_jk directives in a perl section. Q. Should I be able to use mod_jk directives in a perl section? push @JkWorkerPr

Re: Location, filename, path_info

2006-07-31 Thread Scott Penrose
On 31/07/2006, at 23:15, Michael Peters wrote: Are you saying that /xyz does exist in your document root? I've found that Apache won't work if you mix a virtual directory, real directory and path_info. This is because PATH_INFO is what ever is left over after url => file name mapping. If t

Re: Fwd: Install and error Can't locate loadable object for module Apache::Constants

2006-07-31 Thread Randy Kobes
On Mon, 31 Jul 2006, Davood Firoozian wrote: I have mod_perl 2 and Apache::Soap but problem persist I think this is a bug http://www.usenetlinux.com/showthread.php?t=175047 My appache version is 2.0 I'm upgrading to 2.2 ... The problem reported at the above link results from trying to use m

Re: Fwd: Install and error Can't locate loadable object for module Apache::Constants

2006-07-31 Thread Frank Wiles
On Mon, 31 Jul 2006 18:45:26 + "Davood Firoozian" <[EMAIL PROTECTED]> wrote: > I have mod_perl 2 and Apache::Soap but problem persist I think this > is a bug > > http://www.usenetlinux.com/showthread.php?t=175047 > > My appache version is 2.0 I'm upgrading to 2.2 ... As mentioned previo

Re: Fwd: Install and error Can't locate loadable object for module Apache::Constants

2006-07-31 Thread Michael Peters
Davood Firoozian wrote: > I have mod_perl 2 and Apache::Soap but problem persist Do you have Apache::SOAP or Apache2::SOAP? Randy suggested Apache2::SOAP. -- Michael Peters Developer Plus Three, LP

Re: Fwd: Install and error Can't locate loadable object for module Apache::Constants

2006-07-31 Thread Davood Firoozian
I have mod_perl 2  and Apache::Soap but problem persist I think this is a bug http://www.usenetlinux.com/showthread.php?t=175047My appache version is 2.0 I'm upgrading to 2.2 ...On 7/31/06, Randy Kobes <[EMAIL PROTECTED]> wrote: On Mon, 31 Jul 2006, Davood Firoozian wrote:> Hia,> I'm installing mo

RE: Can't use mysql stored procedures under mod_perl (although they work directly from Perl)

2006-07-31 Thread Jonathan H Lundquist
Thanks for your reply; it is the only one so far. I will give 3.0006_1 a try, but I'm not hopeful, as I think we probably are dealing with a mod_perl bug. I am using 3.0006, but as I stated it has been patched for multiple result set (procedure) support, and it is calling procedures successfully

Transforming request to HTTP/1.1

2006-07-31 Thread Radoslaw Zielinski
Hello, I'm trying to transform a not-really-HTTP request (first line containing method differs) to HTTP using PerlTransHandler, like this: sub Trans::handler { my ($r) = @_; my $method = $r->method; if ($r->method eq 'FOO') { $r->server->method_register($method); $r->met

How to detect if a module is loaded from the master apache

2006-07-31 Thread Torsten Foertsch
Hi, I want to distinguish between the 2 cases if a module is loaded from the master apache or at runtime from a child apache. Ideads for both mp1.x and mp2.x are welcome. I tried to call ModPerl::Util::current_callback with mp2.0.2 just after compilation and a segfault. Thanks, Torsten pgpm

Re: Fwd: Install and error Can't locate loadable object for module Apache::Constants

2006-07-31 Thread Randy Kobes
On Mon, 31 Jul 2006, Davood Firoozian wrote: Hia, I'm installing mod_perl and when i want to use, this message is the answer, [Mon Jul 31 16:31:04 2006] [error] [client 21.21.21.24] failed to resolve handler `Apache::SOAP': Can't locate loadable object for module Apache::Constants in @INC (@INC

Fwd: Install and error Can't locate loadable object for module Apache::Constants

2006-07-31 Thread Davood Firoozian
Hia, I'm installing mod_perl and when i want to use, this message is the answer,[Mon Jul 31 16:31:04 2006] [error] [client 21.21.21.24] failed to resolve handler `Apache::SOAP': Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /usr/lib/perl5 /etc/perl /usr/local/li

Re: Location, filename, path_info

2006-07-31 Thread Michael Peters
Scott Penrose wrote: > Hey ho > > I have a simple configuration: > > PerlModule Test::FH > > SetHandler perl-script > PerlResponseHandler Test::FH > > > Now I go to the URL http://www.myhost.com/xyz/abc/qqq/123 > > Inside my code I want to get "/ggg/123" so I try > > pr

RE: Can't use mysql stored procedures under mod_perl (although they work directly from Perl)

2006-07-31 Thread Frank Maas
> -8<-- Start Bug Report 8<-- > 1. Problem Description: > > I'm trying to use stored procedures in a mysql database from within a perl > script. > A simple test script runs fine from a command-line perl interpreter, and > runs fine > when invoked via CGI. >

Location, filename, path_info

2006-07-31 Thread Scott Penrose
Hey ho I have a simple configuration: PerlModule Test::FH SetHandler perl-script PerlResponseHandler Test::FH Now I go to the URL http://www.myhost.com/xyz/abc/qqq/123 Inside my code I want to get "/ggg/123" so I try print "Request: " . $r->path_info . "\n"; This re