Hello...Our project has moved to a new OS that needs PHP-FPM I got the httpd to work sites are serving no problem via Unix Socket using FastCGI mod
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/path/to/socket.sock|fcgi://localhost/path/to/your/documentroot/
+ Reverse with <FilesMatch "\.php$"> # Note: The only part that varies is /path/to/app.sock SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/url" </FilesMatch>SITE HTTP/View is accessible but the problem is with POST, in CENTOS environment works without any configuration because no php-fpm.
I am getting error 500 when going over 80192.168.1**.* - - [29/Jul/2021:22:12:19 -0400] "POST "URL_WEB_HOOK HTTP/1.1" 500 1754568 "-" "GuzzleHttp/7"
VIA CURL in the box/VM192.168.**.1** - - [29/Jul/2021:23:05:20 -0400] "POST [API_WEB_HOOK_URL] HTTP/1.1" 404 6609 "-" "curl/7.77.0"
Virtual host, I have tried with/without handler/reverse to the sock. <IfModule rewrite_module> RewriteEngine On RewriteBase / # RewriteRule ^index\.html$ - [L] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule . /index.html [L] RewriteRule . /index.php [L] # RewriteCond %{HTTP:Authorization} ^(.*) # RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_FILENAME} \.php$ RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_URI} !-f RewriteRule (.*) - [H=text/html] </IfModule> .htaccess on PHP DIRECTORY/Project Options +FollowSymLinks #AllowOverride All #Require all granted #SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 <IfModule rewrite_module> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # RewriteCond %{HTTP:Authorization} ^(.*) # RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] </IfModule>I have tried few alternative ideas but can't get POST to work. Not sure if relevant but we use authorization via header. Any assistance will be appreciated going on 4+ days strong tested briefly with reverse proxy via Nginx also.
Server version: Apache/2.4.48 - Thank you, Josh -- _________________________________________________________IMPORTANT: The information contained in this communication is confidential
and/or legally privileged, and should be for the use only of the addressee(s). If you are not the intended recipient, please contact the sender and destroy all copies of this message and any attachments. Anydisclosure, copying, distribution or taking any action in reliance on this
information other than by the intended recipient is strictly prohibited and may be unlawful. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx