>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
Greetings -
I'm having a great time with this. We're implementing our new
infrastructure, which is backended with a san via clustered nfs. Thus, I
figured why not do some dynamic configuration, right? Do, I have this code,
which is just the vhost include. It's below. When I start the httpd
regards everybody
got my perl-5.10.0 compiled with prefix /test as well as apache
now, I'd think, simple mod_perl compilation, right?
/test/bin/perl Makefile.pl MP_APXS=/test/sbin/apxs
well, huh, works fine, no errors
module lands into apache's module folders, gets dynamically loaded into
apache,
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
hi
I am running apache2 and have installed libapache2-mod-perl2 on Ubuntu 7.04
$dpkg -l | grep apache2
ii apache22.2.3-3.2ubuntu2.1
Next generation, scalable, extendable web server
$ dpkg -l | grep libapache2
ii libapache2-mod-perl2
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
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:
my $username = "test_user";
$r->user($username)
AIL PROTECTED]
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Mod_perl and includes
>
> I'm trying to bring up a server with mod_perl configuration original
> created for an Apache 2.0 server but on an Apache 1.3 server. The
> problem is that "PerlSwitches"
I'm trying to bring up a server with mod_perl configuration original
created for an Apache 2.0 server but on an Apache 1.3 server. The
problem is that "PerlSwitches" isn't available on the mod_perl running
on the 1.3 server. How can I get this library path included on a 1.3
server?
PerlSwitche
Well, I built mod_perl, and did the make install... but for some reason,
the /usr/local/apache2/lib/perl directory, with all that belongs there,
wasn't created and filled. Any clues, anyone?
Solaris 8, apache 2.2.4 installed from Sun freeware, mod_perl seems to
have built correctly, and the files
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
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 file data (the image headers)
gets cut off, mak
Has anyone tried
installing mod_perl 2.0.2 onto apache 2.2.3? I keep getting:
Failed
Test
Stat Wstat Total Fail Failed List of
Failed---t/apache/content_length_header.t
27 1
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
Hello,
I have FC2 with Apache 2.0.51-2.9 from rpm installed with mod_perl-1.99_12-2.1
My problem is that once per day when I do ps -aux I see the following:
apache 2670 0.0 3.9 54556 41120 ? S 06:14 0:00 /usr/sbin/-e
after restrating Apache everything gets back to normal, and the sa
> -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 mo
Hello everybody, I have a problem loading up perl_mod, I have installed it in a DSO mode, the problem shows up when i wanna use it(mod_perl).The message is as follows:
httpd: Syntax error on line 55 of /home/mig/server/conf/httpd.conf
Cannot load /home/mig/server/modules/mod_perl.so into server /ho
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
Hello everyone,
I have Fedora Core 2 which has Apache/2.0.51 and mod_perl-1.99_12-2.1 . I am using mod_perl to generate dynamic content, and I always know the length of the content I will be sending to the browser. So I have Keep-Alive On. In my code, I call:
$r->headers_out->add("Content-Le
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 all,these problems are related to Apache 2 and mod_perl 2problem 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
reload the data displayed on the template gets rep
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
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 displayed. after every click, other user's data also get
Hello,
I've got mod_cache finally working for disk caching of dynamic content.
Unfortunately, it only works when the target perl script is not being run
under mod_perl. When I try to use mod_cache on a perl script with mod_perl,
it returns an empty HTML page.
ie:
When I remove the scrip
33 matches
Mail list logo