You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cli-dev@httpd.apache.org by wr...@apache.org on 2004/11/21 20:38:42 UTC
svn commit: r106107 - /httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp
Author: wrowe
Date: Sun Nov 21 11:38:42 2004
New Revision: 106107
Modified:
httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp
Log:
Add module/ver to the Server String (al la modperl, PHP, etc).
Suggested by: Jeff White <jlwpc1 earthlink.net>
Modified: httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp
Url: http://svn.apache.org/viewcvs/httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp?view=diff&rev=106107&p1=httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp&r1=106106&p2=httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp&r2=106107
==============================================================================
--- httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp (original)
+++ httpd/mod_aspdotnet/trunk/mod/mod_aspdotnet.cpp Sun Nov 21 11:38:42 2004
@@ -546,6 +546,11 @@
{
apr_hash_index_t *item;
+ // Decorate the server string
+ ap_add_version_component(pconf, "mod_aspdotnet/"
+ APW_STRINGIFY(APACHE_WEB_VER_MAJOR) "."
+ APW_STRINGIFY(APACHE_WEB_VER_MINOR));
+
// First time through, initialize .Net and the HostFactory
if (!conf->pCorRuntime || !conf->pHostFactory) {
try {