Description
When following the instructions listed at https://docs.espocrm.com/administrat...configuration/ for v7 for a custom portal, the calls to any script involving /api/v1/portal-access/ result in a 501 Not implemented error. I am using Apache 2.4 on a CPanel server
To Reproduce
Steps to reproduce the behavior:
Alias /client/ /{path_to_espo}/client/
Alias /api/v1/ /{path_to_espo}/public/api/v1/
<Directory /{path_to_espo}/public/>
AllowOverride All
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=ESPO_PORTAL_ID:{PORTAL_ID}]
</IfModule>
...
Expected behavior
I expect the portal login page to load currently and it does not. The scripts calling /api/v1/portal-access/ result in a 501 Not Implemented error
Screenshots
If applicable, add screenshots to help explain your problem.
EspoCRM version
Specify the EspoCRM version (or versions) on which the bug occurs.
7.4.3, 7.4.4
Additional context
It is unclear as to why the /client/ Alias works as expected as all the requests for those files seem to load fine. It is specific to the XHR requests for
https://{custom-domain-name}/api/v1/portal-access/{portal-id}/Settings
https://{custom-domain-name}/api/v1/portal-access/{portal-id}/I18n?default=true
These both result in 501 Not Implemented errors with nothing in the Espo Log to debug the issue.
When following the instructions listed at https://docs.espocrm.com/administrat...configuration/ for v7 for a custom portal, the calls to any script involving /api/v1/portal-access/ result in a 501 Not implemented error. I am using Apache 2.4 on a CPanel server
To Reproduce
Steps to reproduce the behavior:
- Fresh install of Espo 7.4.3
- Create a custom portal with custom url
- In apache .conf file, configure in accordance with documentation specified above:
Alias /client/ /{path_to_espo}/client/
Alias /api/v1/ /{path_to_espo}/public/api/v1/
<Directory /{path_to_espo}/public/>
AllowOverride All
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=ESPO_PORTAL_ID:{PORTAL_ID}]
</IfModule>
...
Expected behavior
I expect the portal login page to load currently and it does not. The scripts calling /api/v1/portal-access/ result in a 501 Not Implemented error
Screenshots
If applicable, add screenshots to help explain your problem.
EspoCRM version
Specify the EspoCRM version (or versions) on which the bug occurs.
7.4.3, 7.4.4
Additional context
It is unclear as to why the /client/ Alias works as expected as all the requests for those files seem to load fine. It is specific to the XHR requests for
https://{custom-domain-name}/api/v1/portal-access/{portal-id}/Settings
https://{custom-domain-name}/api/v1/portal-access/{portal-id}/I18n?default=true
These both result in 501 Not Implemented errors with nothing in the Espo Log to debug the issue.
Comment