Htaccess code for mod rewrite enabling
Collapse
X
-
Its already Activated but still aint working with my script.. It still says page not found when i click on one of my script page.
-
Initiate Rewrite EngineCode:LoadModule rewrite_module modules/mod_rewrite.so
Before we can rewrite, there is one option we must first set: FollowSymLinks. This is a security feature of the rewrite engine and you will not be able to rewrite without this option. In most cases, this will already be set in the server httpd.conf but you can safely state it again.
Additionally, if you use indexes, we must enable the Indexes option.
The final but most straightforward requirement is to turn the rewrite engine on. I recommend you begin all your rewriting code with the following three lines, but you may not need the first two:
Code:Options +FollowSymLinks Options +Indexes RewriteEngine On
Leave a comment:
-
Htaccess code for mod rewrite enabling
Wats the htaccess exact code for enable mod rewrite?Tags: None
Leave a comment: