]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/apache/templates/vhost/_fastcgi.erb
add Openstack modules to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / apache / templates / vhost / _fastcgi.erb
1 <% if @fastcgi_server -%>
2
3   FastCgiExternalServer <%= @fastcgi_server %> -socket <%= @fastcgi_socket %>
4 <% end -%>
5 <% if @fastcgi_dir -%>
6
7   <Directory "<%= @fastcgi_dir %>">
8     Options +ExecCGI
9     AllowOverride All
10     SetHandler fastcgi-script
11   <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
12     Require all granted
13   <%- else -%>
14     Order allow,deny
15     Allow From All
16   <%- end -%>
17     AuthBasicAuthoritative Off
18   </Directory>
19
20   AllowEncodedSlashes On
21   ServerSignature Off
22 <% end -%>