Journal domain name in mulsite installation gives error

I followed this setting: Each journal with its own domain name - #30 by florianruckelshausen and one of my journal has its own domain, but it gives always this error in the interface:
Schermata da 2022-03-24 17-24-40
In the server log I got this:

[Tue Mar 29 15:11:34.530832 2022] [php7:notice] [pid 172402] [client] ojs2: 404 Not Found, referer: journalurl

Those are my precise settings.
In .htaccess:

RewriteEngine On RewriteBase / 
#Journal has its own domain RewriteCond %{SERVER_NAME} ^(www\.)?
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^(.*)$ /index.php/url/$1 [QSA,L]

In the config.php:

base_url[journal] =
base_url[test] = 
allowed_hosts = "[\"", ""]"
restful_urls = On

Created the specific conf file in sites-available and enabled with a2ensite:


        <Directory /var/www/ojs>
                Options Indexes FollowSymLinks Multiviews
                AllowOverride All
                Order allow,deny
                allow from all

What can be wrong?


I followed this: [OJS] Error on Submission Page - #24 by KBodarwe and it seems to be working. I am wondering if there will be problems with the DOI plugin for the different journals I have. I hope not.

This topic was automatically closed after 10 days. New replies are no longer allowed.