$85 GRAYBYTE WORDPRESS FILE MANAGER $34

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.36
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/lib64/ruby/1.8/webrick/

HOME
Current File : /opt/alt/ruby18/lib64/ruby/1.8/webrick//config.rb
#
# config.rb -- Default configurations.
#
# Author: IPR -- Internet Programming with Ruby -- writers
# Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou
# Copyright (c) 2003 Internet Programming with Ruby writers. All rights
# reserved.
#
# $IPR: config.rb,v 1.52 2003/07/22 19:20:42 gotoyuzo Exp $

require 'webrick/version'
require 'webrick/httpversion'
require 'webrick/httputils'
require 'webrick/utils'
require 'webrick/log'

module WEBrick
  module Config
    LIBDIR = File::dirname(__FILE__)

    # for GenericServer
    General = {
      :ServerName     => Utils::getservername,
      :BindAddress    => nil,   # "0.0.0.0" or "::" or nil
      :Port           => nil,   # users MUST specifiy this!!
      :MaxClients     => 100,   # maximum number of the concurrent connections
      :ServerType     => nil,   # default: WEBrick::SimpleServer
      :Logger         => nil,   # default: WEBrick::Log.new
      :ServerSoftware => "WEBrick/#{WEBrick::VERSION} " +
                         "(Ruby/#{RUBY_VERSION}/#{RUBY_RELEASE_DATE})",
      :TempDir        => ENV['TMPDIR']||ENV['TMP']||ENV['TEMP']||'/tmp',
      :DoNotListen    => false,
      :StartCallback  => nil,
      :StopCallback   => nil,
      :AcceptCallback => nil,
    }

    # for HTTPServer, HTTPRequest, HTTPResponse ...
    HTTP = General.dup.update(
      :Port           => 80,
      :RequestTimeout => 30,
      :HTTPVersion    => HTTPVersion.new("1.1"),
      :AccessLog      => nil,
      :MimeTypes      => HTTPUtils::DefaultMimeTypes,
      :DirectoryIndex => ["index.html","index.htm","index.cgi","index.rhtml"],
      :DocumentRoot   => nil,
      :DocumentRootOptions => { :FancyIndexing => true },
      :RequestHandler => nil,
      :RequestCallback => nil,  # alias of :RequestHandler
      :ServerAlias    => nil,

      # for HTTPProxyServer
      :ProxyAuthProc  => nil,
      :ProxyContentHandler => nil,
      :ProxyVia       => true,
      :ProxyTimeout   => true,
      :ProxyURI       => nil,

      :CGIInterpreter => nil,
      :CGIPathEnv     => nil,

      # workaround: if Request-URIs contain 8bit chars,
      # they should be escaped before calling of URI::parse().
      :Escape8bitURI  => false
    )

    FileHandler = {
      :NondisclosureName => [".ht*", "*~"],
      :FancyIndexing     => false,
      :HandlerTable      => {},
      :HandlerCallback   => nil,
      :DirectoryCallback => nil,
      :FileCallback      => nil,
      :UserDir           => nil,  # e.g. "public_html"
      :AcceptableLanguages => []  # ["en", "ja", ... ]
    }

    BasicAuth = {
      :AutoReloadUserDB     => true,
    }

    DigestAuth = {
      :Algorithm            => 'MD5-sess', # or 'MD5' 
      :Domain               => nil,        # an array includes domain names.
      :Qop                  => [ 'auth' ], # 'auth' or 'auth-int' or both.
      :UseOpaque            => true,
      :UseNextNonce         => false,
      :CheckNc              => false,
      :UseAuthenticationInfoHeader => true,
      :AutoReloadUserDB     => true,
      :NonceExpirePeriod    => 30*60,
      :NonceExpireDelta     => 60,
      :InternetExplorerHack => true,
      :OperaHack            => true,
    }
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / root
0755
httpauth
--
3 Mar 2024 10.48 PM
root / linksafe
0755
httpservlet
--
3 Mar 2024 10.48 PM
root / linksafe
0755
accesslog.rb
2.246 KB
23 Jun 2011 9.44 AM
root / linksafe
0644
cgi.rb
6.915 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
compat.rb
0.426 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
config.rb
3.135 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
cookie.rb
3.032 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
htmlutils.rb
0.57 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
httpauth.rb
1.31 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
httpproxy.rb
7.46 KB
6 Jun 2008 8.05 AM
root / linksafe
0644
httprequest.rb
9.99 KB
22 Nov 2010 7.22 AM
root / linksafe
0644
httpresponse.rb
7.961 KB
16 Aug 2010 7.31 AM
root / linksafe
0644
https.rb
1.639 KB
20 Dec 2010 4.55 PM
root / linksafe
0644
httpserver.rb
5.632 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
httpservlet.rb
0.653 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
httpstatus.rb
3.51 KB
10 Jun 2010 5.23 AM
root / linksafe
0644
httputils.rb
9.964 KB
10 Jan 2010 10.30 AM
root / linksafe
0644
httpversion.rb
1.115 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
log.rb
2.034 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
server.rb
5.279 KB
12 Feb 2007 11.01 PM
root / linksafe
0644
ssl.rb
4.222 KB
22 Nov 2010 7.21 AM
root / linksafe
0644
utils.rb
2.543 KB
6 Jun 2012 5.20 AM
root / linksafe
0644
version.rb
0.343 KB
12 Feb 2007 11.01 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF