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