Changeset 1103


Ignore:
Timestamp:
Apr 25, 2009, 11:17:56 PM (15 years ago)
Author:
mitchb
Message:
Uncommitted scriptsstar changes from the locker
Location:
locker/deploy/bin
Files:
4 copied

Legend:

Unmodified
Added
Removed
  • locker/deploy/bin/mediawiki-star

    r732 r1103  
    22use strict;
    33use lib '/mit/scripts/deploy/bin';
    4 use onserver;
     4use onserver_star;
    55
    66setup();
  • locker/deploy/bin/onathena-star

    r732 r1103  
    8989echo
    9090echo "Your new copy of $sname will appear on the web at a URL"
    91 echo "that starts with http://scripts.mit.edu/~$lname/"
     91echo "that starts with http://$lname.scripts.mit.edu/"
    9292echo "Please decide upon a complete URL and enter it below."
    93 echo "You must enter one or more characters after ~$lname/"
     93echo "You must enter one or more characters after /"
    9494echo "The completed address must only contain a-z, 0-9, and /."
    95 printf "Desired address: http://scripts.mit.edu/~$lname/"
     95printf "Desired address: http://$lname.scripts.mit.edu/"
    9696read addrend
    9797
     
    100100        echo
    101101        echo "ERROR:"
    102         echo "You must enter one or more characters after ~$lname/"
     102        echo "You must enter one or more characters after /"
    103103        echo "The completed address must only contain a-z, 0-9, and /."
    104104        exit 1
     
    183183fs sa . daemon.scripts write
    184184fs sa . system:scripts-security-upd write
    185 echo "This directory is used to store temporary files such as sessions. If you delete it, auto-installed packages will fail." > DO_NOT_DELETE.txt
     185echo "This directory is necessary to store login sessions and other transient files for auto-installed packages from scripts.mit.edu." > DO_NOT_DELETE.txt
    186186mkdir -p "$lroot/web_scripts/$addrend"
    187187cd "$lroot/web_scripts/$addrend"
     
    233233echo "== Installation complete! =="
    234234echo "You should now be able to access your new copy of $sname at"
    235 echo "http://scripts.mit.edu/~$lname/$addrend/"
     235echo "http://$lname.scripts.mit.edu/$addrend/"
    236236echo "(You can replace the http with https if you want to use encryption)"
    237237echo "If you have trouble accessing it, feel free to contact"
  • locker/deploy/bin/onserver_star.pm

    r732 r1103  
    1 package onserver;
     1package onserver_star;
    22use strict;
    33use Exporter;
     
    8787  ($addrlast) = ($addrend =~ /([^\/]*)$/);
    8888 
    89   $base_uri = "http://$server/~$USER/$addrend/";
     89  $base_uri = "http://$USER.$server/$addrend/";
    9090 
    9191  if($requires_sql) {
  • locker/deploy/bin/wordpress-star

    r743 r1103  
    22use strict;
    33use lib '/mit/scripts/deploy/bin';
    4 use onserver;
     4use onserver_star;
    55use DBI;
    66
Note: See TracChangeset for help on using the changeset viewer.