XF 2.2 API endpoints not accessible after fresh install on debian buster

Oskar Atkinson

New member
Howdy,

I am trying to setup a local system to test/play with the API endpoints:

fresh clean install on debian buster, mariadb. The forums are are working fine. Accessible via


However,

http://webdev.mydomain.com/community/api/[any endpoint]

gives just an 404 - not found

on my production system however, I have no problems using an endpoint. Consequently I think something in my local install is not enabled or not configured.

Thanks for any hints

Oskar
 
Solution
I figured it out.
Apache 2 on Debian Buster per default in apache2.conf does not use .htaccess - so even with mod_rewrite enabled ... it ain't work. Needs to allow override

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
I figured it out.
Apache 2 on Debian Buster per default in apache2.conf does not use .htaccess - so even with mod_rewrite enabled ... it ain't work. Needs to allow override

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
 
Solution
Back
Top Bottom