Ask Your Question
0

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
1

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 1,075 times

Last updated: Sep 17 '15