I can't get wordpress permalinks working on my Fedora LAMP server and expect it's due to mod_rewrite issue, but I can't figure out
- How do I check if mod_rewrite exists/is enabled?
- How do I install it (yum?) if it's not?
Any help appreciated. Thanks-
mod_rewrite is already included in the
httpd
package, and is loaded in the default configuration. Use theRewriteEngine
directive to enable it as required.If you installed apache from your distribution then it almost certainly included mod_rewrite, it's just not being loaded. If you're on a debian-based distribution use
a2enmod rewrite
to enable it, otherwise you'll need to find the(or something similar) line in your httpd.conf file and uncomment it.
If you built apache by hand, then assuming you also built mod_rewrite as a module, the httpd.conf fix applies to you, but if you didn't build mod_rewrite into apache and didn't build it as a module, you're going to have to recompile.
Does it help?