[NANOWEB DOCUMENTATION]

NANOWEB, the aEGiS PHP web server

Extension Protocol and User Request Methods Support

With the MethodHandler directive you can dedicate a CGI script to handle non-HTTP request methods (or these that are not implemented in the Nanoweb core).
MethodHandler = FASTFETCH /cgi-bin/handle_FASTFETCH_request.pl
MethodHandler = UPDATE /cgi-bin/UPDATE_method.exe


The CGI scripts see the requested URL in the $PATH_INFO environment variable and the actual content of the HTTP request appears in <stdin> if there was any, so these handlers work much the same like the handlers of mod_misc_filters.

Note: User defined request methods cannot be utilized with standard browsers, not even with <FORM METHOD="mymethod"...>, so you'll need dedicated http clients to make use of your extension.


bugreports are welcome: mario@erphesfurt·de


NANOWEB, the aEGiS PHP web server