English
Ask Your Question
0

How to enable mod_rewrite on fedora 19

asked 2015-09-17 10:25:24 +0000

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 18:42:05 +0000

aeperezt gravatar image

updated 2015-09-17 18:54:25 +0000

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

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
2 followers

Stats

Asked: 2015-09-17 10:25:24 +0000

Seen: 758 times

Last updated: Sep 17 '15