mod_cgid.c revision 1715880355ef7f574cae2e8f973411b51acedede
8a77240a809197c92c0736c431b4b88947a7bac1Christian Maeder/* Licensed to the Apache Software Foundation (ASF) under one or more
d9a45a35cd696085be1a038b2cc67bee6819c574cmaeder * contributor license agreements. See the NOTICE file distributed with
8a77240a809197c92c0736c431b4b88947a7bac1Christian Maeder * this work for additional information regarding copyright ownership.
adea2e45fa61f1097aadc490a0aeaf4831b729ccChristian Maeder * The ASF licenses this file to You under the Apache License, Version 2.0
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens Elkner * (the "License"); you may not use this file except in compliance with
09b431a868c79a92ae7c9bd141565f43f9034144Christian Maeder * the License. You may obtain a copy of the License at
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu * http://www.apache.org/licenses/LICENSE-2.0
df11e5eab86d8247f58e301d8f0a2c6ecf4c9541Till Mossakowski * Unless required by applicable law or agreed to in writing, software
df11e5eab86d8247f58e301d8f0a2c6ecf4c9541Till Mossakowski * distributed under the License is distributed on an "AS IS" BASIS,
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
09b431a868c79a92ae7c9bd141565f43f9034144Christian Maeder * See the License for the specific language governing permissions and
0095c7efbddd0ffeed6aaf8ec015346be161d819Till Mossakowski * limitations under the License.
09b431a868c79a92ae7c9bd141565f43f9034144Christian Maeder * http_script: keeps all script-related ramblings together.
3d3889e0cefcdce9b3f43c53aaa201943ac2e895Jonathan von Schroeder * Compliant to cgi/1.1 spec
09b431a868c79a92ae7c9bd141565f43f9034144Christian Maeder * Adapted by rst from original NCSA code by Rob McCool
df11e5eab86d8247f58e301d8f0a2c6ecf4c9541Till Mossakowski * Apache adds some new env vars; REDIRECT_URL and REDIRECT_QUERY_STRING for
df11e5eab86d8247f58e301d8f0a2c6ecf4c9541Till Mossakowski * custom error responses, and DOCUMENT_ROOT because we found it useful.
df11e5eab86d8247f58e301d8f0a2c6ecf4c9541Till Mossakowski * It also adds SERVER_ADMIN - useful for scripts to know who to mail when