AddHandler fcgid-script .fcgi IPCConnectTimeout 20 <% if node[:platform] == "centos" || node[:platform] == "redhat" || node[:platform] == "fedora" -%> # Sane place to put sockets and shared memory file SocketPath run/mod_fcgid SharememPath run/mod_fcgid/fcgid_shm <% end -%>