summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/php_gallery2/CentOS.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/vhosts/php_gallery2/CentOS.erb b/templates/vhosts/php_gallery2/CentOS.erb
index 37fac4b..93d6596 100644
--- a/templates/vhosts/php_gallery2/CentOS.erb
+++ b/templates/vhosts/php_gallery2/CentOS.erb
@@ -51,6 +51,7 @@
php_admin_value safe_mode_exec_dir <%= real_php_safe_mode_exec_bin_dir %>
<%- end -%>
# Always rewrite login's
+ # Source: http://gallery.menalto.com/node/30558
RewriteEngine On
RewriteCond %{HTTP_COOKIE} ^GALLERYSID= [OR]
RewriteCond %{QUERY_STRING} subView=core\.UserLogin