Changeset 29609 for other-projects


Ignore:
Timestamp:
12/12/14 15:31:49 (6 years ago)
Author:
davidb
Message:

Switch to using JESSIONID as part of the flagname, so everyone visiting the site gets to design their flag in private.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/INSTALL.sh

    r29573 r29609  
    55echo ""
    66echo "****"
    7 echo "* 1. Making render-3d/images/flag.png world-writable to ensure web server can write to it"
     7echo "* 1. Making 'render-3d/images/' world-writable to ensure web server can write to it"
     8echo "*    => chmod a+rwx render-3d/images"
     9echo "*    => chmod a+rw render-3d/images/*.png"
    810echo "****"
    9 chmod a+rwx render-3d/images/flag.png
     11chmod a+rwx render-3d/images/
     12chmod a+rw render-3d/images/*.png
    1013
    11 #echo ""
    1214echo "****"
    1315echo "* 2. Creating Tomcat config file: $config_file"
     
    1517
    1618
    17 echo "<Context path=\"/nz-flag-design\""   > "$config_file"
    18 echo "  docBase=\""`pwd`"\""               >> "$config_file"
    19 echo "   debug=\"1\" reloadable=\"true\""  >> "$config_file"
    20 echo "  allowLinking=\"true\">"            >> "$config_file"
    21 echo "</Context>"                          >> "$config_file"
     19echo "<Context path=\"/nz-flag-design\""         > "$config_file"
     20echo "  useHttpOnly=\"false\""                   >> "$config_file"
     21echo "  docBase=\""`pwd`"\""                     >> "$config_file"
     22echo "  debug=\"1\" reloadable=\"true\""         >> "$config_file"
     23echo "  allowLinking=\"true\">"                  >> "$config_file"
     24echo "    <Manager pathname=\"SESSIONS.ser\" />" >> "$config_file"
     25echo "</Context>"                                >> "$config_file"
    2226
    2327#echo ""
    24 echo "**** ... Done"
     28echo "+++ ... Done"
    2529#echo ""
    2630
Note: See TracChangeset for help on using the changeset viewer.