Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
flashpoint Posted April 13 Posted April 13 (edited) 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 by flashpoint SeNioR- 1
Jim M Posted April 13 Posted April 13 50 minutes ago, flashpoint said: PHP 8.2.17 PHP 8.2 is not supported. You will need to run 8.0 or 8.1.
flashpoint Posted April 13 Author Posted April 13 8 minutes ago, Jim M said: 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.
Marc Posted April 15 Posted April 15 You'd be best to contact your hosting company to ask why its not supporting the headers in the first instance
Recommended Posts