.htaccess turn off rewriteengine ?

Discussion in 'Site & Server Administration' started by batman4444, Jul 31, 2007.

  1. #1
    I just emailed my customer support for my host because i have been having problems getting my .htaccess to work and they told me i needed to
    upload a .htaccess file to the subdomain directory that turns off RewriteEngine
    Does anyone know how to do this?
    thanks
     
    batman4444, Jul 31, 2007 IP
  2. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Well first, there is already an .htaccess in that directory, is this correct? Second, how do you know the .htaccess does not work? What code are you trying to place there..

    You may have to use something like this which is read first and turns it on before your rules are read.

    Options +FollowSymLinks
    RewriteEngine On

    Or this:

    <IfModule mod_rewrite.c>
    RewriteEngine On

    Boulder
     
    Boulder, Jul 31, 2007 IP