Restful URLs not working (OJS 3.3.0-13)

Describe the issue or problem
After configuring restful URLs (according to only the index page can be reached, with javascript and images, but without stylesheets. Subsequent pages (incl. different journal pages) also cannot be loaded.

Steps I took leading up to the issue

  1. config rewriting rules on the server level (httpd.conf)
  2. Set the restful_url = true in
  3. Set base_url to “https://xx.xx.xx.xx
  4. call base url

What application are you using?
OJS 3.3.0-13

Additional information
We use a reverse-proxy to handle the (https) requests.

Thanks for any ideas!

Just noticed that URLs that use “index.php” still can be called: Such as
But also in this case the stylesheets are not loaded.

Sorry for the long silence Felix.

Did you find the way to make it run?

When it happens, my first guess would be server’s caching.
Try removing it from OJS admin pages or with something like:

find /var/www/html/cache -type f -delete

If it’s not cache, I will check twice force_ssl=On and trust_x_forwarded_for = On as well as your mod_rewrite rules to ensure you include the proper redirections for the /api calls.

To help with the issue the logs from your missing hits trying to reach css and the frontend errors could also be helpful.


Thanks for your reply @marc!
I tried as suggested, and with the help of our webadmin the restful URLs are now working : )

1 Like