| Class | Symbiosis::ConfigFiles::Apache |
| In: |
httpd/lib/symbiosis/config_files/apache.rb
|
| Parent: | Symbiosis::ConfigFile |
Returns an array of Symbiosis::IPAddr objects, one for each IP available for this domain, if defined, or the system‘s primary IPv4 and IPv6 addresses.
This disables a site whose configuration is contained in fn. This function makes sure that the site is enabled, before disabling it.
This enables a site by symlinking the self.filename to fn.
If fn is not specified, then self.filename is used, with sites-available changed to sites-enabled.
If the force flag is set to true, then any file in the way is removed first.
This checks a site has its config file linked into the sites-enabled directory. If no filename has been specified, it defaults to self.filename with "sites-available" transformed to "sites-enabled".
This function returns true if self.filename is symlinked to fn.
Tests the file using Apache and a temporary file. Returns true if apache2 deems the snippet OK.