• English
  • Japanese

OS/Software update information for Device

Added information about the web server for the shared work area. (2024/3/4)

Server Specification

Change Date

  • Personal web server

From 10:00am, April 1(Mon), 2024.

  • Shared workspace web server

From 10:00am, May 8(Wed), 2024.

Major Changes

  • Same contents for CNS personal Web server and Shared workspace Web server.
  • There is no change in place of directory (Folder) that saves contents.
Category Current Server New Server
OS Ubuntu 18.04 LTS Ubuntu 20.04 LTS
HTTP Server Apache httpd 2.4.29 Apache httpd 2.4.41
PHP 7.2 + suPHP 8.2 + suPHP
Perl 5.26.1 5.30.0
Ruby 2.5.1p57 3.2.2
Python 3 3.6.8 3.8.2
gcc 7.4.0 9.3.0
libc6 2.27 2.31
PostgreSQL client 10.1 12.17
MySQL client 5.7.27 8.0.35

PHP Operation Specification

  • PHP version is updated. No change in operation specification.
  • CNS personal Web server
Category Current Server New Server
PHP version 7.2 8.2
PHP operating mode CGI + suPHP No change
PHP executing user PHP script file owner No change
PHP script file owner User has to be the owner No change
PHP script file protection mode Confirm files that there’s no write permission of group and other No change
PHP Protection mode of directory existing PHP script files Confirm directory that there’s no write permission of group and other No change
  • CNS shared workspace web server
Category Current Server New Server
PHP version 7.2 8.2
PHP operating mode CGI + suPHP No change
PHP executing user PHP script file owner No change
PHP script file owner User has to be the owner No change
PHP script file protection mode Confirm files that there’s no write permission of group and other No change
PHP Protection mode of directory existing PHP script files Confirm directory that there’s no write permission of other No change

Test operation Web server

  • Specification of test operation server may change or stop service temporarily without prior notice.
  • Note that programs and contents developed or tested the operation with webedit-test.sfc.keio.ac.jp may not work with current Web server.
  • URL of Web server test operation for CNS personal website is as follows. You can confirm the operation with new server by accessing the following URL.
(For HTTPS) https://web.sfc.keio.ac.jp:11443/~loginname/
(For HTTP)  http://web.sfc.keio.ac.jp:11080/~loginname/
  • URL of Web server test operation for CNS Shared workspace is as follows. You can confirm the operation with new server by accessing the following URL.
(For HTTPS) https://example.sfc.keio.ac.jp:11443/
  • Web access to http://example.sfc.keio.ac.jp/ is redirected to https://example.sfc.keio.ac.jp/ in current server.
    In test operation, Web access to http://example.sfc.keio.ac.jp:11080/ is not redirected to https://example.sfc.keio.ac.jp:11443/.
    It will be redirected by creating .htaccess file under shared workspace and descripting the followings.
RewriteEngine On
RewriteCond %{SERVER_PORT} 11080
RewriteRule ^(.*)$ https://%{SERVER_NAME}:11443%{REQUEST_URI} [R=301,L]
  • In current server, as for measures for mixed contents, when web accessed to https://example.sfc.keio.ac.jp/, if web contents include URL of http://example.sfc.keio.ac.jp/, it will be rewritten to https://example.sfc.keio.ac.jp/.
    In test operation, this rewriting is not performed if web accessed to https://example.sfc.keio.ac.jp:11443/

Notes and Measure

  • Same detail for CMS personal Web server and CNS shared workspace Web server.

PHP

WordPress

  • The version of PHP will be changed from 7.2 to 8.2 on the new server, so if you have older versions of WordPress, plugins, or themes, they may not work properly on the new server. Please upgrade your version during the trial operation period, and make sure that it works properly on the new server.
  • When access to WordPress contents with test operation URL, it will be redirect to current server by WordPress specification. Because of this, you may not be able to confirm WordPress operation with new server.
  • WordPress has a setting for URL publishing on configuration information. When confirming the WordPress operation with new server, you will be able to reference by doing the procedure below.
  1. Login to WordPress admin screen with authorized user who can change settings.
  2. Open [Settings] - [General Settings].
  3. Rewrite the contents of "WordPress address (URL)" and "website address (URL)" to test operation server information.
    Area Protocol Before the change After the change
    CNS personal Web test operation HTTPS https://web.sfc.keio.ac.jp/~z00001tz/wp/ https//web.sfc.keio.ac.jp:11443/~z00001tz/wp/
    CNS personal Web test operation HTTP http://web.sfc.keio.ac.jp/~z00001tz/wp/ http://web.sfc.keio.ac.jp:11080/~z00001tz/wp/
    CNS virtual host Web test operation HTTPS https:/example.sfc.keio.ac.jp/wp/ https//example.sfc.keio.ac.jp:11443/wp/
  4. Save your changes.
  5. Web access to WordPress content page and check that it has redirected to new server (test operation).
  6. If not displayed correctly etc., contact to Shonan Fujisawa Information Technology Center.
  7. To restore, undo by the same procedure. We recommend restoring when finished confirming the operation.

After setting up the above, WordPress may not work properly on the new server, and you may not be able to access the WordPress admin page. Create a .htaccess file and write the following to be redirected to the current server. (If your .htaccess file already exists, please add the following settings to it.)

RewriteEngine On
RewriteCond %{SERVER_PORT} 11443
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

Moodle

  • Moodle will no longer work on the new server due to version compatibility issues between PHP and DB.

Movable Type

  • Version 6 and later of Movable Type is no longer open source software.
  • Movable Type individual free version licenses from version 6 onwards can no longer be used in a CNS environment, so operation has not been verified at the Shonan Fujisawa Information Technology Center.

Last-Modified: April 24, 2024

The content ends at this position.