Re: Inspiration for mod_lua

2011-01-08 Thread Brian McCallister
On Fri, Dec 31, 2010 at 12:48 AM, William A. Rowe Jr. wr...@rowe-clan.net wrote: On 12/30/2010 8:09 PM, Joe Schaefer wrote: I mean take the CMS I just wrote with mod_perl.  It's 2K LOC, uses a custom map_to_storage handler, and defers a good chunk of its (sub)requests to httpd for things like

Re: Inspiration for mod_lua

2010-12-30 Thread Igor Galić
- Stefan Fritsch s...@sfritsch.de wrote: On Wednesday 29 December 2010, Andrew Farmer wrote: On 29 Dec 2010 at 01:25, Igor Galić wrote: Please share your particularly ugly, involved, unaesthetic or otherwise /wrong/ solutions done with mod_rewrite because it was the only hammer

Re: Inspiration for mod_lua

2010-12-30 Thread Brian McCallister
2010/12/28 Igor Galić i.ga...@brainsware.org: Hey folks, I'm looking for some inspiration on how to make good use of mod_lua. Those familiar with its documentation, might find it a little bit lacking in this regard. My original aim (and what I still use mod_wombat for) is various small

Re: Inspiration for mod_lua

2010-12-30 Thread Graham Dumpleton
On 31 December 2010 07:37, Brian McCallister bri...@skife.org wrote: 2010/12/28 Igor Galić i.ga...@brainsware.org: Hey folks, I'm looking for some inspiration on how to make good use of mod_lua. Those familiar with its documentation, might find it a little bit lacking in this regard. My

Re: Inspiration for mod_lua

2010-12-30 Thread William A. Rowe Jr.
On 12/30/2010 3:25 PM, Graham Dumpleton wrote: On 31 December 2010 07:37, Brian McCallister bri...@skife.org wrote: 2010/12/28 Igor Galić i.ga...@brainsware.org: Hey folks, I'm looking for some inspiration on how to make good use of mod_lua. Those familiar with its documentation, might find

Re: Inspiration for mod_lua

2010-12-30 Thread Graham Dumpleton
On 31 December 2010 10:56, William A. Rowe Jr. wr...@rowe-clan.net wrote: On 12/30/2010 3:25 PM, Graham Dumpleton wrote: On 31 December 2010 07:37, Brian McCallister bri...@skife.org wrote: 2010/12/28 Igor Galić i.ga...@brainsware.org: Hey folks, I'm looking for some inspiration on how to

Re: Inspiration for mod_lua

2010-12-30 Thread William A. Rowe Jr.
On 12/30/2010 6:08 PM, Graham Dumpleton wrote: The problem with mod_python was that it was poorly implemented. If you were start from scratch and do it over, it would be possible to make it much more light weight. The mod_wsgi module has shown this can be the case. The best solution of

Re: Inspiration for mod_lua

2010-12-30 Thread Joe Schaefer
- Original Message From: William A. Rowe Jr. wr...@rowe-clan.net To: dev@httpd.apache.org Sent: Thu, December 30, 2010 7:45:54 PM Subject: Re: Inspiration for mod_lua On 12/30/2010 6:08 PM, Graham Dumpleton wrote: The problem with mod_python was that it was poorly

Re: Inspiration for mod_lua

2010-12-30 Thread William A. Rowe Jr.
On 12/30/2010 6:52 PM, Joe Schaefer wrote: Blech. The upside to mod_perl is that you get the rest of the server for free. mod_fcgid (or even mod_wsgi) is the same old crappy impoverished CGI interface. Hmmm, fork for exec is that insignificant? Not according to any data I've seen. I

Re: Inspiration for mod_lua

2010-12-30 Thread Joe Schaefer
- Original Message From: William A. Rowe Jr. wr...@rowe-clan.net To: dev@httpd.apache.org Sent: Thu, December 30, 2010 8:48:51 PM Subject: Re: Inspiration for mod_lua On 12/30/2010 6:52 PM, Joe Schaefer wrote: Blech. The upside to mod_perl is that you get the rest

Re: Inspiration for mod_lua

2010-12-30 Thread Joe Schaefer
Schaefer joe_schae...@yahoo.com To: dev@httpd.apache.org Sent: Thu, December 30, 2010 9:09:32 PM Subject: Re: Inspiration for mod_lua - Original Message From: William A. Rowe Jr. wr...@rowe-clan.net To: dev@httpd.apache.org Sent: Thu, December 30, 2010 8:48:51 PM Subject: Re

Re: Inspiration for mod_lua

2010-12-30 Thread William A. Rowe Jr.
On 12/30/2010 8:09 PM, Joe Schaefer wrote: I mean take the CMS I just wrote with mod_perl. It's 2K LOC, uses a custom map_to_storage handler, and defers a good chunk of its (sub)requests to httpd for things like autoindex and negotiation and plain-old file serving, and forwards a user's

Re: Inspiration for mod_lua

2010-12-29 Thread Andrew Farmer
On 29 Dec 2010 at 01:25, Igor Galić wrote: Please share your particularly ugly, involved, unaesthetic or otherwise /wrong/ solutions done with mod_rewrite because it was the only hammer available for the screws at that time ;) I came up with the following abomination a while back to disable

Re: Inspiration for mod_lua

2010-12-29 Thread Stefan Fritsch
On Wednesday 29 December 2010, Andrew Farmer wrote: On 29 Dec 2010 at 01:25, Igor Galić wrote: Please share your particularly ugly, involved, unaesthetic or otherwise /wrong/ solutions done with mod_rewrite because it was the only hammer available for the screws at that time ;) I came up

Inspiration for mod_lua

2010-12-28 Thread Igor Galić
Hey folks, I'm looking for some inspiration on how to make good use of mod_lua. Those familiar with its documentation, might find it a little bit lacking in this regard. I've got an elaborate project plotted out, which I'll implement real soon now, but what I'm chiefly looking for is what