Re: SSLRequire UTF-8 characters backward compatibility

2010-12-30 Thread Stefan Fritsch
On Monday 20 December 2010, Stefan Fritsch wrote: Can we reject such certificates somehow? Should we close the connection if we see such a thing in ssl_var_lookup_ssl_cert? Or should we try to escape the 0-byte in the variable? The latter. I suggest using

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 of the

Re: Inspiration for mod_lua

2010-12-30 Thread Joe Schaefer
To get back to lua, mod_lua should IMO expose as much of the server API as it can, so people who want to script the server's behavior in a high-concurrency environment can do so. It should definitely compete with mod_rewrite, and if successful could supplant it. But it shouldn't try to compete

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: SSLRequire UTF-8 characters backward compatibility

2010-12-30 Thread Kaspar Brand
On 30.12.2010 13:43, Stefan Fritsch wrote: The latter. I suggest using ASN1_STRING_print_ex() with ASN1_STRFLGS_RFC2253 ~ASN1_STRFLGS_ESC_MSB (will escape them as \0). OK, makes sense. ASN1_STRING_print_ex escapes a whole lot of other stuff, too. So this change would also introduce an