summaryrefslogtreecommitdiff
path: root/templates/vhosts/gitweb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-04-14 23:03:56 +0200
committermh <mh@immerda.ch>2014-04-14 23:03:56 +0200
commit49d954d80d8b340dfcfdf939092d57754c3449f8 (patch)
tree5862e29b0cb272245618dfd41e926c23946f6b8d /templates/vhosts/gitweb
parentc52c48534d76b0a9c965784bd12eb1c1fccd94c6 (diff)
more identation fixing
Diffstat (limited to 'templates/vhosts/gitweb')
-rw-r--r--templates/vhosts/gitweb/partial.erb24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/vhosts/gitweb/partial.erb b/templates/vhosts/gitweb/partial.erb
index c04f1c3..35c574e 100644
--- a/templates/vhosts/gitweb/partial.erb
+++ b/templates/vhosts/gitweb/partial.erb
@@ -1,17 +1,17 @@
- SetEnv GITWEB_CONFIG <%= gitweb_config %>
- DirectoryIndex gitweb.cgi
- <Directory "<%= documentroot %>/">
+ 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 -%>
+ 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
- <Files gitweb.cgi>
- Options ExecCGI FollowSymLinks
- SetHandler cgi-script
- </Files>
- RewriteEngine on
- RewriteRule ^[a-zA-Z0-9_-]+.git/?(\?.)?$ /gitweb.cgi%{REQUESTURI} [L,PT]
+ AddHandler cgi-script .cgi
+ <Files gitweb.cgi>
+ Options ExecCGI FollowSymLinks
+ SetHandler cgi-script
+ </Files>
+ RewriteEngine on
+ RewriteRule ^[a-zA-Z0-9_-]+.git/?(\?.)?$ /gitweb.cgi%{REQUESTURI} [L,PT]
<%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %>
- </Directory>
+ </Directory>