Enable the cleanURL function of drupal6 on Ubuntu10.10

Source: Internet
Author: User
Drupal (http://drupal.org) is a very good choice for websites, many common features are ready-made plug-ins, It is very convenient. We recommend that you do not use the Ubuntu installation package to install drupal on Ubuntu, because it will make a lot of configuration you do not know in the background, which is not conducive to your understanding of drupal. Its packaging is not complicated: first install apache2 and php5, and then download drupal6 from the drupal website (I have not downloaded the latest drupal

Drupal (http://drupal.org) is a very good choice for websites, many common features are ready-made plug-ins, It is very convenient.

We recommend that you do not use the Ubuntu installation package to install drupal on Ubuntu, because it will make a lot of configuration you do not know in the background, which is not conducive to your understanding of drupal. Its packaging is not complicated:

Then you can install drupal6.

The clean URL function is not enabled after drupal6 is installed. You have to enable this function under Ubuntu:

First open the rewrite module of apache2:

# Sudo a2enmod rewrite

Then you can see this line through # apache2ctl-M, indicating that the module has been installed: rewrite_module (share)

Then you need to change the configuration of apache2:

# Sudo vi/etc/apache2/sites-available/default

In Below:

Change AllowOverride None to AllowOverride All.

Finally restart apache2:

# Sudo/etc/init. d/apache2 reload

Now, you can set the clean URL to Enable on the drupal6 Management page. What is annoying? Q = finally disappeared in the URL.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.