From f9f925230cee5c41f77357b7b1c8925e4a0caf7c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 27 Jun 2013 16:47:54 -0300 Subject: Be more explicit on virtual and transport regexps and allow more virtual domains to be defined --- templates/firma/transport_regexp.erb | 4 ++-- templates/firma/virtual_regexp.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/firma') diff --git a/templates/firma/transport_regexp.erb b/templates/firma/transport_regexp.erb index 27c65af..fb715f5 100644 --- a/templates/firma/transport_regexp.erb +++ b/templates/firma/transport_regexp.erb @@ -1,2 +1,2 @@ -/^.*+request\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ firmarequest: -/^.*\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ firma: +/^.*+request\@<%= subdomain.gsub(/\./, '\.') %>$/ firmarequest: +/^.*\@<%= subdomain.gsub(/\./, '\.') %>$/ firma: diff --git a/templates/firma/virtual_regexp.erb b/templates/firma/virtual_regexp.erb index 767f3c1..310cacd 100644 --- a/templates/firma/virtual_regexp.erb +++ b/templates/firma/virtual_regexp.erb @@ -1 +1 @@ -/^(.*)-request\@<%= subdomain.gsub(/\./, '\.') %>\.(.*)$/ $1+request@<%= subdomain %>.$2 +/^(.*)-request\@<%= subdomain.gsub(/\./, '\.') %>$/ $1+request@<%= subdomain %> -- cgit v1.2.3