Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.31 KB

File metadata and controls

38 lines (29 loc) · 1.31 KB
title v23.03.01 > Special Characters in Apache Routing
category System Administrator > Installation Version Notes
redirect_from
/system_admin/version_notes/v23.03.01
/sysadmin/version_notes/v23.03.01

Release v23.03.01 includes an update to the rewrite rules to correctly encode special characters after the Apache 2.4.56 security update.

Note: Without this update, a few Submitty features will be buggy; for example, attempting to access Course Materials filepaths that include spaces or use Office Hour Queue names that include spaces will cause "Forbidden - You don't have permission to access this resource" errors.

Follow these steps to modify your rewrite rules.

  1. Edit /etc/apache2/sites-available/submitty.conf and find the lines:

    RewriteRule ^(.+)/index\.php$ /index.php?url=$1&%{QUERY_STRING} [NC,END]
    RewriteRule ^(.+)$ /index.php?url=$1&%{QUERY_STRING} [NC,END]
    

    and edit/replace those lines to add the B,

    RewriteRule ^(.+)/index\.php$ /index.php?url=$1&%{QUERY_STRING} [B,NC,END]
    RewriteRule ^(.+)$ /index.php?url=$1&%{QUERY_STRING} [B,NC,END]
    
  2. Restart Apache

    sudo systemctl restart apache2.service