Re: config.nice should be installed

2003-07-25 Thread Mads Toftum
On Thu, Jul 24, 2003 at 01:57:26PM -0700, Aaron Bannert wrote:
 Where should it be installed? $prefix/lib maybe?
 
How about $prefix/conf?

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall



RE: config.nice should be installed

2003-07-25 Thread Sander Striker
 From: André Malo [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 24, 2003 11:38 PM

 * Aaron Bannert wrote:

  On Thursday, July 24, 2003, at 01:31  PM, Astrid Keßler wrote:
 
  It would be a big help to our users if config.nice was installed by a
  make
  install.
 
  This is a really good idea. +1
 
  I like this too. +1

 +1 here as well.

  Where should it be installed? $prefix/lib maybe?

 $prefix/build sounds more naturally to me.

+1.


Sander



[PATCH] apache_1.3.28/src/modules/standard/mod_rewrite.c

2003-07-25 Thread Paul Wankadia
Please consider my suggestion:



--- mod_rewrite.c.old   Fri Jul 25 18:07:38 2003
+++ mod_rewrite.c   Fri Jul 25 18:12:42 2003
@@ -3823,7 +3823,7 @@
 /*   ...and sub and main paths differ */ \
  strcmp(r-main-uri, r-uri) != 0))) { \
 /* process a file-based subrequest */ \
-rsub = subrecfunc(r-filename, r); \
+rsub = subrecfunc(, r); \
 /* now recursively lookup the variable in the sub_req */ \
 result = lookup_variable(rsub, var+5); \
 /* copy it up to our scope before we destroy sub_req's pool */ \



I gues
Thanks in advance.


Re: [PATCH] apache_1.3.28/src/modules/standard/mod_rewrite.c

2003-07-25 Thread Paul Wankadia
On Fri, 25 Jul 2003 18:49:07 +1000 (EST), I wrote:

 -rsub = subrecfunc(r-filename, r); \
 +rsub = subrecfunc(, r); \
  [..]
 I gues

Oops..

I guess that should be okay for the lookahead, right?  I suppose it doesn't
matter when r-filename is absolute, but I think it causes an infinite loop
with (say) /../dir/ - dir/ and then that doubles itself each time it goes
through ap_make_full_path().

Thanks.

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!



Re: config.nice should be installed

2003-07-25 Thread Thom May
* Sander Striker ([EMAIL PROTECTED]) wrote :
  From: André Malo [mailto:[EMAIL PROTECTED]
  Sent: Thursday, July 24, 2003 11:38 PM
 
  * Aaron Bannert wrote:
 
   On Thursday, July 24, 2003, at 01:31  PM, Astrid Keßler wrote:
  
   It would be a big help to our users if config.nice was installed by a
   make
   install.
  
   This is a really good idea. +1
  
   I like this too. +1
 
  +1 here as well.
 
   Where should it be installed? $prefix/lib maybe?
 
  $prefix/build sounds more naturally to me.
 
 +1.
 
+1
-Thom


Re: Offering modules for core httpd distro

2003-07-25 Thread Joshua Slive

On Thu, 24 Jul 2003, Nick Kew wrote:
 4. mod_proxy_html (NEW!)
 Apache as a reverse-proxy has hitherto been incomplete, as it falls
 down when HTML links in proxied pages fail outside the proxy.
 mod_proxy_html is an output filter to rewrite HTML links where
 necessary into the proxy's address space.

If you could provide a long-term stable url, we could at least point to
this from the ProxyPassReverse docs.  It certainly qualifies as a
frequently requested feature.

Joshua.


Re: Offering modules for core httpd distro

2003-07-25 Thread Mads Toftum
On Thu, Jul 24, 2003 at 10:17:25PM +0100, Nick Kew wrote:
 1. mod_diagnostics

I'd very much like to see this included.
(http://access.www.webthing.com/software/mod_diagnostics.c)

 3. mod_xml_gnome_xslt
 
link?

 4. mod_proxy_html (NEW!)

While this is _very_ useful for reverse proxying, I do not think it should
be included mainly because of the dependency on libxml2.

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall



Re: Offering modules for core httpd distro

2003-07-25 Thread Mads Toftum
On Fri, Jul 25, 2003 at 11:33:42AM -0400, Joshua Slive wrote:
 If you could provide a long-term stable url, we could at least point to
 this from the ProxyPassReverse docs.  It certainly qualifies as a
 frequently requested feature.
 
Or just use http://modules.apache.org/search.php?id=625

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall



Apache 2.0.47 Windows SSL

2003-07-25 Thread Henri Gomez
Hi to all,

Did some of you have a binary for mod_ssl 2.0.47 Windows ?

Regards



Re: Apache 2.0.47 Windows SSL

2003-07-25 Thread Erik Abele
On 25/07/2003, at 06:07, Henri Gomez wrote:

Hi to all,

Did some of you have a binary for mod_ssl 2.0.47 Windows ?
There is a 'over-complete' pre-built Apache 2.0.47 package
including mod_ssl and OpenSSL 0.9.7b for Windows:
http://www.apachefriends.org/wampp.html

But be aware that it's fairly large, around 43MB. Didn't look
into it; just stumbled over it recently...
Cheers,
Erik
Regards




Re: config.nice should be installed

2003-07-25 Thread Astrid Keßler
  $prefix/build sounds more naturally to me.

 +1.

 +1
 -Thom

+1

Kess


Re: Offering modules for core httpd distro

2003-07-25 Thread Joshua Slive

On Fri, 25 Jul 2003, Mads Toftum wrote:

 On Fri, Jul 25, 2003 at 11:33:42AM -0400, Joshua Slive wrote:
  If you could provide a long-term stable url, we could at least point to
  this from the ProxyPassReverse docs.  It certainly qualifies as a
  frequently requested feature.
 
 Or just use http://modules.apache.org/search.php?id=625

And that's going to stay consistent through whatever happens to
modules.apache.org?  Somehow I doubt it.  I hate dead links.

Joshua.


Re: Apache 2.0.47 Windows SSL

2003-07-25 Thread Astrid Keßler
 Did some of you have a binary for mod_ssl 2.0.47 Windows ?

 There is a 'over-complete' pre-built Apache 2.0.47 package
 including mod_ssl and OpenSSL 0.9.7b for Windows:

 http://www.apachefriends.org/wampp.html

 But be aware that it's fairly large, around 43MB. Didn't look
 into it; just stumbled over it recently...

This is really big, ugh.

Binary mod_ssl and the neccessary openssl files are also available at
http://www.madhon.co.uk/modssl/ (615kb) and an instruction is available
at
http://plone.org/documentation/developer/ApacheSSLWindows/wikipage_view.

I didn't test it, so ... no help, no warranty :)

Kess


Re: mod_rewrite: different behaviour on sub-requests - Why?

2003-07-25 Thread André Malo
* [EMAIL PROTECTED] wrote:

 Can somebody enlight me what this code in mod_rewrite.c is good for?
 
 static int hook_fixup(request_rec *r)
 {
[...]
 /* we shouldn't do anything in subrequests */
 if (r-main != NULL) {
 return DECLINED;
 }
 
 It took me days to track down what is is not good for
 (see bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21814 ).
 
 I suggest to disarm this section if not removing it from mod_rewrite.c...

This was added immediately after the inclusion of mod_rewrite into the httpd
code (some years ago). I believe, the only one who can say, _why_ this was
added, is Ralf :).
However, I'll take a look into it. This was probably added in order to avoid
mod_rewrite-loops. Perhaps it isn't necessary any longer.

nd


mod_rewrite.h cleanup?

2003-07-25 Thread André Malo
It's somehow obvious, that I'm currently cleaning up the mod_rewrite code ;-)
Now I want to reorder the code in order to get a rid of most of the forward
declarations in mod_rewrite.h. In fact, I want to remove all the non-public
parts from the header file. (i.e. all, except the ap_register_mapfunc stuff),
so that other modules that include mod_rewrite.h (say, in order to register a
map function) find a clean file.

Are there any objections against?

nd


Re: mod_rewrite.h cleanup?

2003-07-25 Thread Cliff Woolley
On Fri, 25 Jul 2003, André Malo wrote:

 parts from the header file. (i.e. all, except the ap_register_mapfunc stuff),
 so that other modules that include mod_rewrite.h (say, in order to register a
 map function) find a clean file.

 Are there any objections against?

PLEEEASSE do this if you're so inclined... it's always a huge pita to
modify mod_rewrite because you have to remember to modify the header file
too, and no other module does that, so you end up getting stupid prototype
mismatches and you keep having to go back and forth.

++1


Re: mod_rewrite.h cleanup?

2003-07-25 Thread Bill Stoddard
André Malo wrote:

It's somehow obvious, that I'm currently cleaning up the mod_rewrite code ;-)
Now I want to reorder the code in order to get a rid of most of the forward
declarations in mod_rewrite.h. In fact, I want to remove all the non-public
parts from the header file. (i.e. all, except the ap_register_mapfunc stuff),
so that other modules that include mod_rewrite.h (say, in order to register a
map function) find a clean file.
Are there any objections against?

Go for it. +1

Bill





kqueue a poll/select alternative?

2003-07-25 Thread ranier
Hi,

Anyone knows about kqueue, dev/poll implementation in apr, httpd?

Thanks.

Ranier.



Re: Offering modules for core httpd distro

2003-07-25 Thread Nick Kew
On Thu, 24 Jul 2003, Nick Kew wrote:

 1. mod_diagnostics

Well, the feedback seems to indicate interest in that.
Shall I take that as a cue to do a writeup?

(BTW, someone said mod_bucketeer, but I can't see any overlap)

 2. mod_upload
 3. mod_xml_gnome_xslt

OK, no interest - fair enough.

 4. mod_proxy_html (NEW!)

I may reorganise my URLs, but I'm happy to undertake to set up a
working 301 if http://www.webthing.com/software/mod_proxy_html/
is affected.

-- 
Nick Kew



kqueue a alternative poll/select?

2003-07-25 Thread Ranier



Hi,

Anyone knows about implementation of kqueue, 
dev/poll in apr, httpd?

Thanks.

Ranier


Re: kqueue a alternative poll/select?

2003-07-25 Thread Bill Stoddard
Ranier wrote:
Hi,
 
Anyone knows about implementation of kqueue, dev/poll in apr, httpd?
 
Thanks.
 
Ranier
The apr_pollset API in APR would be a suitable wrapper for a kqueue or 
dev/poll implementation, but no one has spent the time and effort to do 
it yet. I have a prototype httpd implementation (patch posted to this 
list months ago) that implements event driven network reads and Ian 
Holsman wrote up a design for doing event driven writes. That's about it.

Bill