mod_netware.c revision 1079536268898f733a5f646c3c9a1e040e0146a8
6320N/A/* ==================================================================== 6320N/A * The Apache Software License, Version 1.1 6320N/A * Copyright (c) 2000-2002 The Apache Software Foundation. All rights 6320N/A * Redistribution and use in source and binary forms, with or without 6320N/A * modification, are permitted provided that the following conditions 6320N/A * 1. Redistributions of source code must retain the above copyright 6320N/A * notice, this list of conditions and the following disclaimer. 6320N/A * 2. Redistributions in binary form must reproduce the above copyright 6320N/A * notice, this list of conditions and the following disclaimer in 6320N/A * the documentation and/or other materials provided with the 6320N/A * 3. The end-user documentation included with the redistribution, 6320N/A * if any, must include the following acknowledgment: 6320N/A * "This product includes software developed by the 6320N/A * Alternately, this acknowledgment may appear in the software itself, 6320N/A * if and wherever such third-party acknowledgments normally appear. 6320N/A * 4. The names "Apache" and "Apache Software Foundation" must 6320N/A * not be used to endorse or promote products derived from this 6320N/A * software without prior written permission. For written 6320N/A * permission, please contact apache@apache.org. 6320N/A * 5. Products derived from this software may not be called "Apache", 6320N/A * nor may "Apache" appear in their name, without prior written 6320N/A * permission of the Apache Software Foundation. 6320N/A * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 6320N/A * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 6320N/A * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 6320N/A * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 6320N/A * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 6320N/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 6320N/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 6320N/A * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 6320N/A * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 6320N/A * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 6320N/A * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 6320N/A * ==================================================================== 6320N/A * This software consists of voluntary contributions made by many 6320N/A * individuals on behalf of the Apache Software Foundation. For more 6320N/A * information on the Apache Software Foundation, please see 6320N/A * Portions of this software are based upon public domain software 6320N/A * originally written at the National Center for Supercomputing Applications, 6320N/A * University of Illinois, Urbana-Champaign. 6320N/A /* Handle the complete file name, we DON'T want to follow suexec, since 6320N/A * an unrooted command is as predictable as shooting craps in Win32. 6320N/A * Notice that unlike most mime extension parsing, we have to use the 6320N/A * win32 parsing here, therefore the final extension is the only one 6320N/A /* If it is an NLM then just execute it. */ 6320N/A "Could not find a command associated with the %s extension",
ext);
6320N/A "full path to the CGI NLM module followed by one or more file extensions"),