fabtools.apache

fabtools.apache.enable_module(module)[source]

Create link from /etc/apache2/mods-available/ in /etc/apache2/mods-enabled/

(does not reload apache config)

from fabtools import require

require.apache.enable_module('rewrite')
fabtools.apache.disable_module(module)[source]

Delete link in /etc/apache/mods-enabled/

(does not reload apache config)

from fabtools import require

require.apache.disable_module('rewrite')
fabtools.apache.enable_site(config)[source]

Create link from /etc/apache2/sites-available/ in /etc/apache2/sites-enabled/

(does not reload apache config)

from fabtools import require

require.apache.enable_site('default')
fabtools.apache.disable_site(config)[source]

Delete link in /etc/apache/sites-enabled/

(does not reload apache config)

from fabtools import require

require.apache.disable_site('default')
fabtools.apache.enable(config)

Create link from /etc/apache2/sites-available/ in /etc/apache2/sites-enabled/

(does not reload apache config)

from fabtools import require

require.apache.enable_site('default')
fabtools.apache.disable(config)

Delete link in /etc/apache/sites-enabled/

(does not reload apache config)

from fabtools import require

require.apache.disable_site('default')
Read the Docs v: 0.17.0
Versions
latest
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.