Hi!
I have installed drupal 6 on my system. However the clean urls are not enabled. I googled around to find out that I have to do the below:-
1. Ensure that mod_rewrite is enabled for Apache 2:
% sudo a2enmod rewrite
2. Edit Apache 2 configuration to allow Drupal's .htaccess file to be used. In file /etc/apache2/sites-enabled/000-default, inside the tag Directory /var/www/, replace the line
AllowOverride none
with
AllowOverride All
3. Restart Apache 2:
% sudo /etc/init.d/apache2 restart
But after modifying the file(000-default), I am unable to save it as it says I dont have permissions. Am quite new to the entire linux thing, so please helpp!
I have installed drupal 6 on my system. However the clean urls are not enabled. I googled around to find out that I have to do the below:-
1. Ensure that mod_rewrite is enabled for Apache 2:
% sudo a2enmod rewrite
2. Edit Apache 2 configuration to allow Drupal's .htaccess file to be used. In file /etc/apache2/sites-enabled/000-default, inside the tag Directory /var/www/, replace the line
AllowOverride none
with
AllowOverride All
3. Restart Apache 2:
% sudo /etc/init.d/apache2 restart
But after modifying the file(000-default), I am unable to save it as it says I dont have permissions. Am quite new to the entire linux thing, so please helpp!
Comment