Hi!
/Api/access_token
returns 404.
SuiteCRM version: 8.1
PHP-FPM version: 7.4
Apache config:
<VirtualHost *:80>
ServerName crm.example.com
DocumentRoot /var/www/crm.example.com/public/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory />
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/crm.example.com/public/>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
Include /etc/apache2/conf-available/php7.4-fpm.conf
</VirtualHost>
This Apache is behind an Nginx proxy.
- The
rewrite
module is enabled. - Tried to rebuild in admin page.
-
/lib/API/public/index.php
returns the good response (source). - Generated RSA keys.
curl http://localhost/Api/access_token
on localhost
https://crm.example.com/Api/index.php/access_token
on remote
https://crm.example.com/Api/access_token
on remote returns 404.
Any tips how can i use the API?
Thanks!