>It looks like "$include" is getting the value "Include" without aninclude file
>name.
>The reason is very simple. You forgot to declare
>$include as local.
You're not kidding! It is very temperamental.
I resolved the issues, and this portion appears to be working well. I'll attach
the resu
On Wed, Aug 20, 2008 at 14:42, Peter Milanese <[EMAIL PROTECTED]> wrote:
> $parms->add_config() has failed: Include takes one argument, Name of the
> config
> file to be included at
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache2/PerlSections.pm
> line 215.\n
It looks like "
Thanks Krist-
>So write your perl sections as if you had "use strict;", and declare
>all your variables local using "my", unless you want to directly pass
>something to apache.
>So use:
>my $s = Apache2::ServerUtil->server;
>You need to do this each time you introduce a local variable, eg:
>my
On Tue, Aug 19, 2008 at 17:58, Peter Milanese <[EMAIL PROTECTED]> wrote:
> Not so sure where this break is, or even if my config is done correctly. It
> seems to be pretty basic perl, of which I'm pretty veteran. Does anyone know
> what's going on ? Here's the code:
One thing I found out when imp
On Tue 19 Aug 2008, Peter Milanese wrote:
>
> use Sys::Hostname;
> use File::Basename;
> use Apache2::ServerUtil;
> $s = Apache2::ServerUtil->server;
Try to add
use Apache2::ServerRec ();
somewhere before this last line.
Torsten
--
Need professional mod_perl support?
Just hi
those packages set it up as a loadable module, you need to adjust
configuration to actually load the module.
On Feb 20, 2008, at 10:06 AM, Kaushal Shriyan wrote:
hi
I am running apache2 and have installed libapache2-mod-perl2 on
Ubuntu 7.04
$dpkg -l | grep apache2
ii apache2
Craig,
Craig Dunigan wrote:
On Wed, 13 Feb 2008, Neil A. Hillard wrote:
Hi,
I've been having a dabble, using a perl module to handle some of
our authentication requirements. I have the perl auth handler working
successfully but the username is not logged in access_log.
I have the fol
On Wed, 13 Feb 2008, Neil A. Hillard wrote:
Hi,
I've been having a dabble, using a perl module to handle some of our
authentication requirements. I have the perl auth handler working
successfully but the username is not logged in access_log.
I have the following code in my perl module:
m
use 'PerlRequire' to import a file in apache's startup time.
in this file you import the lib's path.ie,in httpd.conf:
PerlRequire /opt/apache1.3/mylib/startup.pl
and in startup.pl:
use lib qw(/the/lib/path);
> Date: Tue, 16 Oct 2007 19:21:19 -0400
> From: [EMAIL PROTECTED]
> To: users@httpd.
On Jan 21, 2007, at 11:39 PM, Matus UHLAR - fantomas wrote:
On 21.01.07 14:35, Israel Brewster wrote:
I have a perl script running in apache 1.3 which generates a .png
image. If i run it normally (using system perl), it works. When I try
running it under mod_perl however (increased performanc
On 21.01.07 14:35, Israel Brewster wrote:
> I have a perl script running in apache 1.3 which generates a .png
> image. If i run it normally (using system perl), it works. When I try
> running it under mod_perl however (increased performance, works under
> chrooting), the first line of the png
You can always do it the old fashioned way
and compile the new module J
Giz
-Original Message-
From: o omida parasita
[mailto:[EMAIL PROTECTED]
Sent: 14 April 2006 15:16
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] mod_perl
problem
Hello,
I have FC2 with Ap
> -Original Message-
> From: miguel [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 16. März 2006 21:29
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] mod_perl
>
> Hello everybody, I have a problem loading up perl_mod, I have
> installed it in a DSO mode, the problem shows up wh
users@httpd.apache.org
To:
Subject: Re: [EMAIL PROTECTED] mod_perl not sending Content-Length header
Date: Tue, 24 Jan 2006 11:45:05 +0200
Hi,
Use the following method:
$r->set_content_length(length($content));
Upgrading mod_perl is also a good idea.
Teddy
- Original Message -
Fr
Hi,
Use the following method:
$r->set_content_length(length($content));
Upgrading mod_perl is also a good idea.
Teddy
- Original Message -
From: "Khai Doan" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, January 24, 2006 6:11 AM
Subject: [EMAIL PROTECTED] mod_perl not sending Content-Length
For more info from the httpd.conf,PerlRequire "/opt/hiweb/server/perl-startup/startup.pl"Alias /hi-bin/ "/opt/hiweb/server/htdocs/modperl/higui/"#PerlModule ModPerl::PerlRun# PerlModule Apache2::Reload
# PerlInitHandler Apache2::Reload Options Indexes AllowOverride None Order allow,deny
hi,you are right. it uses ModPerl::Registry.so how do i use ModPerl::PerlRun. Because i just used ModPerl::PerlRun and the problem still persists.In the httpd.conf i used, PerlResponseHandler ModPerl::RegistryPrefork
please help me on this.thankssenthilOn 12/6/05, Octavian Rasnita <[EMAIL PROT
From: "Senthil Nathan" <[EMAIL PROTECTED]>
Hi all,
these problems are related to Apache 2 and mod_perl 2
problem 1:
Im using mod_perl 2 on Apache 2. I am using HTML::Template to display the
data from the perl/cgi script.
For the first time loading the data is displayed properly. then for every
Hi,
From: "Senthil Nathan" <[EMAIL PROTECTED]>
hi all,
(anyway if possible to change some setting in apache httpd.conf, im posting
this in this group)
im facing a problem with mod_perl2 on apache 2 as,
in the multiuser environment, everyone login to the page and their
respective profile gets d
19 matches
Mail list logo