Is there a way to handle un-authentication in a module-specified *check_user_id() such that a formatted string can be applied to the request and HTTP_OK returned so that the request is terminated and the document returned?

*check_user_id() calls decl_die() upon non-zero status that in turn terminates the request and uses either an internal string for the resulting response or a custom configured one. This authentication module needs to be able to return per-request formatted responses (e.g. "Sorry X, you aren't authenticated."). There appear to be several ways to make Apache 2.x do this including (possibly) filters, internal redirect and a particular module, or server side include.

However, this authenticate module will be implemented for other web servers as well so all need to have a similar way of configuring the per-request response.

Thanks in advance.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to