MCPcopy Create free account
hub / github.com/apache/httpd / add_vhost

Method add_vhost

test/pyhttpd/conf.py:139–145  ·  view source on GitHub ↗
(self, domains, port=None, doc_root="htdocs", with_ssl=None,
                  with_certificates=None, ssl_module=None)

Source from the content-addressed store, hash-verified

137 raise Exception(f"unsupported ssl module: {ssl_module}")
138
139 def add_vhost(self, domains, port=None, doc_root="htdocs", with_ssl=None,
140 with_certificates=None, ssl_module=None):
141 self.start_vhost(domains=domains, port=port, doc_root=doc_root,
142 with_ssl=with_ssl, with_certificates=with_certificates,
143 ssl_module=ssl_module)
144 self.end_vhost()
145 return self
146
147 def start_vhost(self, domains, port=None, doc_root="htdocs", with_ssl=None,
148 ssl_module=None, with_certificates=None):

Callers 15

_class_scopeMethod · 0.95
test_md_790_001Method · 0.80
test_md_790_002Method · 0.80
test_md_790_003Method · 0.80
test_md_710_001Method · 0.80
test_md_710_002Method · 0.80
test_md_710_003Method · 0.80
test_md_710_004Method · 0.80
test_md_300_009Method · 0.80
test_md_300_011aMethod · 0.80
test_md_300_021Method · 0.80
test_md_300_023Method · 0.80

Calls 2

start_vhostMethod · 0.95
end_vhostMethod · 0.95

Tested by 15

_class_scopeMethod · 0.76
test_md_790_001Method · 0.64
test_md_790_002Method · 0.64
test_md_790_003Method · 0.64
test_md_710_001Method · 0.64
test_md_710_002Method · 0.64
test_md_710_003Method · 0.64
test_md_710_004Method · 0.64
test_md_300_009Method · 0.64
test_md_300_011aMethod · 0.64
test_md_300_021Method · 0.64
test_md_300_023Method · 0.64