| 214 | return self |
| 215 | |
| 216 | def add_vhost_test2(self): |
| 217 | domain = f"test2.{self.env.http_tld}" |
| 218 | self.start_vhost(domains=[domain, f"www2.{self.env.http_tld}"], |
| 219 | port=self.env.http_port, doc_root="htdocs/test2") |
| 220 | self.end_vhost() |
| 221 | self.start_vhost(domains=[domain, f"www2.{self.env.http_tld}"], |
| 222 | port=self.env.https_port, doc_root="htdocs/test2") |
| 223 | self.add([ |
| 224 | "<Location /006>", |
| 225 | " Options +Indexes", |
| 226 | "</Location>", |
| 227 | ]) |
| 228 | self.end_vhost() |
| 229 | return self |
| 230 | |
| 231 | def add_vhost_cgi(self, proxy_self=False, h2proxy_self=False): |
| 232 | domain = f"cgi.{self.env.http_tld}" |