Friday, October 16, 2009

Elgg: server admin: mod_rewrite

To fix the mod_rewrite problem:
  • In /etc/apache2/apache2.conf add:
    <Directory /var/www/*>
    AllowOverride All
    </Directory>

  • Make sure rewrite is enabled:
    add a link to /etc/appache2/mods-available/rewrite.load in /etc/apache2/mods-enabled

1 comment:

  1. Elgg relies on apache mapping URLs with /action/ in to the Elgg actions directory. Use the above to do this.

    ReplyDelete