diff options
Diffstat (limited to 'templates/vhosts/gitweb')
-rw-r--r-- | templates/vhosts/gitweb/partial.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/vhosts/gitweb/partial.erb b/templates/vhosts/gitweb/partial.erb index 35c574e..d7765bf 100644 --- a/templates/vhosts/gitweb/partial.erb +++ b/templates/vhosts/gitweb/partial.erb @@ -1,8 +1,8 @@ - SetEnv GITWEB_CONFIG <%= gitweb_config %> + SetEnv GITWEB_CONFIG <%= @gitweb_config %> DirectoryIndex gitweb.cgi - <Directory "<%= documentroot %>/"> -<% if options.to_s != 'absent' || do_includes.to_s == 'true'-%> - Options <% unless options.to_s == 'absent' -%><%= options %><% end -%><% if do_includes.to_s == 'true' && !options.include?('+Includes') -%> +Includes<% end -%><% unless options.include?('+ExecCGI') -%> +ExecCGI<% end -%> + <Directory "<%= @documentroot %>/"> +<% if @options.to_s != 'absent' || @do_includes.to_s == 'true'-%> + Options <% unless @options.to_s == 'absent' -%><%= @options %><% end -%><% if @do_includes.to_s == 'true' && !@options.include?('+Includes') -%> +Includes<% end -%><% unless @options.include?('+ExecCGI') -%> +ExecCGI<% end -%> <% end -%> AddHandler cgi-script .cgi |