httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: explicit default-handler
Date Tue, 20 Oct 1998 08:20:28 GMT
There's a PR asking for this, and I even thought it was in the STATUS... 
+1

Dean

On Mon, 19 Oct 1998, Marc Slemko wrote:

> Say I have the following:
> 
> /bar/.htaccess: SetHandler server-status
> /bar/foo/joe.html
> 
> And I want everything in foo/ to be handled by the default handler.  Right
> now I can't see a way to do that.  With the below change, I can do:
> 
> /bar/foo/.htaccess: SetHandler default-handler
> 
> Any objections?
> 
> Index: http_core.c
> ===================================================================
> RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
> retrieving revision 1.234
> diff -u -r1.234 http_core.c
> --- http_core.c	1998/10/16 07:04:43	1.234
> +++ http_core.c	1998/10/20 06:52:17
> @@ -2879,6 +2879,7 @@
>  
>  static const handler_rec core_handlers[] = {
>  { "*/*", default_handler },
> +{ "default-handler", default_handler },
>  { NULL }
>  };
>  
> 
> 


Mime
View raw message