Last updated March 28, 2011. Created by faqing on October 19, 2010.
Log in to edit this page.
For Ubuntu Server 10.04, one needs to edit the file: /etc/apache2/sites-enabled/default
If there is no such file, try this one: /etc/apache2/sites-enabled/000-default
sudo a2enmod rewrite
sudo nano /etc/apache2/sites-enabled/defaultChange (line 7 and line 11), "AllowOverride None" to "AllowOverride All".
Save and exit.
Restart Apachesudo /etc/init.d/apache2 restart
Comments
Acquia
I installed Acquia on ubuntu 10.04 desktop but clean url's still doesn't work with the above modification.
- solved -
I found the solution were it always was - the Acquia website. Add "RewriteBase /acquia-drupal6" to .htaccess
http://acquia.com/documentation/acquia-deb-package
Still having problems
Have tried these... and still getting the message "your system configuration does not currently support this feature". Any further good ideas?
Solved my problem
OK have solved it.
In my case I needed to change RewriteBase in .htaccess to:
RewriteBase /$MySiteNameIn my case this is
RewriteBase /scoutsYes it works!
Thanks so much - yes it does.
So simple, isn't it, but it took me hours to find salvation in your post! This came close to driving me to despair.
Thanks, changing
Thanks, changing /etc/apache2/sites-enabled/000-default like you said was the ticket - great! It's funny because I just set-up another Ubuntu 10.04 server and installed a Drupal site and was able to get clean URLs working without having to modify that file. Anyway, thanks again!
Clean URL Fix
You can also try this solution:
http://ycsoftware.net/drupal-7-clean-url-fix-ubuntu-open-atrium-red-hat/