Open WWO

From Digital Scholarship Group
Jump to navigation Jump to search

Making WWO open to the public

To make WWO generally available, rather than restricted only to licensed institutions, etc., the following has to be done on wwp-test for testing and then reflected on wwp.

  • at start of free period
    1. $ cd /etc/httpd/Apache2/
    2. check to see that IPAccessLog1.pm.standard exists (should be same as current IPAccessLog1.pm)
    3. $ cp IPAccessLog1.pm.allauth IPAccessLog1.pm
    4. check to see that IPAccess.pm.standard exists (should be same as current IPAccess.pm)
    5. $ cp IPAccess.pm.allauth IPAccess.pm
    6. restart apache2:
      • $ sudo /etc/init.d/httpd stop && sudo /etc/init.d/httpd start
      • OR
      • $ sudo systemctl restart httpd
      • (Note that sudo apachectl --graceful did not seem to work 2015-03-15.)
  • at end of free period
    1. $ cd /etc/httpd/Apache2/
    2. check to see that IPAccessLog1.pm.allauth exists (should be same as current IPAccessLog1.pm)
    3. $ cp IPAccessLog1.pm.standard IPAccessLog1.pm
    4. check to see that IPAccess.pm.allauth exists (should be same as current IPAccess.pm)
    5. $ cp IPAccess.pm.standard IPAccess.pm
    6. restart apache2:
      • $ sudo /etc/init.d/httpd stop && sudo /etc/init.d/httpd start
      • OR
      • $ sudo systemctl restart httpd
      • (Note that sudo apachectl --graceful did not seem to work 2015-03-15.)

Remember to do this on wwp-test, then test it, and then reflect changes on wwp. Currently the directory on wwp-test is under Subversion control, the one on wwp is not. (Ostensibly to make it more difficult to update the production machine, so it doesn't happen by accident.)