DISQUS

Czarism: Easy Peasy Ubuntu powered Drupal Clean-URLs w/ Apache2

  • dfletcher · 1 year ago
    Yep the AllowOverride All is the important bit, as mentioned in the clean urls help guide. The .htaccess that ships with Drupal does the rewrite enabling stuff.

    That's another little tidbit: when you extract Drupal and move the files to /var/www, a command like `sudo mv drupal-5.10/* /var/www` - the * DOESN'T match the .htaccess. You should move that file into place as well.
  • Anonymous · 1 year ago
    thanks for the tutorial. I'm using gutsy (7.10) and I also had to do the following to make it work:

    1. change ownership of Drupal to apache:
    sudo chown -R /var/www/drupal www-data

    2. edit apache2 config file
    sudo vi /etc/apache2/sites-available/default

    under Directory /var/www/, change 'AllowOverride None' to 'AllowOverride All'

    3. restart apache
  • justdave · 1 year ago
    Hey, thanks for the tutorial but didn't quite work for me... I followed the anon post above me, worked first time. Shot!
  • Klement · 1 year ago
    if there is no rewrite_module (shared) listed how should i do? Copy the code givin above and save it as 'rewrite_module.php'? Right?
  • Melanie · 1 year ago
    I have been trying to learn Drupal for my blog, but I have no idea where to start. Currently I am user blogger software which I am unhappy with. The thing is with Drupal, I have no idea where to even start! I know almost nothing about the subject.
  • eMarv · 8 months ago
    Thanks! Your post and Anon's comment together worked for me.

    Much Success!