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

[EMAIL PROTECTED] mod_perl and vhost configs

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

[EMAIL PROTECTED] mod_perl compilation ?!?!?!

2008-06-11 Thread Pawel Eljasz
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,

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

[EMAIL PROTECTED] mod_perl

2008-02-20 Thread Kaushal Shriyan
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

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

[EMAIL PROTECTED] mod_perl, PerlAuthenHandler and REMOTE_USER

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

RE: [EMAIL PROTECTED] Mod_perl and includes

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

[EMAIL PROTECTED] Mod_perl and includes

2007-10-16 Thread Tony Rice (trice)
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

[EMAIL PROTECTED] mod_perl install

2007-07-23 Thread ROTH, MARK, ATTSI
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

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

[EMAIL PROTECTED] mod_perl issue

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

[EMAIL PROTECTED] Mod_perl 2.0.2 fails with apache 2.2.3

2006-09-08 Thread Tal Cohen
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

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

[EMAIL PROTECTED] mod_perl problem

2006-04-14 Thread o omida parasita
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

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 mo

[EMAIL PROTECTED] mod_perl

2006-03-16 Thread miguel
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

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

[EMAIL PROTECTED] mod_perl not sending Content-Length header

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

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

[EMAIL PROTECTED] mod_perl issues

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

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

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

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

[EMAIL PROTECTED] mod_perl & mod_cache

2005-11-28 Thread Luc Levesque
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