Tuesday, January 11, 2011

Drupal pretty URLs on Ubuntu

Ubuntu helpfully provides Drupal in its repositories. This installed fine for me but during install.php (to configure drupal) pretty urls wouldn't work.

To fix this, I had to edit

/etc/drupal/6/htaccess

find the line at the bottom:

#  RewriteBase /drupal

remove the '#' and add a '6' onto the end to give:

RewriteBase /drupal6

No comments: