You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Anthony Howe <ac...@snert.com> on 2000/11/10 19:33:55 UTC

mod_userdir/6828: mod_userdir should check for location URIs

>Number:         6828
>Category:       mod_userdir
>Synopsis:       mod_userdir should check for location URIs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Nov 10 10:40:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     achowe@snert.com
>Release:        1.3.14
>Organization:
apache
>Environment:
Linux mail.snert.net 2.0.34C52_SK #1 Tue Nov 30 18:14:40 PST 1999 mips unknown
(Cobalt Qube 1 running Redhat)
>Description:
The following does not work:

   http://www.snert.com/~chrisma/server-info

Server-info, server-status, and other handlers that would have been defined as
URIs with <location /cool-handler> sections are not found when the URI prefix is
/~user.  

Everything after the /~user should be considered like a URI, be it a file or
a module handler.  mod_userdir should perform a subrequest on the remaining URI
to determine if its a file or handler.  If it is a handler, it should be the
module's responsibility to determine whether or not it processes the request
in relation to users.

This issue came up during the development of mod_throttle 3.0, where I want to
have a special handler to return the status of an induhvidual server or user.
>How-To-Repeat:
Install something like server-info or server-status. Request a URL something
like this:  http://www.snert.com/~chrisma/server-info
>Fix:
Not as yet.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]