aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-02-08 23:37:06 -0500
committerRalph Amissah <ralph@amissah.com>2014-02-08 23:37:06 -0500
commitd8cd4b664dfc08cbbcad08fca774f9b1dc080ac2 (patch)
treeca0c78abafe16a0579864c5ca8a70a7c8f6ddaba /lib/sisu/v6/sysenv.rb
parentv5 v6: version & changelog (& rakefile) (diff)
v5 v6: cgi, sample search form (generator), using cgi ENV variables
Diffstat (limited to 'lib/sisu/v6/sysenv.rb')
-rw-r--r--lib/sisu/v6/sysenv.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v6/sysenv.rb b/lib/sisu/v6/sysenv.rb
index 60d963dc..16fbbf4c 100644
--- a/lib/sisu/v6/sysenv.rb
+++ b/lib/sisu/v6/sysenv.rb
@@ -215,7 +215,7 @@ module SiSU_Env
BUNDLE => false,
CONCORD_MAX => 260000,
DIGEST => 'sha256',
- WEBSERV_HOST_CGI => ' http://localhost',
+ WEBSERV_HOST_CGI => 'http://localhost',
WEBSERV_PORT_CGI => 8081, #8111,8123,8081
POSTGRESQL_USER => @@user, #'ralph', # change user !!!
POSTGRESQL_PORT => port_pgsql,
@@ -2519,6 +2519,7 @@ WOK
end
end
http=http.strip
+ #%q{http://#{ENV['HTTP_HOST']}}
end
def webrick #must have a port #REMOVE
if defined? @rc['webserv_cgi']['host'] \
@@ -2581,6 +2582,7 @@ WOK
else webserv_base_cgi(opt)
end
end
+ #%q{http://#{ENV['HTTP_HOST']}/cgi-bin}
end
def cgi_sample_search_form_name(opt=nil)
if opt.mod.inspect =~/--(?:cgi-)?search-form-name[=-]["']?(\S+?\.cgi)/