|
<insert witty slogan>
|
|
Getting Drupal's Clean URLs working on a Debian based system
Submitted by Karthik on 1 January, 2007 - 04:28.My 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
3 weeks 4 days ago
7 weeks 6 days ago
8 weeks 5 days ago
11 weeks 1 day ago
14 weeks 6 days ago
16 weeks 1 day ago
17 weeks 9 hours ago
17 weeks 5 days ago
17 weeks 6 days ago
18 weeks 2 days ago