httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47184] Feature request: DirectoryHandler
Date Tue, 16 Jun 2009 13:49:21 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47184





--- Comment #6 from Dan Poirier <poirier@pobox.com>  2009-06-16 06:49:17 PST ---
I'm picturing three new directives (there doesn't appear to be a DefaultHandler
directive, and it seems like a useful concept):


DefaultHandler handler-name

Change the default request handler from Apache's built-in "default-handler"
to handler-name.


DefaultMapping index.php

If the request would otherwise result in a 404 response, use the file index.php
to handle it.  The URI is not changed.  This is equivalent to

Action new-handler-name index.php
DefaultHandler new-handler-name

except that no handler named "new-handler-name" is actually defined.

Is "request would otherwise result in a 404 response" the best way to specify
the behavior here?  Maybe it would be better to just describe it as a shortcut
for using Action and DefaultHandler.


SetMapping index.php

Use the file index.php to handle all requests.  The URI is not changed.  This
is equivalent to

Action new-handler-name index.php
SetHandler new-handler-name

except that no handler named "new-handler-name" is actually defined.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message