AddHandler fcgid-script .fcgi IPCConnectTimeout 20 <% if %w[rhel fedora].include?(node['platform_family']) -%> # Sane place to put sockets and shared memory file SocketPath run/mod_fcgid SharememPath run/mod_fcgid/fcgid_shm <% end -%>