OJS crashes in multijournal when upload logo

Hi!
I created 12 journals and used subdomain for each.
For example.
firstjournal.example.com
goes to same document root as other 11 but in .htaccess I rewrite inner url to same domain with uri index.php/firstjournal.

I didn’t use base_url[index] because it crashed the site and also I turned off restful_urls.
My .htaccess file
RewriteEngine on
#RewriteBase /
RewriteCond %{HTTP_HOST} ^(.*)\.jspi\.uz$ [NC]
RewriteRule ^((?!index\.php).*)$ /index.php/%1/$1 [L,NC]

Now it works fine no problem.
Actual problem is that when I upload a logo for each journal, the whole site crashes
I tried to upload a logo to first.example.com, and it crashed i couldn’t work on this subdomain. But I can access this context via other subdomain. And when i try to upload a logo to secon.example.com and as I expected, this domain also crashes. But context works with third subdomain.

This is the problem
Screenshot_1

Hi @Abror_Aliboyev,

I suspect your rewriting configuration is making some necessary JS assets unavailable. Check to ensure that the browser is able to access the OJS javascript assets.

Regards,
Alec Smecher
Public Knowledge Project Team