Question

Drupal Clean URLs

  • Posted December 30, 2013

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 <Directory> property but the Clean URLs still not working.

Who has Drupal and Clean URLs enabled, please help :)

Thanks in advance! Fábio

Subscribe
Share

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 mod_rewrite. LoadModule rewrite_module modules/mod_rewrite.so

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

Tom


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Make sure <code>AllowOverride</code> is set to <code>All</code> in <code>/etc/apache2/apache2.conf</code>.