diff options
Diffstat (limited to 'modules/mappers')
-rw-r--r-- | modules/mappers/mod_actions.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_alias.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_dir.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_imagemap.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_negotiation.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_rewrite.c | 8 | ||||
-rw-r--r-- | modules/mappers/mod_rewrite.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_speling.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_userdir.c | 8 | ||||
-rw-r--r-- | modules/mappers/mod_userdir.mak | 4 | ||||
-rw-r--r-- | modules/mappers/mod_vhost_alias.mak | 4 |
11 files changed, 30 insertions, 22 deletions
diff --git a/modules/mappers/mod_actions.mak b/modules/mappers/mod_actions.mak index 4bbed8ea..28ec1e0e 100644 --- a/modules/mappers/mod_actions.mak +++ b/modules/mappers/mod_actions.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_actions.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_actions.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_actions.so" /d LONG_NAME="actions_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_actions.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_actions.so" /d LONG_NAME="actions_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_actions - Win32 Debug" "$(INTDIR)\mod_actions.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_actions.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_actions.so" /d LONG_NAME="actions_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_actions.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_actions.so" /d LONG_NAME="actions_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_alias.mak b/modules/mappers/mod_alias.mak index 9c8276ea..17ad406f 100644 --- a/modules/mappers/mod_alias.mak +++ b/modules/mappers/mod_alias.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_alias.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_alias.so" /d LONG_NAME="alias_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_alias.so" /d LONG_NAME="alias_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_alias - Win32 Debug" "$(INTDIR)\mod_alias.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_alias.so" /d LONG_NAME="alias_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_alias.so" /d LONG_NAME="alias_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_dir.mak b/modules/mappers/mod_dir.mak index 19a17fe8..d490010f 100644 --- a/modules/mappers/mod_dir.mak +++ b/modules/mappers/mod_dir.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_dir.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_dir.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_dir.so" /d LONG_NAME="dir_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_dir.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_dir.so" /d LONG_NAME="dir_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_dir - Win32 Debug" "$(INTDIR)\mod_dir.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_dir.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_dir.so" /d LONG_NAME="dir_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_dir.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_dir.so" /d LONG_NAME="dir_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_imagemap.mak b/modules/mappers/mod_imagemap.mak index b78b5392..da50a61d 100644 --- a/modules/mappers/mod_imagemap.mak +++ b/modules/mappers/mod_imagemap.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_imagemap.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_imagemap.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_imagemap.so" /d LONG_NAME="imagemap_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_imagemap.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_imagemap.so" /d LONG_NAME="imagemap_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_imagemap - Win32 Debug" "$(INTDIR)\mod_imagemap.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_imagemap.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_imagemap.so" /d LONG_NAME="imagemap_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_imagemap.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_imagemap.so" /d LONG_NAME="imagemap_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_negotiation.mak b/modules/mappers/mod_negotiation.mak index bff7e24d..6de4c00e 100644 --- a/modules/mappers/mod_negotiation.mak +++ b/modules/mappers/mod_negotiation.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_negotiation.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_negotiation.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_negotiation.so" /d LONG_NAME="negotiation_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_negotiation.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_negotiation.so" /d LONG_NAME="negotiation_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_negotiation - Win32 Debug" "$(INTDIR)\mod_negotiation.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_negotiation.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_negotiation.so" /d LONG_NAME="negotiation_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_negotiation.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_negotiation.so" /d LONG_NAME="negotiation_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index d31b1c24..7b2737c5 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -560,6 +560,14 @@ static unsigned is_absolute_uri(char *uri, int *supportsqs) *sqs = 1; return 8; } + else if (!strncasecmp(uri, "2://", 4)) { /* h2:// */ + *sqs = 1; + return 5; + } + else if (!strncasecmp(uri, "2c://", 5)) { /* h2c:// */ + *sqs = 1; + return 6; + } break; case 'l': diff --git a/modules/mappers/mod_rewrite.mak b/modules/mappers/mod_rewrite.mak index d81c1650..3b08cabb 100644 --- a/modules/mappers/mod_rewrite.mak +++ b/modules/mappers/mod_rewrite.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_rewrite.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_rewrite.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_rewrite.so" /d LONG_NAME="rewrite_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_rewrite.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_rewrite.so" /d LONG_NAME="rewrite_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_rewrite - Win32 Debug" "$(INTDIR)\mod_rewrite.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_rewrite.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_rewrite.so" /d LONG_NAME="rewrite_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_rewrite.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_rewrite.so" /d LONG_NAME="rewrite_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_speling.mak b/modules/mappers/mod_speling.mak index 9b329811..b49233f7 100644 --- a/modules/mappers/mod_speling.mak +++ b/modules/mappers/mod_speling.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_speling.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_speling.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_speling.so" /d LONG_NAME="speling_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_speling.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_speling.so" /d LONG_NAME="speling_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_speling - Win32 Debug" "$(INTDIR)\mod_speling.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_speling.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_speling.so" /d LONG_NAME="speling_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_speling.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_speling.so" /d LONG_NAME="speling_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c index b181e278..1ec0e901 100644 --- a/modules/mappers/mod_userdir.c +++ b/modules/mappers/mod_userdir.c @@ -89,7 +89,7 @@ module AP_MODULE_DECLARE_DATA userdir_module; typedef struct { int globally_disabled; - char *userdir; + const char *userdir; apr_table_t *enabled_users; apr_table_t *disabled_users; } userdir_config; @@ -137,7 +137,7 @@ static const char *set_user_dir(cmd_parms *cmd, void *dummy, const char *arg) &userdir_module); char *username; const char *usernames = arg; - char *kw = ap_getword_conf(cmd->pool, &usernames); + char *kw = ap_getword_conf(cmd->temp_pool, &usernames); apr_table_t *usertable; /* Since we are a raw argument, it is possible for us to be called with @@ -173,7 +173,7 @@ static const char *set_user_dir(cmd_parms *cmd, void *dummy, const char *arg) * If the first (only?) value isn't one of our keywords, just copy * the string to the userdir string. */ - s_cfg->userdir = apr_pstrdup(cmd->pool, arg); + s_cfg->userdir = arg; return NULL; } /* @@ -182,7 +182,7 @@ static const char *set_user_dir(cmd_parms *cmd, void *dummy, const char *arg) */ while (*usernames) { username = ap_getword_conf(cmd->pool, &usernames); - apr_table_setn(usertable, username, kw); + apr_table_setn(usertable, username, "1"); } return NULL; } diff --git a/modules/mappers/mod_userdir.mak b/modules/mappers/mod_userdir.mak index bc8a5793..8087ce17 100644 --- a/modules/mappers/mod_userdir.mak +++ b/modules/mappers/mod_userdir.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_userdir.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_userdir.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_userdir.so" /d LONG_NAME="userdir_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_userdir.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_userdir.so" /d LONG_NAME="userdir_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_userdir - Win32 Debug" "$(INTDIR)\mod_userdir.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_userdir.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_userdir.so" /d LONG_NAME="userdir_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_userdir.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_userdir.so" /d LONG_NAME="userdir_module for Apache" $(SOURCE) !ENDIF diff --git a/modules/mappers/mod_vhost_alias.mak b/modules/mappers/mod_vhost_alias.mak index 7dc1767f..62085abe 100644 --- a/modules/mappers/mod_vhost_alias.mak +++ b/modules/mappers/mod_vhost_alias.mak @@ -331,14 +331,14 @@ SOURCE=..\..\build\win32\httpd.rc "$(INTDIR)\mod_vhost_alias.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_vhost_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "NDEBUG" /d BIN_NAME="mod_vhost_alias.so" /d LONG_NAME="vhost_alias_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_vhost_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "NDEBUG" /d BIN_NAME="mod_vhost_alias.so" /d LONG_NAME="vhost_alias_module for Apache" $(SOURCE) !ELSEIF "$(CFG)" == "mod_vhost_alias - Win32 Debug" "$(INTDIR)\mod_vhost_alias.res" : $(SOURCE) "$(INTDIR)" - $(RSC) /l 0x409 /fo"$(INTDIR)\mod_vhost_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "\local0\asf\build\httpd-2.4\build\win32" /d "_DEBUG" /d BIN_NAME="mod_vhost_alias.so" /d LONG_NAME="vhost_alias_module for Apache" $(SOURCE) + $(RSC) /l 0x409 /fo"$(INTDIR)\mod_vhost_alias.res" /i "../../include" /i "../../srclib/apr/include" /i "../../build\win32" /d "_DEBUG" /d BIN_NAME="mod_vhost_alias.so" /d LONG_NAME="vhost_alias_module for Apache" $(SOURCE) !ENDIF |