1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to turn Mod_rewrite off ?

Discussion in 'Apache' started by Toon-c, Aug 9, 2009.

  1. #1
    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.
     
    Toon-c, Aug 9, 2009 IP
  2. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Check your .htaccess and if it contains this:

    	RewriteEngine on
    
    Code (markup):
    Remove it.

    You may try adding:

    	RewriteEngine off
    
    Code (markup):
    but i'm not sure if that will work.
     
    premiumscripts, Aug 9, 2009 IP
    Toon-c likes this.
  3. Toon-c

    Toon-c Well-Known Member

    Messages:
    1,775
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    180
    #3
    Yes, That's what I did .. and what I know ..

    It works, but I think that I need a more sophisticated code, because the script I installed is using url_rewriting in .htaccess (and it requires at the same time mod_rewrite off) ,


    I must search for a solution , (And I don't even know if what Im saying make any sense ..)
     
    Toon-c, Aug 9, 2009 IP
  4. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #4
    If you are on shared hosting, you have no other option to turn off mod_rewrite from your end.

    Kailash
     
    kailash, Aug 9, 2009 IP
    Toon-c likes this.
  5. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #5
    if u dont add the mod rewrite codes in .htaccess it wont work but normally its done directly by editing the apache config file
     
    Bohra, Aug 10, 2009 IP
    Toon-c likes this.
  6. Toon-c

    Toon-c Well-Known Member

    Messages:
    1,775
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    180
    #6
    Thank you everyone, problem solved/
     
    Toon-c, Aug 10, 2009 IP