RE: New Module: mod_auth_mysql_digest
Considering the popularity of MySQL-based auth, I think this would be a great addition to httpd. See: http://www.securityspace.com/s_survey/data/man.200210/apachemods.html Cool, no one's cooking up a mod_log_mysql for apache2? it's in the back of my mind. -- james
nroff man pages going away
[X-posted to dev because I don't want anybody being surprised by the disappearance of man pages and having a fit about it.] Question: How important is it that we distribute nroff man pages? At the moment there is nobody updating the man pages because nobody feels like playing with nroff. Even if they do get updated, it is difficult to transform the nroff into a format that works well in the manual. So the choices are: 1. Just ditch the nroff and covert to xml like the rest of the docs; stop distributing independent man pages. 2. Leave in nroff, hope that somebody decides to update them and that we can figure out a decent way to convert to xml/html for the manual. 3. Convert to xml, and find a way to generate nroff from the xml so that we can continue to distribute man pages. I believe that 2 is not a solution, since nobody has been willing to touch the nroff pages in a long time. They are getting more and more out of date. The best solution would be 3, but that would be quite a chunk of work. So unless somebody comes up with a better solution, I will be removing the nroff man pages and replacing them with xml. Joshua.
Re: nroff man pages going away
So the choices are: : 3. Convert to xml, and find a way to generate nroff from the xml so that we can continue to distribute man pages. As a hint... Solaris has SGML man docs. /usr/lib/sgml/sgml2roff can be used to convert SGML docs to roff ones. Tsuyoshi SASAMOTO [EMAIL PROTECTED]
Re: nroff man pages going away
On Sun, 10 Nov 2002, Tsuyoshi SASAMOTO wrote: So the choices are: : 3. Convert to xml, and find a way to generate nroff from the xml so that we can continue to distribute man pages. As a hint... Solaris has SGML man docs. /usr/lib/sgml/sgml2roff can be used to convert SGML docs to roff ones. There are also docbook to nroff converters. I'm not saying it isn't possible, I'm just saying it won't be easy. Our doc format is neither docbook, nor SGML, and even if it was, getting these types of converters to work is often a nightmare. Joshua.
[PATCH] mod_deflate.c
The current behaviour of mod_deflate is to set the Vary: Accept-Encoding header dependant on the fact, whether the client sent Accept-Encoding: gzip or not. However, I think, that behaviour is not correct. At the time, the DEFLATE filter is activated, the resource actually /does/ vary on Accept-Encoding. Independant from what the client accepts or not. The attached patch moves the Vary header setting to the time before the filter checks the supplied Accept-Encoding but after the time, it checks whether the stream is already compressed (and probably already correct labeled with a Vary header). nd -- die (eval q-qq:Just Another Perl Hacker :-) # André Malo, http://www.perlig.de/ # Index: mod_deflate.c === RCS file: /home/cvspublic/httpd-2.0/modules/filters/mod_deflate.c,v retrieving revision 1.24 diff -u -r1.24 mod_deflate.c --- mod_deflate.c 30 Aug 2002 16:31:17 - 1.24 +++ mod_deflate.c 9 Nov 2002 22:38:50 - -306,6 +306,8 } } +apr_table_setn(r-headers_out, Vary, Accept-Encoding); + /* if they don't have the line, then they can't play */ accepts = apr_table_get(r-headers_in, Accept-Encoding); if (accepts == NULL) { -369,7 +371,6 else { apr_table_mergen(r-headers_out, Content-Encoding, gzip); } -apr_table_setn(r-headers_out, Vary, Accept-Encoding); apr_table_unset(r-headers_out, Content-Length); /* initialize deflate output buffer */
Re: [PATCH] mod_deflate.c
--On Sunday, November 10, 2002 12:24 AM +0100 André Malo [EMAIL PROTECTED] wrote: The current behaviour of mod_deflate is to set the Vary: Accept-Encoding header dependant on the fact, whether the client sent Accept-Encoding: gzip or not. However, I think, that behaviour is not correct. At the time, the Fair enough - I'm convinced. =) Committed. Thanks! -- justin
Re: cvs commit: httpd-2.0/modules/filters mod_deflate.c
--On Sunday, November 10, 2002 6:09 AM + [EMAIL PROTECTED] wrote: jerenkrantz2002/11/09 22:09:20 Modified:.CHANGES modules/filters mod_deflate.c Log: Always emit Vary header if mod_deflate is involved in the request. Submitted by: Andr?©Malo [EMAIL PROTECTED] Reviewed by: Justin Erenkrantz Oh, bah. I'm getting used to a certain SCM that supports UTF-8 (heck, I'm not even sure if that got inputed as UTF-8 either). My bad. André, how do you want your name reflected in the CHANGES file? (Sending a patch would probably be best so I don't screw it up anymore...) -- justin
Re: cvs commit: httpd-2.0/modules/filters mod_deflate.c
* Rasmus Lerdorf wrote: Shouldn't you also Vary on User-Agent when a BrowserMatch no-gzip is present? Yes, but mod_deflate doesn't know anything about BrowserMatch. So one has to configure an explicit Header append Vary User-Agent in that case (no-gzip can be set in various ways, not only with BrowserMatch). In fact, I was only extending the docs a little bit, see http://cvs.apache.org/~nd/manual/mod/mod_deflate.html ;-) nd -- Eine Eieruhr, erklärt ihr Hermann, besteht aus einem Ei. Du nimmst das Ei und kochst es. Wenn es hart ist, sind fünf Minuten um. Dann weißt du, daß die Zeit vergangen ist. -- Hannes Hüttner in Das Blaue vom Himmel
Re: cvs commit: httpd-2.0/modules/filters mod_deflate.c
* Justin Erenkrantz wrote: André, how do you want your name reflected in the CHANGES file? you may simply drop the eh... accent (?). (Sending a patch would probably be best so I don't screw it up anymore...) hehe, done. nd -- sub the($){+shift} sub answer (){ord q [* It is always 42! *] } print the answer # André Malo # http://www.perlig.de/ # Index: CHANGES === RCS file: /home/cvspublic/httpd-2.0/CHANGES,v retrieving revision 1.975 diff -u -r1.975 CHANGES --- CHANGES 10 Nov 2002 06:09:19 - 1.975 +++ CHANGES 10 Nov 2002 07:01:27 - @@ -1,7 +1,7 @@ Changes with Apache 2.0.44 *) Always emit Vary header if mod_deflate is involved in the - request. [AndréMalo [EMAIL PROTECTED]] + request. [André Malo [EMAIL PROTECTED]] *) mod_isapi: Stop unsetting the 'empty' query string result with a NULL argument in ecb-lpszQueryString, eliminating segfaults
Re: cvs commit: httpd-2.0/modules/filters mod_deflate.c
On Sat, Nov 09, 2002 at 10:17:58PM -0800, Justin Erenkrantz wrote: Oh, bah. I'm getting used to a certain SCM that supports UTF-8 (heck, I'm not even sure if that got inputed as UTF-8 either). My bad. Did you edit that file in your SCM? How did you input that anyway? What kind of encoding is valid for our CHANGES file (I'm really out of my league here, but I'd be happy if someone could point my sorry sheltered US-keyboard-centric self in the right direction here). André, how do you want your name reflected in the CHANGES file? (Sending a patch would probably be best so I don't screw it up anymore...) -- justin I just took out the accent, but it would be cool someone could tell me how to make it work with accents. :) -aaron