You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2009/09/21 15:08:47 UTC

svn commit: r817237 - in /httpd/mod_fcgid/trunk: CHANGES-FCGID modules/fcgid/fcgid_pm_win.c

Author: rjung
Date: Mon Sep 21 13:08:45 2009
New Revision: 817237

URL: http://svn.apache.org/viewvc?rev=817237&view=rev
Log:
Separate classes by virtual host also on Windows.

Modified:
    httpd/mod_fcgid/trunk/CHANGES-FCGID
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c

Modified: httpd/mod_fcgid/trunk/CHANGES-FCGID
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/CHANGES-FCGID?rev=817237&r1=817236&r2=817237&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/CHANGES-FCGID [utf8] (original)
+++ httpd/mod_fcgid/trunk/CHANGES-FCGID [utf8] Mon Sep 21 13:08:45 2009
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with mod_fcgid 2.3.2
 
+  *) Separate classes by virtual host also on Windows.  [Rainer Jung]
+
   *) Log client IP address with many more error log messages.  [Jeff Trawick]
 
   *) Fix basic implementation of MaxRequestInMem and MaxRequestLen directives.

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c?rev=817237&r1=817236&r2=817237&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c Mon Sep 21 13:08:45 2009
@@ -126,9 +126,9 @@
                             apr_ino_t inode, apr_size_t share_grp_id)
 {
     apr_table_t *initenv;
-    fcgid_wrapper_conf *wrapperconf;
     const apr_array_header_t *initenv_arr;
     const apr_table_entry_t *initenv_entry;
+    fcgid_wrapper_conf *wrapperconf;
     int i;
 
     memset(command, 0, sizeof(*command));
@@ -145,6 +145,7 @@
                           initenv_arr->nelts - INITENV_CNT,
                           INITENV_CNT,
                           initenv_arr->nelts);
+
         for (i = 0; i < initenv_arr->nelts && i < INITENV_CNT; ++i) {
             if (initenv_entry[i].key == NULL
                 || initenv_entry[i].key[0] == '\0')
@@ -163,6 +164,7 @@
     command->uid = (uid_t) - 1;
     command->gid = (gid_t) - 1;
     command->userdir = 0;
+    command->virtualhost = r->server->server_hostname;
 
     /* Update fcgid_command with wrapper info */
     command->wrapperpath[0] = '\0';