View | Details | Raw Unified | Return to bug 40439
Collapse All | Expand All

(-)modules/proxy/mod_proxy.c (-5 / +14 lines)
Lines 1124-1134 Link Here
1124
        else {
1124
        else {
1125
            char *val = strchr(word, '=');
1125
            char *val = strchr(word, '=');
1126
            if (!val) {
1126
            if (!val) {
1127
                if (cmd->path)
1127
                if (cmd->path) {
1128
                    return "Invalid ProxyPass parameter.  Parameter must be "
1128
                    if (r[0] == '/') {
1129
                           "in the form 'key=value'";
1129
                        return "ProxyPass can not have a path when defined in "
1130
                else
1130
                               "a location.";
1131
                    return "ProxyPass can not have a path when defined in a location";
1131
                    }
1132
                    else {
1133
                        return "Invalid ProxyPass parameter. Parameter must "
1134
                               "be in the form 'key=value'.";
1135
                    }
1136
                }
1137
                else {
1138
                    return "Invalid ProxyPass parameter. Parameter must be "
1139
                           "in the form 'key=value'.";
1140
                }
1132
            }
1141
            }
1133
            else
1142
            else
1134
                *val++ = '\0';
1143
                *val++ = '\0';

Return to bug 40439