« paranoid iptables: block that IP range for good. | Main

enabling mod_rewrite on apache.

on a basic default apache installation, mod_rewrite doesn't work by default.

i've determined that in all the cases i've experienced, it's because AllowOverride All is not specified (by default, it's AllowOverride None).

here are other troubleshooting steps to consider (credit to jdMorgan from webmasterworld.com):

  • LoadModule rewrite_module modules/mod_rewrite.so
  • AddModule mod_rewrite.c

  • allowoverride FileInfo Options -or-
  • allowoverride All

  • Options +FollowSymLinks -or-
  • Options +SymLinksIfOwnerMatch -or-
  • Options All

  • TrackBack

    TrackBack URL for this entry:
    http://www.ramblingsofasysadmin.com/cgi-bin/mt/mt-tb.cgi/30

    Post a comment

    (If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)