You are here

README.txt in Htaccess 7.2

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 7 README.txt
********************
Htaccess
********************

Htaccess is a simple module for Drupal 7.x which autogenerates 
a Drupal root htaccess file based on your settings.

************
Requirements
************

Drupal 7.x

****************************
Installation & Configuration
****************************

1. Copy the entire htaccess directory into
your Drupal site at sites/all/modules directory
and enable the module in the "Administer" -> "Modules",

2. On the settings page, set the options
you want for your htaccess,

3. On the generate page, set a name and
a short description of what you htaccess do.
Then click on generate. A htaccess profile will
be created, based on the settings you set,

4. The "deploy" page list all the htaccess profile you have created.
You can view, delete, deploy or download the htaccess.

******
Notice
******

When deploying a htaccess, the module will try to access into the .htacess
in your root installation. It appears that often, the permissions of the
root .htaccess don't allow the apache user to write in the file. In this
case, you can either update the permissions of the .htaccess in order that
the apache user can write in it or download the htaccess and manually put it
in your root installation or deploy with Drush.

****************************
Drush commands
****************************
drush htaccess-deploy PROFILE_NAME

example: drush htaccess-deploy default
(will deploy the default htaccess shipped with Drupal)

Alias: ht

*******************
Author / Maintainer
*******************
giorgio79
Jean-Baptiste L. (aka, Jibus)

File

README.txt
View source
  1. ********************
  2. Htaccess
  3. ********************
  4. Htaccess is a simple module for Drupal 7.x which autogenerates
  5. a Drupal root htaccess file based on your settings.
  6. ************
  7. Requirements
  8. ************
  9. Drupal 7.x
  10. ****************************
  11. Installation & Configuration
  12. ****************************
  13. 1. Copy the entire htaccess directory into
  14. your Drupal site at sites/all/modules directory
  15. and enable the module in the "Administer" -> "Modules",
  16. 2. On the settings page, set the options
  17. you want for your htaccess,
  18. 3. On the generate page, set a name and
  19. a short description of what you htaccess do.
  20. Then click on generate. A htaccess profile will
  21. be created, based on the settings you set,
  22. 4. The "deploy" page list all the htaccess profile you have created.
  23. You can view, delete, deploy or download the htaccess.
  24. ******
  25. Notice
  26. ******
  27. When deploying a htaccess, the module will try to access into the .htacess
  28. in your root installation. It appears that often, the permissions of the
  29. root .htaccess don't allow the apache user to write in the file. In this
  30. case, you can either update the permissions of the .htaccess in order that
  31. the apache user can write in it or download the htaccess and manually put it
  32. in your root installation or deploy with Drush.
  33. ****************************
  34. Drush commands
  35. ****************************
  36. drush htaccess-deploy PROFILE_NAME
  37. example: drush htaccess-deploy default
  38. (will deploy the default htaccess shipped with Drupal)
  39. Alias: ht
  40. *******************
  41. Author / Maintainer
  42. *******************
  43. giorgio79
  44. Jean-Baptiste L. (aka, Jibus)