httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject explicit default-handler
Date Tue, 20 Oct 1998 06:54:45 GMT
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