Drupal Clean URLs

December 30, 2013 6.6k views
Hello, I'm trying to have Clean URLs working properly, but seems that the Apache2 is doesn't have Rewrite module enabled. I have the .htaccess file in the /var/www/ where is my website, when I run the Clean URLs test, it doesn't work. I followed this article: https://drupal.org/node/43788 My Apache2 file is in /etc/apache2/apache2.conf I inserted the property but the Clean URLs still not working. Who has Drupal and Clean URLs enabled, please help :) Thanks in advance! Fábio
1 comment
  • Check php_info(); if it lists mod_rewrite and focus on enabling that if it doesn't.
    Find below line in httpd.conf and uncomment it - keep in mind that the structure might be little different, just search for modrewrite.
    ```LoadModule rewrite
    module modules/mod_rewrite.so```

    Also check in .htaccess that you have proper RewriteBase set in your case to /


1 Answer
Make sure AllowOverride is set to All in /etc/apache2/apache2.conf.
Have another answer? Share your knowledge.