Ubuntu – Enabling clean URL in Drupal6
Posted: May 20, 2009 Filed under: drupal, Ubuntu 1 Comment »The easiest way to enable cleanURL Ubuntu is:
1. enable rewrite module on apache.
a2enmod rewrite
(This can be disabled by doing: a2dismod rewrite)
2. Set directory permission.
You must find the file that sets permission of each directory for apache. In ubuntu, it is in
/etc/apache2/sites-enabled/000-default
Edit the page so that the directory that you will be using to serve webpages has “AllowOverride All”.
The file should read like this:
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
3. Just restart apache and it should be working:
/etc/init.d/apache2 restart
This should enable CleanURL in Ubuntu.
Advertisement
[...] enabling clean urls for Drupal Posted on August 25, 2010 by gnuser| Leave a comment Refer http://essgee.wordpress.com/2009/05/20/ubuntu-jaunty-jackalope-enabling-clean-url-in-drupal6/ This entry was posted in Freedom, GNU/Linux. Bookmark the permalink. ← How to add spell [...]