modifying the query string & uri without a redirect ?

2005-12-23 Thread Jonathan Vanasco
Currently a page is accessed like this: /user/profile?id=X I'm trying to get url schemes like this to map to that page /users/X /users/X/profile I tried doing it in mod_rewrite. there i ran into 2 problems: a_ the new mapping is shown to the user b_ i can eithe

Re: Apache2::Status memory usage fails

2005-12-23 Thread Philip M. Gollucci
Stas Bekman wrote: > You also need to be aware that shared memory reporting on linux 2.6 > kernel is invalid. I don't know if it was fixed in the most recent > kernel releases. 2.6.14+ fixes this -- "Love is not the o

Re: mp2 Apache won't start under ssh

2005-12-23 Thread Stas Bekman
Helmut Zeilinger wrote: Hi all, Apache with mod_perl starts and stops normaly from a linux console. Commands: /usr/sbin/apache2 -k start /usr/sbin/apache2 -k stop But when i am logged in in the system by ssh from a remote host (as root) the second start/stop-cycle fails => the apache process

Re: Apache2::Status memory usage fails

2005-12-23 Thread Stas Bekman
Francesc Guasch wrote: Hi. I have a leak somewhere and I'm trying to find it using Apache2::Status. Individual usage of memory in the packages and functions doesn't grow, and I'm unable to use the "memory usage" of Apache2::Status, so I can see further. Francesc, try to bracket your handlers fo

Re: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T"

2005-12-23 Thread Stas Bekman
Stas Bekman wrote: Kent, Mr. John (Contractor) wrote: Hello Stas, No, my path does not contain . or .. anywhere. Here is what I get: [EMAIL PROTECTED] ~]$ perl -le 'print $ENV{PATH}' /users/webuser/perl/bin:/users/webuser/apache-ant/bin:users/webuser/netscape:/users/webuser/mysql/bin:/users/w

Re: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T"

2005-12-23 Thread Stas Bekman
Kent, Mr. John (Contractor) wrote: Hello Stas, No, my path does not contain . or .. anywhere. Here is what I get: [EMAIL PROTECTED] ~]$ perl -le 'print $ENV{PATH}' /users/webuser/perl/bin:/users/webuser/apache-ant/bin:users/webuser/netscape:/users/webuser/mysql/bin:/users/webuser/jdev/bin:/user

Re: mod_perl without persistent interpreter state?

2005-12-23 Thread Perrin Harkins
On Fri, 2005-12-23 at 02:49 -0500, [EMAIL PROTECTED] wrote: > Out of curiosity, in a case of PHP/FastCGI, despite the interpreter > staying loaded across multiple requests, does each request still get > a "blank slate" as in mod_php? No, they are persistent just like mod_perl. The biggest differ

Re: Apache2::Status memory usage fails

2005-12-23 Thread Philip M. Gollucci
Francesc Guasch wrote: > So I'm trying to use Apache2::Status "Memory Usage", but It > won't work with my MP2, look: install the latest of all of the following modules from CPAN. B::Graph B::TerseSize (particulary this one ... the mp2 api change needs the latest) B::LexInfo Devel::Symdum

Re: mod_perl without persistent interpreter state?

2005-12-23 Thread Perrin Harkins
On Thu, 2005-12-22 at 23:44 -0500, [EMAIL PROTECTED] wrote: > > Just set MaxRquestsPerChild to 1. However, most shared hosts actually > > run PHP as CGI. > > Erm.. Spawning a whole new Apache process for each request seems even > worse for performance than just launching Perl via CGI. (!) It's n

RE: Bug report: ModPerl 2.0.2 make test "Insecure directory under -T"

2005-12-23 Thread Kent, Mr. John \(Contractor\)
Hello Stas, No, my path does not contain . or .. anywhere. Here is what I get: [EMAIL PROTECTED] ~]$ perl -le 'print $ENV{PATH}' /users/webuser/perl/bin:/users/webuser/apache-ant/bin:users/webuser/netscape:/users/webuser/mysql/bin:/users/webuser/jdev/bin:/users/webuser/tomcat/bin:/users/webuser/j

Re: mailing list does NOT work

2005-12-23 Thread JupiterHost.Net
Gordon Stewart wrote: List TO WHO IT MAY CONCERN GET ME OFF THIS LIST Gordon Gordon, Please use a little common sense about discussion lists and look at your "list-unsubscribe" header: , instead of spamming all the members yelling about getting off the list.

Re: mailing list does NOT work

2005-12-23 Thread Sean Davis
On 12/23/05 6:48 AM, "Gordon Stewart" <[EMAIL PROTECTED]> wrote: > List > > TO WHO IT MAY CONCERN > > GET ME OFF THIS LIST > > Gordon You can see how to do this yourself here. Probably faster than waiting for another person to respond to your request? http://perl.apache.org/maillist/modperl.

Apache2::Status memory usage fails

2005-12-23 Thread Francesc Guasch
Hi. I have a leak somewhere and I'm trying to find it using Apache2::Status. Individual usage of memory in the packages and functions doesn't grow, and I'm unable to use the "memory usage" of Apache2::Status, so I can see further. Any hint about solving this issue with Apache2::Status or finding t

mailing list does NOT work

2005-12-23 Thread Gordon Stewart
List TO WHO IT MAY CONCERN GET ME OFF THIS LIST Gordon

Re: mod_perl/mod_proxy with Apache 2.2

2005-12-23 Thread Srebrenko Sehic
Try $r->proxyreq(2) and it will work. On 12/22/05, Arnaud Desmons <[EMAIL PROTECTED]> wrote: > Hi, > > Is this still supposed to work in TransHandler with Apache 2.2 ? > > sub handler { > my $r = shift; > > my $uri = $r->uri; > $r->filename("proxy:http://test:4949"