Part of lp.services.webapp.vhosts View In Hierarchy
A representation of the virtual hosting configuration for the current Launchpad instance. self.use_https : do we use http or https (unless overridden for a particular virtual host) self.configs : dict of 'config item name from conf file':VirtualHostConfig. so, like this: {'mainsite': config_for_mainsite, 'blueprints': config_for_blueprints, ... } self.hostnames : set of hostnames handled by the vhost config
Method | __init__ | Initialize all virtual host settings from launchpad.conf. |
Method | reload | Reload the VHost data. |
Method | use_https | Do the vhosts use HTTPS? |
Method | configs | Return the VirtualHostConfig dict. |
Method | hostnames | Return the set of hostnames. |
Method | _getVHostData | Parse the vhosts on demand. |