Forum Topic: about mod_rewrite

Forum: .htaccess Forum : Basics • Posted by don289 • Updated:

Hello,

How come there are .htaccess with this directive (even though their server has mod_rewrite enabled:

RewriteEngine On

I mean it will not create harm placing the above directive on a server that has mod_rewrite enabled?

3 Replies to “about mod_rewrite”

Posted by Jeff Starr

Nope, Apache is smart enough to simply ignore subsequent rewrite-on directives once it is enabled.

Posted by don289 •

Hello,

thank you for your answer and support. I’m sorry my question is very simple for experts like you, but I’m a beginner and everything looks confusing at the start for me.

I really appreciate your help and this website where I can post if I don’t understand anything about your book.

Posted by Jeff Starr

It is my pleasure to help. You should always feel welcome asking any questions you may have, especially here in the forum :)