How to turn Mod_rewrite off?

Hi everyone …

I’m trying to install a script and requirements say that the mod_rewrite must be off (it’s on on my server)

I’ve been told that I can change that using .htaccess … But I’m not experimented doing such things …

So, can anyone give me a piece of code, or any resource to find a solution and turn Mod_rewrite off ?

Thanks for answering.
I appreciate your help.

Try sticking this in your .htaccess


RewriteEngine Off

That’s the silliest thing I’ve ever heard!

Cholmon’s solution (first line in .htaccess) is, uh, okay, but to turn it off, all you need to do is edit the httpd.conf where it says

LoadModule rewrite_module modules/mod_rewrite.so

to insert a # at the start of that line (that’s Apache’s default).

Out of interest, just what does this script do?

Regards,

DK

He, uh, may not want (or have access) to turn it off for the whole server.

Chol,

Ah, too true. But, that only puts mod_rewrite into a comment mode, not off. The only way you can disable mod_rewrite is to change the server’s settings.

Regards,

DK

Actually, after some search and so (because I have to) , dklynn is right …

And the sad news is that the developper of the script, was wrong, he was tired and said Off instead of On …

So sorry everyone.

eL,

Yeah, how well I know about being tired and typing the wrong thing (less-dyxic fingers, ya know?)! Oh, well, I thought that was a WEIRD thing for a software developer to say.

Regards,

DK