Further tweaks that expose another bug - ignore with proxies leads to Not Found errors. Same issue as #302.

This commit is contained in:
Ben Hollis 2012-03-11 23:09:43 -07:00
parent 9555266ac1
commit 6edefe3c68

View file

@ -14,16 +14,16 @@ page "target_ignore3.html", :proxy => "should_be_ignored7.html", :ignore => true
page "/target_ignore4.html", :proxy => "should_be_ignored8.html", :ignore => true
%w(one two).each do |num|
page "/fake/#{num}.html", :proxy => "/real/index.html" do
page "/fake/#{num}.html", :proxy => "/real/index.html", :ignore => true do
@num = num
end
page "fake2/#{num}.html", :proxy => "/real/index.html" do
page "fake2/#{num}.html", :proxy => "/real/index.html", :ignore => true do
@num = num
end
page "fake3/#{num}.html", :proxy => "real/index.html" do
page "fake3/#{num}.html", :proxy => "real/index.html", :ignore => true do
@num = num
end
page "/fake4/#{num}.html", :proxy => "real/index.html" do
page "/fake4/#{num}.html", :proxy => "real/index.html", :ignore => true do
@num = num
end
end