Fixed crash with invalid commands and marked IIS server as non-virtual, so many commands would work (like SecDataDir).

This commit is contained in:
Greg Wroblewski
2012-11-08 23:49:04 -08:00
parent f14eaeb3d0
commit 74b8daaadd
3 changed files with 14 additions and 16 deletions

View File

@@ -143,6 +143,7 @@ server_rec *modsecInit() {
server->server_scheme = "";
server->timeout = 60 * 1000000;// 60 seconds
server->wild_names = NULL;
server->is_virtual = 0;
ap_server_config_defines = apr_array_make(pool, 1, sizeof(char *));