X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=blobdiff_plain;f=3rdparty%2Fmodules%2Fapache%2Ftemplates%2Fvhost%2F_fastcgi.erb;fp=3rdparty%2Fmodules%2Fapache%2Ftemplates%2Fvhost%2F_fastcgi.erb;h=3a2baa5596a691c1042b99b51cd7aa27bb3da285;hp=0000000000000000000000000000000000000000;hb=4631045ebb77ee8622f6fa09277a50c372bcc02e;hpb=3d4dc4fd9e59bd0e07646c99f6b356c7d9d859aa diff --git a/3rdparty/modules/apache/templates/vhost/_fastcgi.erb b/3rdparty/modules/apache/templates/vhost/_fastcgi.erb new file mode 100644 index 00000000..3a2baa55 --- /dev/null +++ b/3rdparty/modules/apache/templates/vhost/_fastcgi.erb @@ -0,0 +1,22 @@ +<% if @fastcgi_server -%> + + FastCgiExternalServer <%= @fastcgi_server %> -socket <%= @fastcgi_socket %> +<% end -%> +<% if @fastcgi_dir -%> + + "> + Options +ExecCGI + AllowOverride All + SetHandler fastcgi-script + <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%> + Require all granted + <%- else -%> + Order allow,deny + Allow From All + <%- end -%> + AuthBasicAuthoritative Off + + + AllowEncodedSlashes On + ServerSignature Off +<% end -%>