Ignore:
Timestamp:
2009-09-15T20:08:34+12:00 (15 years ago)
Author:
ak19
Message:

Changes to Server.jar and affected files to add address_resolution options. 1. glisite.cfg.in and llssite.cfg.in have a host property where the host as specified or resolved from IP is stored. 2. gsicontrol.sh changed to set AllowFrom value to either the host specified OR to All if allow from all is checked in the GSI dialog. 3. New string properties added to server.properties for the updated GSI dialog for GS2. 4. log4j.properties.in updated so that the logger now can write to the console as well as the logfile specified (server.log in this case). At present only ERROR messages written to the logger are displayed in the console as well as logger message types that are higher up in the log4j hierarchy. 5. Server.jar updated after the changes to the GS3 server code (recompiled with Java 5).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/gsicontrol.sh

    r20342 r20603  
    5858        allowfrom="all"
    5959    else
    60         allowfrom="127.0.0.1"
     60    echo "Enter host (hostname, IP, localhost, 127.0.0.1) to use:"
     61    read host ;
     62    allowfrom=$host
     63    if [ $allowfrom == "localhost" ]; then
     64        allowfrom="127.0.0.1" ;
     65    fi
    6166    fi
    6267
     
    9499    echo "Configuring the apache webserver..." ;
    95100    port=`egrep "^portnumber" $configfile | awk -F= '{print $2}'` ;
    96 
     101   
    97102    externalaccess=`egrep "^externalaccess" $configfile | awk -F= '{print $2}'` ;
    98103    if [ $externalaccess == "1" ] ; then
     
    100105    else
    101106    externalaccess="no"
    102     fi
    103 
    104     echo -e "$port\n$externalaccess" | _configure-port-and-connection ;
     107    host=`egrep "^host" $configfile | awk -F= '{print $2}'` ;
     108    fi
     109
     110    echo -e "$port\n$externalaccess\n$host" | _configure-port-and-connection ;
    105111    if test -e "$GSDLHOME/apache-httpd/$GSDLOS/conf/httpd.conf" ; then
    106112    echo $MONITOR_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.