mod_rewrite

2006-11-10 Thread Anthony Gardner
I don't know if this is the right place to ask but in the log created by mod_rewrite, it tells me that it's prefixing my local_path with document_root.what I want is the server_root!!This is in a virtual hostRewriteEngine on##RewriteBase SERVERROOT/p4cRewriteRule /cgi-bin/cpindex.pl

Re: [mp2] PAR in production?

2006-11-10 Thread Michael Peters
Foo JH wrote: I don't understand. What do you mean by 'perl is not relocatable'? I've put (Active)Perl in the same directory as the apache server in a copy-paste operation. But this is in Windows. One example is that @INC is determined at compile time. If you move your perl around, @INC

Mod_perl and (mass) virtual hosting or a mod_vhost alternative

2006-11-10 Thread Hans de Groot
Hi, I would like to make my own vhost modules in modperl. I tried some other modules but I cannot seem to get them to work or they do not support enough options. I want to put virtual host infomation in a mysql database so I can let my modules decide what virtual host we need. DocumentRoot

Re: Weak references, problem with apache2/mod_perl2

2006-11-10 Thread Perrin Harkins
On Fri, 2006-11-10 at 14:24 +0100, Michael Frankl wrote: I cleaned up the perl-installation. There where directories under /usr/lib/perl5 from previous perl installations. I deleted them all. I deleted the Scalar::Util that is not from main distribution. Now I got the same error running the

Re: Weak references, problem with apache2/mod_perl2

2006-11-10 Thread Michael Frankl
Hello Perrin, Am Freitag, den 10.11.2006, 15:29 -0500 schrieb Perrin Harkins: Sorry, I'm not sure what to suggest for your next step. Maybe contact the author of Scalar::Util. Or maybe recompile your system perl so it will support weak refs without installing a separate module. I already

Re: Weak references, problem with apache2/mod_perl2

2006-11-10 Thread Fred Moyer
On Fri, 10 Nov 2006, Perrin Harkins wrote: On Fri, 2006-11-10 at 14:24 +0100, Michael Frankl wrote: I cleaned up the perl-installation. There where directories under /usr/lib/perl5 from previous perl installations. I deleted them all. I deleted the Scalar::Util that is not from main

Can't locate Apache2/compat.pm

2006-11-10 Thread Hans de Groot
Hello, Okay maybe I should start with some thing more basic like figuring out what mod_perl I am really using?. I am using mod_perl 1.99_16 (it's the one that came with centos 4.3) It seems that this is mod_perl 2. I am reading the documentation at

Re: Can't locate Apache2/compat.pm

2006-11-10 Thread Jonathan Vanasco
On Nov 10, 2006, at 6:10 PM, Hans de Groot wrote: I am using mod_perl 1.99_16 (it's the one that came with centos 4.3) It seems that this is mod_perl 2. uninstall it immediately, and install 2.0x -- whatever is current. There was a giant a API change early on in the 2.0 cycle. The docs

Re: Mod_perl and (mass) virtual hosting or a mod_vhost alternative

2006-11-10 Thread Jonathan Vanasco
On Nov 10, 2006, at 3:01 PM, Hans de Groot wrote: Hi, I would like to make my own vhost modules in modperl. I would not do that at all. because of the way mp handles memory and namespaces, vhosting mod_perl is a nightmare waiting to happen. mp is really best used in dedicated server

Re: Mod_perl and HTTP IO issue

2006-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Nov 08, 2006 at 09:04:36PM -0500, Sumit Shah wrote: Thanks for pointing that out. Really silly of me. After correcting it, it seems that $result does not equate to 'INVALID' even though the server returned INVALID. I can see that if I