Re: [EMAIL PROTECTED] mod_perl and vhost configs

2008-08-20 Thread Peter Milanese
>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

Re: [EMAIL PROTECTED] mod_perl and vhost configs

2008-08-20 Thread Krist van Besien
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 "

Re: [EMAIL PROTECTED] mod_perl and vhost configs

2008-08-20 Thread Peter Milanese
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

Re: [EMAIL PROTECTED] mod_perl and vhost configs

2008-08-20 Thread Krist van Besien
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

Re: [EMAIL PROTECTED] mod_perl and vhost configs

2008-08-20 Thread Torsten Foertsch
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

Re: [EMAIL PROTECTED] mod_perl

2008-02-20 Thread Sean Allen
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

Re: [EMAIL PROTECTED] mod_perl, PerlAuthenHandler and REMOTE_USER

2008-02-13 Thread Neil A. Hillard
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

Re: [EMAIL PROTECTED] mod_perl, PerlAuthenHandler and REMOTE_USER

2008-02-13 Thread Craig Dunigan
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

RE: [EMAIL PROTECTED] Mod_perl and includes

2007-10-17 Thread joy d
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.

Re: [EMAIL PROTECTED] mod_perl issue

2007-01-22 Thread Israel Brewster
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

Re: [EMAIL PROTECTED] mod_perl issue

2007-01-22 Thread Matus UHLAR - fantomas
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

RE: [EMAIL PROTECTED] mod_perl problem

2006-04-14 Thread Garry Taylor
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

RE: [EMAIL PROTECTED] mod_perl

2006-03-17 Thread Boyle Owen
> -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

Re: [EMAIL PROTECTED] mod_perl not sending Content-Length header

2006-01-24 Thread Khai Doan
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

Re: [EMAIL PROTECTED] mod_perl not sending Content-Length header

2006-01-24 Thread Octavian Rasnita
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

Re: [EMAIL PROTECTED] mod_perl issues

2005-12-06 Thread Senthil Nathan
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 

Re: [EMAIL PROTECTED] mod_perl issues

2005-12-06 Thread Senthil Nathan
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

Re: [EMAIL PROTECTED] mod_perl issues

2005-12-06 Thread Octavian Rasnita
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

Re: [EMAIL PROTECTED] mod_perl and multi user environment - clashes with other users's data

2005-12-01 Thread Octavian Rasnita
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