diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-07 16:06:43 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-07 16:06:43 +0000 |
| commit | 21eeaefd17684d2cd851c373507b6a5f7d95ba08 (patch) | |
| tree | e7e9e1ff2563012300e497e6328038f40ccdf65f /lib/webrick/httpservlet/erbhandler.rb | |
| parent | 4b7f4929ada11902199c70019e5186573eb03683 (diff) | |
| download | ruby-21eeaefd17684d2cd851c373507b6a5f7d95ba08.tar.gz ruby-21eeaefd17684d2cd851c373507b6a5f7d95ba08.tar.xz ruby-21eeaefd17684d2cd851c373507b6a5f7d95ba08.zip | |
* lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander
to :RequestCallback and add new option :ServerAlias.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use
:RequestCallback and warn if :RequestHandler is in server's option.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print
error message for WEBrick::HTTPSataus::Error.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
lookup for hostname from :ServerAlias if the req.host is not match
to :ServerName.
* lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
use $?.exitstatus and refine log message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/httpservlet/erbhandler.rb')
0 files changed, 0 insertions, 0 deletions
