View Single Post
  #1   (View Single Post)  
Old 2nd August 2019
jonsec jonsec is offline
Port Guard
 
Join Date: Jul 2019
Posts: 24
Smile [httpd] 'fastcgi param' syntax error [Solved]

hi. i cant set fastcgi param and i get syntax error.

httpd.conf
Code:
prefork 10

server "test.example.com" {

    ...

    location match "^.+%.php$" {
        fastcgi socket "/run/php-fpm-example"
        fastcgi param HTTP_HOST "test.example.com" <--- syntax error
    }

    ...   

}

---------------------------------[Solved]

answer : httpd in OpenBSD 6.4 not support fastcgi param syntax.

Last edited by jonsec; 5th August 2019 at 07:01 PM.
Reply With Quote