1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug htaccess rules cannot be imported by IIS

Discussion in 'Resolved Bug Reports' started by Shamil, Oct 6, 2010.

  1. Shamil

    Shamil Well-Known Member

    The current HTaccess rules cannot be imported via IIS, these rules don't work:
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
  2. Mike

    Mike XenForo Developer Staff Member

    The rules are for Apache specifically. Presumably IIS has a way to detect if the requested file doesn't exist.
  3. ENF

    ENF Well-Known Member

  4. Shamil

    Shamil Well-Known Member

  5. Mike

    Mike XenForo Developer Staff Member

    It does support -f and -d then. -l is for symlinks.
    Shamil likes this.
  6. Shamil

    Shamil Well-Known Member

    Ah it works now. Awesome Mike.

Share This Page