RewriteCond %{SCRIPT_FILENAME} !-s PROBLEM

Discussion in 'Apache' started by redorbit, Sep 3, 2007.

  1. #1
    I use RewriteCond %{SCRIPT_FILENAME} !-s in my rewrite rules.
    The problem is when file exists for example: www.domain.com/test.php
    it's accessible even without .php at the end - www.domain.com/test

    How can I fix this??

    Thanks for your help
     
    redorbit, Sep 3, 2007 IP