You are here

constant ACSF_HTACCESS_PATCH in Acquia Cloud Site Factory Connector 8

Content that we need to add to customers' .htaccess files.

2 uses of ACSF_HTACCESS_PATCH
drush_acsf_init_patch_htaccess in acsf_init/acsf_init.drush.inc
Patches the htaccess file to allow access to our apc_rebuild.php script.
drush_acsf_init_test_htaccess_is_patched in acsf_init/acsf_init.drush.inc
Determines whether htaccess allows access to our apc_rebuild.php script.

File

acsf_init/acsf_init.drush.inc, line 16
Provides drush commands to set up a site for Acquia Site Factory.

Code

define('ACSF_HTACCESS_PATCH', 'RewriteCond %{REQUEST_URI} !/sites/g/apc_rebuild.php$');