http-apache22 revision 278
278N/A# The contents of this file are subject to the terms of the 278N/A# Common Development and Distribution License (the "License"). 278N/A# You may not use this file except in compliance with the License. 278N/A# See the License for the specific language governing permissions 278N/A# and limitations under the License. 278N/A# When distributing Covered Code, include this CDDL HEADER in each 278N/A# If applicable, add the following below this CDDL HEADER, with the 278N/A# fields enclosed by brackets "[]" replaced with your own identifying 278N/A# information: Portions Copyright [yyyy] [name of copyright owner] 278N/A# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. 278N/A#if startup options contain multiple arguments separated by a blank, 278N/A#then they should be specified as below 278N/A if [ "${PROPVAL}" = "\"\"" ] ; then 278N/Aif [
"x${APACHE_VERSION}" !=
"x" ];
then 278N/A echo "Apache version is ${APACHE_VERSION}" 278N/Aif [
"${PROPVAL}" !=
"" ] ;
then 278N/A # Check if the system architecture supports 64-bit applications 278N/A if [
"${PLATFORM}" !=
"64" ];
then 278N/A echo "This system is not capable of supporting 64-bit applications." 278N/A echo "Set \"enable_64bit\" property value to \"false\" to start the 32-bit server." 278N/A # Invalid value for "bitness" 278N/A echo "\"bitness\" property value is invalid. Starting the server in 32-bit mode" 278N/Aif [
"${PROPVAL}" !=
"" ] ;
then 278N/Aif [
"${PROPVAL}" !=
"" ] ;
then 278N/A # If HTTPD value is set in 278N/A # delete the line so that it defaults to prefork 278N/A if [
"${ALREADY_SET}" !=
"" ];
then 278N/A if [
"${ALREADY_SET}" !=
"" ];
then 278N/A if [
"x${APACHE_VERSION}" !=
"x" ];
then 278N/A echo "Unknown server_type" 278N/A echo "Usage: $0 {start|stop|refresh}" 278N/A echo "Server failed to start. Check the error log (defaults to ${APACHE_VAR_ROOT}/logs/error_log) for more information, if any."