X-Git-Url: https://code.delx.au/cgiproxy/blobdiff_plain/916eebc685a7ba1517cf94b5bacdc26a6071adbe..34d780932729fa9476e98ec27d49ffacda9840aa:/ruby/path.cgi diff --git a/ruby/path.cgi b/ruby/path.cgi index 69f338e..3d6cf29 100755 --- a/ruby/path.cgi +++ b/ruby/path.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/ruby1.8 require 'proxy.rb' host = ENV["HTTP_HOST"] @@ -6,5 +6,5 @@ case host when "public.example.com" host = "internal.example.com" end -proxyTo "https://#{host}" +proxy_to "https://#{host}"