mod_netware.c revision 2fe2d6ca1223e3ea902ea3f042a2b8c94ad01816
6903N/A/* Copyright 2002-2004 The Apache Software Foundation 6903N/A * Licensed under the Apache License, Version 2.0 (the "License"); 6903N/A * you may not use this file except in compliance with the License. 6903N/A * You may obtain a copy of the License at 4416N/A * Unless required by applicable law or agreed to in writing, software 4416N/A * distributed under the License is distributed on an "AS IS" BASIS, 4416N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 4416N/A * See the License for the specific language governing permissions and 4416N/A * limitations under the License. 4416N/A /* Handle the complete file name, we DON'T want to follow suexec, since 4416N/A * an unrooted command is as predictable as shooting craps in Win32. 4416N/A * Notice that unlike most mime extension parsing, we have to use the 4416N/A * win32 parsing here, therefore the final extension is the only one 4416N/A /* truncate any arguments from the cmd */ 4416N/A /* Figure out what the extension is so that we can matche it. */ 4416N/A /* If there isn't an extension then give it an empty string */ 4416N/A /* eliminate the '.' if there is one */ 4416N/A /* check if we have a registered command for the extension*/ 4416N/A "Could not find a command associated with the %s extension",
ext);
4416N/A /* If we have a registered command then add the file that was passed in as a 4416N/A parameter to the registered command. */ 4416N/A /* Run in its own address space if specified */ 4416N/A /* Tokenize the full command string into its arguments */ 4416N/A /* The first argument should be the executible */ 4416N/A "Full path to the CGI NLM module followed by a file extension. If the " 4416N/A "first parameter is set to \"OS\" then the following file extension is " 4416N/A "treated as NLM. The optional parameter \"detach\" can be specified if " 4416N/A "the NLM should be launched in its own address space."),