not rewriting .asp files using htaccess
        Posted  
        
            by 
                user2939099
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user2939099
        
        
        
        Published on 2013-10-30T21:50:23Z
        Indexed on 
            2013/10/30
            21:53 UTC
        
        
        Read the original article
        Hit count: 156
        
I have .asp files re-writing themselves to .php files using htaccess and a rewrite rule on another site. it works fine but I am trying to do the same on my other site with one URL and it doesn't work. both have mod_rewrite enabled and on similar servers. (Apache v3.22.17 rev9999 / PHP v5.4.21)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.+).(asp)$ $1.php [L]
</IfModule>
this is the full htaccess code.. can you see anything wrong with this?
© Stack Overflow or respective owner