In mod_aspdotnet should there be an add to the server name action, (like Perl and PHP)?

If so then in mod_aspdotnet there is in the function - static void register_hooks(...)

this call:

ap_hook_post_config(asp_net_post_config, NULL, NULL, APR_HOOK_MIDDLE);

so add in static int asp_net_post_config(...)
{

 // Add one time only

 // Get .NET version
 version=current .NET version

 // ap_add_version_component(p, ".NET1/1");

// Add .Net to the server's name. ap_add_version_component(p, ".NETversion");

 and then so on...

 return OK;
}

Or if Apache can use many
ap_hook_post_config(...) calls,
try a separate function.

ap_hook_post_config(add_NET_to_server, NULL, NULL, APR_HOOK_MIDDLE);

Jeff




Reply via email to