Ask Your Question
0

How to enable mod_rewrite on fedora 19

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

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
1

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

aeperezt gravatar image

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

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]
</IfModule>
edit flag offensive delete link more

Question Tools

2 followers

Stats

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

Seen: 1,421 times

Last updated: Sep 17 '15