Ubuntu – Enabling clean URL in Drupal6

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.

Advertisements

One Comment on “Ubuntu – Enabling clean URL in Drupal6”

  1. […] enabling clean urls for Drupal Posted on August 25, 2010 by gnuser| Leave a comment Refer https://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 […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s