Drupal Clean URLs

Posted December 30, 2013 7.4k 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: 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/”`

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


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
Make sure AllowOverride is set to All in /etc/apache2/apache2.conf.