Home |
Function http_find_string_value Function http_ssi_files Function http_add_get_functions Function http_add_post_functions Function http_set_browser_list Function http_set_put_function |
Function http_ssi_filesThis function can be used to supply a list of file name endings of files that should be parsed for server side include (SSI) directives. void http_ssi_files(const * ssi_file_names[]); Parametersssi_file_namesPointer to a NUL-terminated array of file name endings of files that should be parsed for SSI directives. The Web servers goes through the supplied list comparing each entry with the tail (case sensitive, not only the extension) of the requested file name. If a match is found, the search is terminated and the file will be parsed for SSI directives. If an empty name string is encountered in the search, all files will be parsed for SSI. When this function is never called, all .htm, .html, and .shtml files will be parsed for SSI. Calling http_ssi_files with parameter NULL disables all SSI parsing. Example:const char * ssi_files[] = { ".shtml", "\\cgi.htm", "\\push.htm", NULL }; ... http_ssi_files(ssi_files); This code would instruct the Web server to parse all shtml files as well as files cgi.htm, and push.htm for SSI directives. The files could be located in any directory. Function http_add_get_functions
|