Ask Your Question

How to enable mod_rewrite on fedora 19

asked 2015-09-17 05:25:24 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

How to enable mod_rewrite on fedora 19?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-17 13:42:05 -0500

aeperezt gravatar image

updated 2015-09-17 13:54:25 -0500

mod rewrite is normally installed with apache installations in other to use it you must frite your rewrite rules normally on the .htaccess file under the web page folder like /var/www/html/.htaccess

inside .htaccess the content should look like

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  DirectoryIndex index.php index.html
  RewriteRule ^(.*)$ index.php/$1 [L]
edit flag offensive delete link more

Question Tools



Asked: 2015-09-17 05:25:24 -0500

Seen: 1,480 times

Last updated: Sep 17 '15