Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 13, 2024Apr 13 Hi all, I've been struggling to get my server to support auth headers for the API. I am using Plesk to manage everything and the forum is hosted on Apache with FPM. What I've tried so far Adding CGIPassAuth on to top of .htaccess for the /api/ subfolder Adding to top FcgidPassHeader Authorization of .htaccess I tried adding both to the apache directive I've tried adding FcgidPassHeader AUTHORIZATION to the primary fcgid.conf file and restarting the service I've also tried doing a combo of all the above I tried changing SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0 to SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1 in .htaccess I've tried a few things that I can't remember but I think I've tried everything that I've found from Googling maybe I missed something else that I can try. I'll appreciate all the help that I can get. Thanks! 🙂 Quick edit: I am running PHP 8.2.17 with FPM/FastCGI Server version: Apache/2.4.37 (AlmaLinux) Server built: Oct 18 2023 12:00:09 Edited April 13, 2024Apr 13 by flashpoint
April 13, 2024Apr 13 Community Expert PHP 8.2.17 PHP 8.2 is not supported. You will need to run 8.0 or 8.1.
April 13, 2024Apr 13 Author PHP 8.2 is not supported. You will need to run 8.0 or 8.1. No problem, downgraded to 8.0.3. I am still getting the same issue.
April 15, 2024Apr 15 Community Expert You'd be best to contact your hosting company to ask why its not supporting the headers in the first instance