- Ensure that mod_rewrite is enabled for Apache 2:
% sudo a2enmod rewrite
- Edit Apache 2 configuration to allow Drupal's .htaccess file to be used. In file /etc/apache2/sites-enabled/000-default, inside the tag Directory /var/www/, replace the line
AllowOverride none
withAllowOverride All
- Restart Apache 2:
% sudo /etc/init.d/apache2 restart
Wednesday, April 6, 2011
Enable clean urls in Ubuntu
Tuesday, April 5, 2011
Drush installation and configuration steps
Drush configuration steps
1. Download Drush module from http://drupal.org/project/drush and place drush folder into your home directory. E.g: '/home/drush/'
2. In command line, execute following this statement.
PATH="/home/venkat/drush:$PATH" for temporary
3. Add this line PATH=/home/drush:"${PATH}" in /home/venkat/.bashrc file
4. Execute following command in command line
$ . .bashrc (including .dots)
Some Drush commands
1. drush cache-clear
2. drush sql-conf
3. drush sql-cli
4. drush dl cck zen
5. drush enable cck , drush pm-enable quiz
6. drush disable cck, drush pm-disable quiz
Here you can find more drush commands http://drush.ws/
2. In command line, execute following this statement.
PATH="/home/venkat/drush:$PATH" for temporary
3. Add this line PATH=/home/drush:"${PATH}" in /home/venkat/.bashrc file
4. Execute following command in command line
$ . .bashrc (including .dots)
Some Drush commands
1. drush cache-clear
2. drush sql-conf
3. drush sql-cli
4. drush dl cck zen
5. drush enable cck , drush pm-enable quiz
6. drush disable cck, drush pm-disable quiz
Here you can find more drush commands http://drush.ws/
Subscribe to:
Posts (Atom)