[OJS 3] Test server - REST urls not working... again

Hello all,

I’m trying to enable RESTFUL urls on a testing/development server for OJS 3.
Apache is 2.4.
Document root is /var/www.
OJS 3 is in /var/www/ojs3.

I’ve read many posts on the subject, but nothing solves the problem, yet…

Rewrite rules are working, but OJS is not finding the pages.

Index page is loading like this:

Config.inc.php

; The canonical URL to the OJS installation (excluding the trailing slash)
base_url = “http://172.25.0.53/ojs3

; Base URL override settings: Entries like the following examples canbase_url[index] = http://172.25.0.53/ojs3
base_url[ciinf] = http://172.25.0.53/ojs3/ciinf
base_url[inclusao] = http://172.25.0.53/ojs3/inclusao
base_url[lalca] = http://172.25.0.53/ojs3/lalca
base_url[liinc] = http://172.25.0.53/ojs3/liinc
base_url[editora] = http://172.25.0.53/ojs3/editora
base_url[fiinf] = http://172.25.0.53/ojs3/fiinf
base_url[p2p] = http://172.25.0.53/ojs3/p2p

; Generate RESTful URLs using mod_rewrite.
restful_urls = On

Apache default sites enabled conf:
(Commented rules are from OJS 2.x server which are working)

<Directory /var/www/ojs3>
AddType application/x-httpd-php .php
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride All
Order allow,deny
allow from all
IndexOptions +Charset=UTF-8
AddDefaultCharset utf-8
Options -Includes -ExecCGI
php_value max_input_vars 900000
php_value upload_max_filesize 60M
php_value post_max_size 60M
php_value memory_limit 1G

            <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^(ciinf|cienciadainformacao|inclusao|fiinf|p2p|lalca|liinc|editora|tpbci)(.*)$ /index.php/$1$2 [L]

            #RewriteCond %{REQUEST_FILENAME} !-d
            #RewriteCond %{REQUEST_FILENAME} !-f
            #RewriteRule ^(.*)$ /index.php/index/$1 [QSA,L]
            #RewriteRule /ciinf/index.php/ciinf/index /ciinf [R=301]

            RewriteRule /lalca/(.*) http://lalca.acv.ibict.br/$1 [R=301]

            # For Apache < 2.2
            #RewriteCond %{REQUEST_FILENAME} !-d
            #RewriteCond %{REQUEST_FILENAME} !-f
            # For Apache 2.2 and greater
            RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
            RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
            # Do not rewrite URI with /index.php/ as a path component
            RewriteCond %{REQUEST_URI} !^.*/index.php/.*$
            # Rewrite non-file, non-directory URLs to OJS's index.php
            RewriteRule ^/ojs3/(.*)$ /ojs3/index.php/$1 [QSA,L]

            </IfModule>

Hello all,

Unfortunately, I cannot make RESTful URLs work on the testing server. Disabled from Apache and OJS configuration. Now OJS is working…