summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_gallery2/partial.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php_gallery2/partial.erb')
-rw-r--r--templates/vhosts/php_gallery2/partial.erb16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/vhosts/php_gallery2/partial.erb b/templates/vhosts/php_gallery2/partial.erb
index 448f720..26d33ee 100644
--- a/templates/vhosts/php_gallery2/partial.erb
+++ b/templates/vhosts/php_gallery2/partial.erb
@@ -1,4 +1,4 @@
- <Directory "<%= documentroot %>/">
+ <Directory "<%= documentroot %>/">
<%= scope.function_template(['apache/vhosts/partials/std_override_options.erb']) %>
<%= scope.function_template(['apache/vhosts/partials/php_settings.erb']) %>
@@ -6,11 +6,11 @@
<%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %>
<% if vhost_part != :ssl -%>
- # Always rewrite login's
- # Source: http://gallery.menalto.com/node/30558
- RewriteEngine On
- RewriteCond %{HTTP_COOKIE} ^GALLERYSID= [OR]
- RewriteCond %{QUERY_STRING} subView=core\.UserLogin
- RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [NE,R,L]
+ # Always rewrite login's
+ # Source: http://gallery.menalto.com/node/30558
+ RewriteEngine On
+ RewriteCond %{HTTP_COOKIE} ^GALLERYSID= [OR]
+ RewriteCond %{QUERY_STRING} subView=core\.UserLogin
+ RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [NE,R,L]
<% end -%>
- </Directory>
+ </Directory>