SCORM - Slash Arguments = true - Site destroyed

SCORM - Slash Arguments = true - Site destroyed

by Robert Vogel -
Number of replies: 1

Hello Community, 

I use Moodle: 3.3

I set the $CFG->slasharguments = true; in the config.php

I set up a php.ini file with >> cgi.fix_pathinfo = 0

(I checked out via phpinfo, the value is changed)

I integrate in  the .htaccess >> AcceptPathInfo On

Host: 1and1 in Germany

The WebSite is completely damaged. Take a look at http://secure.irooms.digital

It should look like this: https://irooms.digital

Thanks for your help

Regards

Robert

Average of ratings: -
In reply to Robert Vogel

Re: SCORM - Slash Arguments = true - Site destroyed

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Robert,
if I go to https://secure.irooms.digital/ - HTTPS, otherwise Moodle will complain about accessing via HTTP, the end effect is that Moodle is using slash argument but the underline web server doesn't support it.

From what you write and the HTTP headers in the responses it looks like you're running PHP 7.1.15 under Apache with HTTP2 support enabled.

I'd say that you should ask your Hosting Provider for configuring your account/instance with a proper PATH_INFO support but strange things happen here sampling the URLs called by the home:

At the end, I can say that you've a slash argument friendly web server configuration but you need to check how the new Moodle instance has been deployed:

  1. theme: if you switch to boost most of the things will probably work as expected. Guessing that the remui theme has not been (properly?) deployed there too
  2. you should invalidate the caches by removing everything under the /cache and /localcache directories within the dataroot of this instance

HTH,
Matteo