Solution IONOS and OJS 3.3.X
change $_SERVER[‘PATH_INFO’] by $_SERVER[‘ORIG_PATH_INFO’] in this files
- lib/pkp/classes/core/PKPComponentRouter.inc.php: if (!isset($_SERVER['PATH_INFO'])) return null;
- lib/pkp/classes/core/PKPComponentRouter.inc.php: $pathInfoParts = explode('/', trim($_SERVER['PATH_INFO'], '/'));
- lib/pkp/classes/core/PKPRequest.inc.php: $this->_requestPath .= isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : '';
- lib/pkp/classes/core/PKPRouter.inc.php: if (isset($_SERVER['PATH_INFO'])) {
- lib/pkp/classes/core/PKPRouter.inc.php: $url = $_SERVER['PATH_INFO'];
- lib/pkp/classes/core/APIRouter.inc.php: if ($pathInfoEnabled && isset($_SERVER['PATH_INFO'])) {
- lib/pkp/classes/core/APIRouter.inc.php: return explode('/', trim($_SERVER['PATH_INFO'], '/'));
- lib/pkp/classes/core/PKPPageRouter.inc.php: $id = isset($_SERVER['PATH_INFO'])?$_SERVER['PATH_INFO']:'index';
- lib/pkp/classes/core/PKPPageRouter.inc.php: if (isset($_SERVER['PATH_INFO'])) {
- lib/pkp/classes/core/PKPPageRouter.inc.php: $url = $_SERVER['PATH_INFO'];
- lib/pkp/classes/handler/APIHandler.inc.php: if (!$pathInfoEnabled && !is_null($endpoint) && !isset($_SERVER['PATH_INFO']) && ($path == '/')) {
- lib/pkp/classes/handler/APIHandler.inc.php: $newUri = $uri->withPath($_SERVER['PATH_INFO']);
Create .htaccess with this content
RewriteRule ^$ /index.php/index [L]
ErrorDocument 404 /404.html