|
<insert witty slogan>
|
|
Getting Drupal's Clean URLs working on a Debian based system
Submitted by Karthik on 1 January, 2007 - 04:28My default Kubuntu install needed some tweaking to get Clean URLs working (in Drupal 5, Apache 2). This is a quick guide to getting this sorted for other users out there:
First off, the mod_rewrite module isn't enabled by default. To enable it, type
sudo a2enmod
and add rewrite as the module you would like enabled. (You can also enable the expires module which is also used by Drupal, but do it later).
Restart apache:
sudo /etc/init.d/apache2 force-reload
Check if the clean URLs test (in ?q=admin/settings/clean-urls) works. If not, jump to the /etc/apache2/sites-enabled directory and check what your setup is like. By default, you should just see the 000-default link here. (Backup first and) Edit the file:

Recent comments
13 weeks 1 day ago
14 weeks 4 days ago
21 weeks 1 day ago
22 weeks 3 days ago
25 weeks 1 day ago
26 weeks 4 days ago
28 weeks 5 days ago
29 weeks 1 day ago
29 weeks 2 days ago
31 weeks 3 days ago