Problem with a php extencion
hi im having a problem with php when i put on the url something like "/site/cms/login" this give me the login.php file witch i don't want to, i want to force they put the .php to see the file i have an .htaccess and when i try to do that instate of make the rewrite it call the file what can i do ???  


.htacces file

    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f

        RewriteRule ^cms/(.*)$ cms/index.php?url=$1&cms=true [QSA]
        RewriteRule ^core/(.*)$ core/index.php?url=$1&core=true [QSA]
        RewriteCond %{REQUEST_URI} !core/
        RewriteCond %{REQUEST_URI} !cms/
        RewriteRule ^(.*)$ index.php?url=$1 [QSA]
    </IfModule>


Problem with a php extencion
===

hi im having a problem with php when i put on the url something like "/site/cms/login" this give me the login.php file witch i don't want to, i want to force they put the .php to see the file i have an .htaccess and when i try to do that instate of make the rewrite it call the file what can i do ???  


.htacces file

    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f

        RewriteRule ^cms/(.*)$ cms/index.php?url=$1&cms=true [QSA]
        RewriteRule ^core/(.*)$ core/index.php?url=$1&core=true [QSA]
        RewriteCond %{REQUEST_URI} !core/
        RewriteCond %{REQUEST_URI} !cms/
        RewriteRule ^(.*)$ index.php?url=$1 [QSA]
    </IfModule>

