[users@httpd] custom output to check_user_id()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux