Fred,
Yes, mod_perl and mod_proxy are on the same httpd.
Perrin,
For clarification, I'm using sections to create the config from info
stored in various databases but mod_rewrite and mod_proxy are doing the real
work. There are no Perl Handlers.
I think I will try writing out the config and see
On Thursday 27 May 2010 21:36:01 Joshua Johnson wrote:
> Related: and would it be possible to add config on-the-fly?
> $r->add_config() Won't let you add VirtualHosts because it operates as
> though in a directive.
>
I do most of the request config with $r->add_config(). The httpd.conf contains
I second what Fred said. Also, you might consider just generating a
config file for apache with perl and not running mod_perl in the
server. I try to avoid using mod_perl for things that mod_rewrite and
mod_proxy can handle.
- Perrin
On Thu, May 27, 2010 at 3:39 PM, Fred Moyer wrote:
> It soun
It sounds like you are using mod_perl and mod_proxy on the same main
httpd, is that right?
If so, consider running another front end proxy such as apache with
the event_mpm, perlbal, ha_proxy, or nginx. Without having more
details (Devel::NYT::Prof may provide some), my guess is that you are
bloc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, Nov 13, 2006 at 11:04:13PM +0100, Hans de Groot wrote:
> Hi,
>
> I have been looking at the perl sections part.
[...]
> But would a reload of the httpd.conf kill the open sessions of visitors
> of the website? I always asumed it would but ma
Hi,
I have been looking at the perl sections part.
But as far as I can tell it's just a replacement for http.conf. I think
it still means I need top restart/reload the httpd.conf
The whole reason I want to do it on the fly is to prevent this. But
please tell me I am wrong in this ?
I tried to p
On Fri, 10 Nov 2006 18:34:18 -0500
Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
>
> 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, vh
On Fri, 10 Nov 2006 21:01:11 +0100
Hans de Groot <[EMAIL PROTECTED]> wrote:
> So my questions are:
> Is it at all posible to do this with mod perl?
> What phase should I use to change these directives?
> Can anyone give me some example how to do this?
Yes it's possible to do with mod_perl, and
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 sit