Wednesday, January 28th, 2009
We can use following script to clean Drupal database; I do this every time before taking a db-backup.
TRUNCATE `cache_block`;
TRUNCATE `cache_filter`;
TRUNCATE `cache_form`;
TRUNCATE `cache_menu`;
TRUNCATE `cache_page`;
TRUNCATE `sessions`;
TRUNCATE `watchdog`;
Posted in Drupal | No Comments »
Friday, April 11th, 2008
I found few url-rewrite based solution for enabling CleanURL in Drupal + Lighttpd but none of them worked flawlessly. Guys, all we need here is something similar to following Apache rewrite code (without any side effect, like 404 header etc).
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
(more…)
Posted in Drupal | No Comments »