namespace apache
htaccess
Add stage specific configuration to htaccess file.
Configuration
You can add a stage specific htaccess file in /config/etc/apache2/conf.
If there is already a .htaccess file within the webroot than the content of this file will be appended to it. If no .htaccess file exists it will be created.
By default dkdeploy will assume the :copy_source
path as the destination for the .htaccess file.
You can overwrite this by setting the variable :local_web_root_path
in your Capistrano configuration.
If you call the task without having configured the variable
:local_web_root_path
then the CLI will ask for it.
Usage
This will generate a .htaccess file within your local_webroot (usually htdocs).