Re: apache2::reload causing 500 errors on return statement

2006-10-20 Thread Philippe M. Chiasson
Michael Greenish wrote: > I also had to make the follow addition to my config file: > > PerlInitHandler Apache2::Reload > PerlSetVar ReloadAll Off With PerlSetVar ReloadAll Off, Apache2::Reload will _not_ reload anything by default. You have to tell it specifically what to try an

Re: Subroutine xxx redefined

2006-10-20 Thread Perrin Harkins
On Fri, 2006-10-20 at 19:00 +0200, Bart van Kuik wrote: > I'm using Apache::PerlRun to run my Perl scripts. I'm getting the > following error: > > Subroutine xxx redefined at /path/to/sirq.pl line 100. > Subroutine xxy redefined at /path/to/sirq.pl line 200. > Subroutine xxz redefined at /path/to

Re: Subroutine xxx redefined

2006-10-20 Thread Adriano Ferreira
On 10/20/06, Bart van Kuik <[EMAIL PROTECTED]> wrote: Hi list, I'm using Apache::PerlRun to run my Perl scripts. I'm getting the following error: Subroutine xxx redefined at /path/to/sirq.pl line 100. Subroutine xxy redefined at /path/to/sirq.pl line 200. Subroutine xxz redefined at /path/to/si

Re: [QUESTION] How to include content from another site (on the same server)?

2006-10-20 Thread Mark Maunder
Chris, I've done something like this with mod_proxy. You can map url's to external hosts and mod_proxy fetches the content and serves it back to the user from your machine. It's a module written in C so it'll be a lot faster than LWP. Regards, Mark. On 10/19/06, Chris Schults <[EMAIL PROTECTED

Subroutine xxx redefined

2006-10-20 Thread Bart van Kuik
Hi list, I'm using Apache::PerlRun to run my Perl scripts. I'm getting the following error: Subroutine xxx redefined at /path/to/sirq.pl line 100. Subroutine xxy redefined at /path/to/sirq.pl line 200. Subroutine xxz redefined at /path/to/sirq.pl line 300. I can't find in the guide what I'm d

"Can't find apr include/ directory"

2006-10-20 Thread Mark Maunder
Hi all, This was going to be a post asking for help but I just solved it. If you're building mod_perl2 statically and get: "Can't find apr include/ directory" and it's driving you nuts because you're untarring a clean mod_perl, a clean httpd, and you're making no reference to any existing direc

Re: "Can't find apr include/ directory"

2006-10-20 Thread Mark Maunder
Another tip: Once you've compiled mod_perl2 statically with a series of commands that look something like this: tar -zxf mod_perl-2.0-current.tar.gz; tar -zxvf httpd-2.2.3.tar.gz; cd mod_perl-2.0.2/; perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=../httpd-2.2.3/ MP_AP_CONFIGURE="--prefix=/usr/loc