Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

98 results from messages in modperl

Advanced Search
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Geoffrey Young wrote: > > Dominique Quatravaux wrote: > >> $r->subprocess_env() (undocumented but present in mod_perl 1.3 >> >> $r->internal_redirect() (again undocumented but present in >> mod_perl 1.3 > > > unless you mean strictly in terms of what you're doing with php, > this is certainly FUD Sorry, my mistake. - -- Dominique...
    Dominique Quatravaux Aug 9, 2005
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Klausner wrote: > Hi! > > Is it possible and advisable to write the complex part of an > application (the Controller, if you like) in mod_perl2 and use PHP > as a frontend (or View) ? It definitely is, we did just that in my shop: there is some code at http://idx-pki.idealx.org/download/index.en.html (have a look at idxpki-v1.9.0...
    Dominique Quatravaux Aug 8, 2005
  • Hi! Is it possible and advisable to write the complex part of an application (the Controller, if you like) in mod_perl2 and use PHP as a frontend (or View) ? While I personally prefere Template::Toolkit as a presentation language, the project I'm currently getting involved in has quite a lot of PHP-people and not that many (read: me) Perl people. So what I thought is: use Perl to...
    Thomas Klausner Aug 6, 2005
  • Fetching Sponsored Content...
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Philip M. Gollucci wrote: > Okay, I at least understand what you are saying now. > > $ENV{MOD_PERL} > > will be in your environment even if you happen to be running a > REGULAR CGI from /cgi-bin on mod_cgi. Part of the problem indeed. There are other practical problems (e.g. PerlSetupEnv Off used to disable $ENV{MOD_PERL} under mod_perl...
    Dominique Quatravaux Aug 1, 2005
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Philip M. Gollucci wrote: > Okay So I read this thread. Thanks! >> $ perl -Mmod_perl2 -e 'print $mod_perl2::VERSION' 2.000001 > > Why is that not trustworth ? Because we are obviously not *running* under mod_perl, but rather, from a command-line Perl interpreter. The $mod_perl2::VERSION method might be considered trustworthy enough for...
    Dominique Quatravaux Aug 1, 2005
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Geoffrey Young wrote: > if $ENV{MOD_PERL} is true you're running under mod_perl. Sorry to be rude about this, but no. This *needs* fixing. http://marc.theaimsgroup.com/?l=apache-modperl&m=112005579327997&w=2 - -- Dominique QUATRAVAUX IngĂ©nieur senior 01 44 42 00 08 IDEALX -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux...
    Dominique Quatravaux Aug 1, 2005
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Frank Wiles wrote: >> >> $ perl -Mmod_perl2 -e 'print $mod_perl2::VERSION' 2.000001 > > > Why isn't that a reliable method? It's an OK method for a useless item of knowledge (namely the version of mod_perl2.pm currently loaded), but not for finding out the mod_perl version we are running under (in the CLI example we are obviously not...
    Dominique Quatravaux Jul 4, 2005
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear members of the mod_perl list, I did not find an elegant, robust way of checking for the mod_perl version number. I propose an unelegant, robust way below for those interested. $ENV{MOD_PERL} is obviously not OK because the UNIX environment has the wrong semantics: it can be altered in too many places for starters, and not just from...
    Dominique Quatravaux Jun 29, 2005
  • -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 allan juul wrote: | | so, is a mod_perl-enabled Apache acting as a proxy just a sick | idea. it will proxy content and the filter will have to scan all | response content A reverse-proxy in mod_perl is something I do for a living. When scaling up it quickly needs loads of RAM (2 Gb are cheap these days) but it is incredibly efficient...
    Dominique Quatravaux Apr 21, 2005
  • Hi! On Fri, Apr 08, 2005 at 09:25:30AM -0400, Geoffrey Young wrote: > > Is it possible to somehow get to the URI as it looks like after beeing > > transformed by mod_rewrite? > > don't you just want $r->uri? Yes. Thanks. > I don't think anyone is supposed to (or traditionally does) mess with > $r->parsed_uri. it's usually $r->uri and $r->filename. Well, in the mod_perl Cookbook you...
    Thomas Klausner Apr 8, 2005