apache - Help needed with mod_rewrite and htaccess for Drupal -


I want to enable .htaccess files on my server to use the "clean_url" functionality in Drupal.

I have done so far:

  sudo a2enmod rewrite sudo /etc/init.d/apache2 restart cd / etc / apache2 / mods-enabled grep mod_rewrite * < / Code> 

In phpinfo () results I can see: mod_rewrite , so I think the module is enabled.

I have the following content in a htaccess file:

   

But still it says that my server does not provide such functionality, what am I missing?

To ensure your server or virtualhost all . If it is not, then nothing can be read in your .htaccess.


Comments