Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel

Re: [8117] Somehow I thought I had this working with mod_perl2 yesterday,

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


lannings at who

Apr 23, 2008, 1:25 AM

Post #1 of 2 (54 views)
Permalink
Re: [8117] Somehow I thought I had this working with mod_perl2 yesterday,

On Tue, 22 Apr 2008, theory[at]bricolage.cc wrote:
> * Speaking of `add_config()`, in trying to get it to work with the
> Apache::ServerRec object, I discovered that passing it a `<VirtualHost>`
> directive -- or an `Include`ed file with a `<VirtualHost>` directive --
> causes Apache to crash with a bus error. Yow! So for now, `httpd.conf` is
> including a file itself, and the file is created as if `MANUAL_APACHE` was
> always true. I've reported the bug. Keep an eye on this thread for details:
> http://marc.info/?l=apache-modperl-dev&m=120889386710310. Scott, is this
> what you found?

I don't think it was so kind as to actually display an error,
but something was going wrong in the config:
http://marc.info/?l=bricolage-devel&m=119186688518027&w=2
Good luck.
(
Actually I recently read half of the mod_perl2 book,
http://modperl2book.org/ , and I thought there were some things
about mod_perl2 that would be nice to incorporate more into Bricolage,
in particular for configuration. (It was what made me ask
recently whether we should continue supporting mod_perl 1.)
One thing I learned was that apache2 loads the configuration twice,
which might be causing some of the problems, though I don't know
why it would cause a bus error.
)


david at kineticode

Apr 23, 2008, 9:49 AM

Post #2 of 2 (49 views)
Permalink
Re: [8117] Somehow I thought I had this working with mod_perl2 yesterday, [In reply to]

On Apr 23, 2008, at 01:25, Scott Lanning wrote:

> I don't think it was so kind as to actually display an error,
> but something was going wrong in the config:
> http://marc.info/?l=bricolage-devel&m=119186688518027&w=2
> Good luck.

I was getting errors from add_config() until I got the configuration
just right. And then it crashed. I'm going to get some debugging info
to Philippe today.

http://marc.info/?t=120889389400011
> Actually I recently read half of the mod_perl2 book,
> http://modperl2book.org/ , and I thought there were some things
> about mod_perl2 that would be nice to incorporate more into Bricolage,
> in particular for configuration. (It was what made me ask
> recently whether we should continue supporting mod_perl 1.)
> One thing I learned was that apache2 loads the configuration twice,
> which might be causing some of the problems, though I don't know
> why it would cause a bus error.

Once we've done one major release supporting both, and the kinks have
been worked out with mod_perl 2, I'd be fine to dump it. The releases
I'd like to se are:

Dev1: This week, supports both
Dev2: In a month or so, switches to preferring apache2
RC1
RCN
2.0.0: Supports both, apache2 preferred, apache1 deprecated
2.2.0: Apache 2 only.

Best,

David

Bricolage devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.